PROJECT DOSSIER // [TRADE]VIEW SOURCEBACK TO PROJECTS →

01 // PROJECT AT A GLANCE

TRADE

PY

A bot trading cryptocurrencies live against a server, candle after candle.

The program is a trading robot: it connects to a simulation server that sends it, candle after candle, the movement of three cryptocurrency pairs, and it has to answer within seconds whether it buys, sells, or passes. The whole point is making money on data you do not know in advance, without settling for recipes that only work on the training set. The final ranking is by the capital obtained, against the other groups.

A Python trading bot talking to the game server over standard input/output: protocol parsing (settings, update game next_candles, update game stacks, action), Bollinger band computation over the received candles, and buy/sell/pass orders on the USDT_BTC, USDT_ETH and BTC_ETH pairs.

PRIMARYPython
DELIVERYTEAM RECORD
VERIFICATIONmake + pip
SOURCEINSPECTOR READY
MEDIA ATTACHMENTS (Images, Photos, Videos)

03 // KEY OUTCOMES

  • Decisions within seconds over a live candle stream
  • Indicators (Bollinger, OBV, trend) reimplemented by hand, without a scientific library
  • Arbitration across three pairs and a feasibility check on every order (balance, fees)

BEYOND THE BRIEF

  • A clean separation between the protocol (main.py), the market model (classe.py) and the strategy (calcul.py), which makes it possible to change strategy without touching the dialogue

04 // SOURCE TREE

READING SOURCE…