Skip to content

Performance improvement - #19

Merged
IOITI merged 21 commits into
mainfrom
performance-improvement
Jun 21, 2026
Merged

Performance improvement#19
IOITI merged 21 commits into
mainfrom
performance-improvement

Conversation

@IOITI

@IOITI IOITI commented Jun 21, 2026

Copy link
Copy Markdown
Owner

No description provided.

IOITI and others added 21 commits February 22, 2026 09:54
…tion

- Added a new async trader service in `src/trader/__init__.py` to handle trading signals using aio-pika.
- Replaced synchronous trading signal processing with an asynchronous approach, improving performance and scalability.
- Introduced PGSQL as database.
- Updated the message dispatcher to validate incoming messages against a JSON schema.
- Modified the web server's message sending function to publish messages to the `trading-signals` queue instead of `trading-action`.
- Ensured that the RabbitMQ queues are declared with the correct names and durability settings.
…ient

Co-authored-by: Copilot <copilot@github.com>
… tests

Co-authored-by: Copilot <copilot@github.com>
…daily profit history methods

- Added `get_closed_trade_history` and `get_daily_profit_history` methods to `DbPositionManager` and `AsyncDbPositionManager` for fetching closed trades and daily profit/loss data.
- Updated `handle_daily_stats` in `position_monitor` and `trader` services to utilize new methods for generating daily trading reports.
- Refactored message generation to use `build_daily_trading_report_message` for improved report formatting.
- Introduced new tests for the trading report message and related calculations in `test_message_helper.py`.
…ll related tests for TradingOrchestrator, InstrumentService, OrderService, PositionService, and PerformanceMonitor.
@IOITI
IOITI merged commit 50b3c07 into main Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant