Hello,
how am I supposed to register handler for `tradeInitialized`, `tradeCompleted`... events within my strategy file?
I have tried this.on('tradeInitialized', <callback>) and this.addListener('tradeInitialized', <callback>) but nothing gets ever called, I have console.log() in the callback function but it never writes to console.
Thx for any advice
how am I supposed to register handler for `tradeInitialized`, `tradeCompleted`... events within my strategy file?
I have tried this.on('tradeInitialized', <callback>) and this.addListener('tradeInitialized', <callback>) but nothing gets ever called, I have console.log() in the callback function but it never writes to console.
Thx for any advice