Improved profit and loss reporting
#3
A first GUI version of the PnL reporting is available for anyone interested to try out, here in this pull request.

At first I made a command line version only. Soon I realized that I could not see my P&L and average open position on the go, on my mobile. So I needed to run this on my server, which requires a GUI. The backend is still a verbatim copy of the command line tool. This means the integration with the existing gekko code can be somewhat improved.

  •     * Currently it reads API keys from environment variables, just like the command line tool. It does not make use of Gekko's mechanism for managing API keys.
  •     * It uses its own module for interfacing with the exchange. It is probably nicer to merge the new functions for fetching trades into the existing exchange interfaces in Gekko, to keep this code organized in the place where it belongs.
  •     * It is only tested with the Kraken exchange. Adding support for more exchanges should be fairly straight forward.
  Reply


Messages In This Thread
Improved profit and loss reporting - by Hilko - 04-08-2018, 09:02 AM
RE: Improved profit and loss reporting - by Hilko - 05-19-2018, 05:45 PM
RE: Improved profit and loss reporting - by Hilko - 05-20-2018, 08:57 PM

Forum Jump:


Users browsing this thread: