Skip to content

Latest commit

 

History

History
64 lines (35 loc) · 1.34 KB

executor_strategy.marketstrategy.md

File metadata and controls

64 lines (35 loc) · 1.34 KB

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

yajsapi/executor/strategy.ts:24

score_offer

score_offer(offer, history?): Promise

Parameters

Name Type
offer OfferProposal
history? ComputationHistory

Returns

Promise

Defined in

yajsapi/executor/strategy.ts:26