G
G
Golem SDK
Search
⌃K

Class: LeastExpensiveLinearPayuMS

yajsapi / Exports / executor/strategy / LeastExpensiveLinearPayuMS

Class: LeastExpensiveLinearPayuMS

executor/strategy.LeastExpensiveLinearPayuMS

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new LeastExpensiveLinearPayuMS(expected_time_secs?, max_fixed_price?, max_price_for?)
Parameters
Name
Type
Default value
expected_time_secs
number
60
max_fixed_price?
number
undefined
max_price_for?
Map<Counter, number>
undefined
Defined in

Properties

_expected_time_secs

Private _expected_time_secs: number
Defined in

_max_fixed_price

Private Optional _max_fixed_price: number
Defined in

_max_price_for

Private Optional _max_price_for: Map<Counter, number>
Defined in

Methods

decorate_demand

decorate_demand(demand): Promise
Parameters
Name
Type
demand
Returns
Promise
Defined in

score_offer

score_offer(offer, history?): Promise
Parameters
Name
Type
offer
history?
Returns
Promise
Defined in