Skip to main content

Module mock_syncer

Module mock_syncer 

Source
Expand description

Mock Syncers for testing backend integration without real API calls.

Re-exports§

pub use crate::account_syncer::SyncError;
pub use crate::account_syncer::SyncResult;

Structs§

AccountSyncCall
Recorded account-sync call for assertions.
Fill
A fill from userFills
MockAccountSyncer
Mock account syncer for snapshot-account strategies.
MockTradeSyncer
Mock trade syncer for fill-based strategies.
PositionInfo
Position payload recorded by the account mock.
TradeSyncCall
Recorded trade-sync call for assertions.