Execute a strategy on a live market
Kind: global function
Param | Type | Description |
---|---|---|
strategy | Object |
as created by define() from bfx-hf-strategy |
wsManager | Object |
WSv2 pool instance from bfx-api-node-core |
args | Object |
execution parameters |
args.symbol | string |
market to execute on |
args.tf | string |
time frame to execute on |
args.includeTrades | boolean |
if true, trade data is subscribed to and processed |
args.seedCandleCount | number |
size of indicator candle seed window, before which trading is disabled |