yajsapi - Java Script high-level API
Yagna Contributor Guide

Class: MarketStrategy

yajsapi / Exports / executor/strategy / MarketStrategy

Class: MarketStrategy

executor/strategy.MarketStrategy

Hierarchy

  • MarketStrategy

Table of contents

Constructors

Methods

Constructors

constructor

Returns: MarketStrategy

Methods

decorate_demand

decorate_demand(demand: DemandBuilder): Promise<void>

Parameters:

Name

Type

demand

DemandBuilder

Returns: Promise<void>

Defined in: yajsapi/executor/strategy.ts:25

score_offer

score_offer(offer: OfferProposal): Promise

Parameters:

Name

Type

offer

OfferProposal

Returns: Promise

Defined in: yajsapi/executor/strategy.ts:27