[Quantitative Trading Robot] Martin Strategy uniapp+thinkphp+workerman api

[Quantitative Trading Robot] Martin Strategy uniapp+thinkphp+workerman api

This resource requires permission to download

1. 3 interfaces with exchanges (Huobi/Binance)
1.1 Read account balance interface
1.2 Trading interface (buy transaction/sell transaction)
1.3 Real-time price interface
2. The real-time price interface is websocket data stream
Use Martin strategy
It provides the data basis for judging buying and selling, and the judgment code is the core of the entire system.
The size of the data stream per second varies between coins and at different times, ranging from a few to 30 per second.
This system uses the workerman framework AsyncTcpConnection to receive websocket data streams
Use the reConnect method to achieve disconnection and reconnection/transport=ssl to 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 and code-level scheduled tasks
PHP-CLI’s resident memory method replaces caching technology and complex asynchronous task processing methods, which greatly saves system overhead and concurrency capabilities.
3. Funding description
This system currently uses TRC20-USDT for deposits and withdrawals by default, and can also be changed to ERC20-USDT, etc.
Recharge is fully automatic
Withdrawals are subject to manual review, or can be changed to automatic review

Notice: Unless otherwise stated, all content on this site is originally published here. Copying, scraping, or republishing it on any website, book, or other media without permission is prohibited. If any content infringes your rights, please contact us.
Copyright © 2026 youcode.cc - All rights reserved