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