/yahoo-finance

Rust library for interacting with the Yahoo Finance API

Primary LanguageRustMIT LicenseMIT

Travis Build Status MIT licensed

extern crate yahoo_finance;

use yahoo_finance::quote::Quote;

fn main() {
    let mut stock = Quote::new("GOOG");
    stock.update();
    println!("GOOG Current Price: {}", stock.current);
    println!("GOOG Bid Price: {}", stock.bid);
    println!("GOOG Ask Price: {}", stock.ask);
}