Skip to content

Fast API refactor. Stable release

Compare
Choose a tag to compare
@carkod carkod released this 03 Jan 23:02
· 104 commits to master since this release
4d70521

Fix structural issues by:

  • Refactoring the entire API application by replacing Flask with Fast API.
  • This also includes swagger docs and pydantic models, removing the need for Marshmallow and manual models (e.g. BotSchema). Naming conventions have not been changed to avoid spending too much time on asthaetics.
  • Separating streaming updates (market_updates and order_updates) into a separate docker application (i.e. new directory streaming, which builds a separate image from binbot API image)
  • Separating the research script into a different repo, with its own docker-compose stack file.
  • As a result, separating concerns will allow things to be easier to update and debug without breaking the main API application, which should always work, regarless of the state of streaming/ or research part.
  • Restructure and refactor binbot-research (formerly known as /research/) by removing shorts and safety_orders from autotrade.