trade_vision 0.1.1

Unofficial API for TradingView
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use trade_vision::session::constructor;

extern crate trade_vision;

#[tokio::main]
async fn main() {
    let mut session = constructor().await;

    session.connect().await;

    // Adds the ETH/USDT symbol to the session
    session.add_symbol("BINANCE:ETHUSDT").await;

    session.process_stream().await;
}