Gekko Broker is a library that sits between trading applications and Gekko Broker Exchange Wrappers. Which means it has two APIs to communicate with other code:
This document descibres the API layer between the exchange wrappers and Gekko Broker.
The current API documentation is currently located here.
NOTE: this API design might still have minor changes leading up to the release of Gekko 0.6. See this thread for more information.
- The wrapper files are now nested different (from
gekko/exchange/wrappersfor Gekko users).
- cancelOrder now requires a second parameter to be passed (that indicates whether the order was filled before it was canceled), see details.
- checkOrder now expects an object with a few properties to be returned, see details.
- Error handling has gotten a lot more complex, with an updated error interface between a retry system (provided by Gekko) and the exchange wrapper. Read more here.