Need help with trading bot functionality
#5
(02-13-2018, 06:04 AM)askmike Wrote: [...]

Hi @askmike, thank you for your reply.
I'm not a developer, so it's hard for me to understand everything from that thread. 
Can you help me just understanding how I can: 

- get the last price traded


Code:
this.lastprice = ???




- get the buy/sell information:


Code:
// If I bought = 1; if I sold = 2
//
if (???) {
this.buysell = 1;
}
else if (???) {
this.buysell = 2;
}


Not least, if I place a manual order on the exchange (so not made by Gekko), will this ontrade function get the information too?


Thank you!
  Reply


Messages In This Thread
RE: Need help with trading bot functionality - by BitPerson - 02-13-2018, 12:21 PM

Forum Jump:


Users browsing this thread: