G
G
Golem SDK
Search…
yapapi - Python high-level API
yajsapi - JavaScript high-level API
Classes
Yagna Contributor Guide
Class: MarketStrategy
​yajsapi / Exports / executor/strategy / MarketStrategy

Class: MarketStrategy

​executor/strategy.MarketStrategy

Table of contents

Constructors

Methods

Constructors

constructor

• new MarketStrategy()

Methods

decorate_demand

â–¸ decorate_demand(demand): Promise
Parameters
Name
Type
demand
​DemandBuilder​
Returns
Promise
Defined in

score_offer

â–¸ score_offer(offer, history?): Promise
Parameters
Name
Type
offer
​OfferProposal​
history?
​ComputationHistory​
Returns
Promise
Defined in