From 33b14aaa2344b0fd95d1629627c3d135b24ae102 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 1 Apr 2026 15:56:35 +0900 Subject: feat: initial trading platform implementation Binance spot crypto trading platform with microservices architecture: - shared: Pydantic models, Redis Streams broker, asyncpg DB layer - data-collector: Binance WebSocket/REST market data collection - strategy-engine: Plugin-based strategy execution (RSI, Grid) - order-executor: Order execution with risk management - portfolio-manager: Position tracking and PnL calculation - backtester: Historical strategy testing with simulator - cli: Click-based CLI for all operations - Docker Compose orchestration with Redis and PostgreSQL - 24 test files covering all modules --- cli/tests/test_cli_trade.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cli/tests/test_cli_trade.py (limited to 'cli/tests/test_cli_trade.py') diff --git a/cli/tests/test_cli_trade.py b/cli/tests/test_cli_trade.py new file mode 100644 index 0000000..d3f3079 --- /dev/null +++ b/cli/tests/test_cli_trade.py @@ -0,0 +1,10 @@ +from click.testing import CliRunner +from trading_cli.main import cli + + +def test_cli_trade_group(): + runner = CliRunner() + result = runner.invoke(cli, ["trade", "--help"]) + assert result.exit_code == 0 + assert "start" in result.output + assert "stop" in result.output -- cgit v1.2.3