xapi-binance 0.0.1

Binance API client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::make_test_spot_pub;

#[tokio::test]
async fn test_subscribe_failure() -> anyhow::Result<()> {
    let client = make_test_spot_pub();

    let result = client.subscribe_book_ticker(&"??".into()).await;

    assert!(result.is_err());

    Ok(())
}