sandbox-quant 1.0.10

Exchange-truth trading core for Binance Spot and Futures
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

use crate::error::exchange_error::ExchangeError;

#[derive(Debug, Error, Clone, PartialEq)]
pub enum SyncError {
    #[error("stream stale")]
    StreamStale,
    #[error("snapshot fetch failed")]
    SnapshotFetchFailed(#[from] ExchangeError),
}