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.
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.