Gekko Forum
Get trade, market and portfolio options - 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: Get trade, market and portfolio options (/thread-57249.html)



Get trade, market and portfolio options - chbinder - 06-07-2018

Hi all,

after searching the forum I have a few short questions - sorry, if it's a duplicate...

Is there a (simple) way to get the following values:

- Open Price (when opening the position) (could be stored in a global variable as well)
- Current bid/ask price
- Current fee (configured in the papertrader options)


It would help to exactly calculate the (potential) profit before opening the reverse order (-> roundtrip).

Many thanks for your assistance!

Best regards,
Christian