fugle 0.3.8

A Simple, Lightweight, Fast and Safe Fugle Library
Documentation
1
2
3
4
5
6
7
8
9
use fugle::websocket::IntradayBuilder;

fn main() {
    let mut ws = IntradayBuilder::new().symbol_id("2884").odd_lot().build();

    println!("{:?}", ws.chart().unwrap().recv().unwrap());
    println!("{:?}", ws.meta().unwrap().recv().unwrap());
    println!("{:?}", ws.quote().unwrap().recv().unwrap());
}