10-15-2018, 05:02 PM
People need help, I'm trying to develop a strategy, but for this I need to make the last sell price or the last buy.
Would anyone have any tips?
Would anyone have any tips?
Last Sell , last Buy
|
10-15-2018, 05:02 PM
People need help, I'm trying to develop a strategy, but for this I need to make the last sell price or the last buy.
Would anyone have any tips?
10-19-2018, 04:29 AM
You can add a method to your strategy called onTrade. Whenever Gekko trades (real or simulated) it will run that function and pass it a tradeCompleted event, which is documented here: https://gekko.wizb.it/docs/internals/eve...eted-event
|