Skip to content

Latest commit

Β 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Multi-Exchange Quant Trading Engine with CSP

A high-concurrency, asynchronous trading bot built for the GoQuant ecosystem. This system manages automated execution across multiple exchanges simultaneously with a focus on capital preservation.

πŸš€ Key Features

  • Multi-Exchange Synchronization: Unified portfolio tracking across OKX, Bybit, and KuCoin.
  • Asynchronous Architecture: Built using asyncio and websockets for non-blocking, real-time market data processing.
  • Dynamic Rebalancing: Automatically transitions between 'Strategic Buying' and 'Liquidity Recovery' modes based on a $2,000 reserve threshold.
  • Critical Stop Protection (CSP): An automated circuit-breaker that liquidates positions and shuts down the bot if total USDT drops below $0.00.

πŸ›  Tech Stack

  • Language: Python 3.12+
  • Libraries: websockets, aiohttp, requests
  • APIs: GoQuant WebSocket V1, Coinbase Spot Price API

πŸ“‹ Strategy Logic

  1. Short-Covering: Closes any risky net short positions immediately.
  2. Liquidity Check: If USDT < $2,000, the bot sells long positions to free up capital.
  3. Algorithmic Entry: If USDT > $2,000, the bot places $100 trades using the market_edge algorithm.

🚦 Getting Started

  1. Clone the repository.
  2. Install dependencies: pip install -r requirements.txt.
  3. Update USER_EMAIL and USER_PASSWORD in the script.
  4. Run the bot: python trading_bot.py.

About

Developed an autonomous trading system with rule-based capital allocation and risk management. Built high-performance Python backend (asyncio, aiohttp, websockets) with real-time GoQuant API integration for low-latency order execution. Implemented multi-exchange portfolio management (OKX, Bybit, KuCoin)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages