[Pro-test | 028] Quantitative trading robot system source code with tutorial

introduce

1. 3 interfaces with the exchange (Huobi/Binance) Interface
to read account balance
Transaction interface (buy transaction/sell transaction)
Real-time price interface is websocket data stream


2. It provides the data basis for judging buying and selling. The judgment code is the core of the whole system.
Different currencies have different sizes of data streams per second at different times, ranging from a few to 30 per second.
This system uses the workerman framework AsyncTcpConnection To receive the websocket data stream
Use the reConnect method to achieve disconnection reconnection/transport=ssl access wss/gzdecode method to decompress encrypted data/json_decode function to unpack Use the
Timer class that comes with the workerman framework to implement timers, code-level scheduled tasks
PHP- The CLI's resident memory method replaces the cache technology, and the complex asynchronous task processing method saves system overhead and concurrency capabilities to the greatest extent


3. Fund description
The system currently uses TRC20-USDT deposit and withdrawal by default, and can also be changed to ERC20-USDT, etc.
The recharge is fully automatic,
and the withdrawal is manual review, which can also be changed to automatic review

demo

Picture[1]-A1394 Pro Quantitative Trading Robot System Source Code Attached Tutorial-Ou Chuang Forum

Picture [7]-A1394 Pro Quantitative Trading Robot System Source Code Attached Tutorial-Ou Chuang Forum

Picture[8]-A1394 Pro Quantitative Trading Robot System Source Code Attached Tutorial-Ou Chuang Forum

Picture [9]-A1394 Pro Quantitative Trading Robot System Source Code Attached Tutorial-Ou Chuang Forum

Guess you like

Origin blog.csdn.net/kongvalen/article/details/131801556
Recommended