Gekko Forum
specify trade volume - Printable Version

+- Gekko Forum (https://forum.gekko.wizb.it)
+-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html)
+--- Forum: Strategy Development (https://forum.gekko.wizb.it/forum-12.html)
+--- Thread: specify trade volume (/thread-56650.html)



specify trade volume - rcleaves - 04-03-2018

is there any way to specify long/short of more than 1 share?

e.g. 

this.advice('long', 10); 

where 10 is 10 shares, etc.

thx


RE: specify trade volume - askmike - 04-05-2018

Not right now, this will be possible at some point in the future. See this discussion for more details and an initial proposal: https://github.com/askmike/gekko/pull/1834