Expand description
Trade syncer: syncs fills to upstream API for PnL tracking.
This module provides async HTTP syncing of fills to an external API (like the AlgoBot API) for centralized PnL calculation and persistence.
Re-exports§
pub use crate::account_syncer::SyncError;
Structs§
- Sync
Request - Request payload for sync API
- Sync
Response - Response from sync API
- Sync
Result - Response from sync API
- Synced
Info - Info about last synced trade
- Trade
Syncer - Trade syncer - handles syncing fills to upstream API
- Trade
Syncer Config - Configuration for trade syncing
- Upstream
Trade - Trade format for upstream API (matches botRoutes.py Trade schema)