Last Sell , last Buy
#1
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?
  Reply
#2
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
  Reply


Forum Jump:


Users browsing this thread: