Crates.io | stockquote |
lib.rs | stockquote |
version | 0.1.2 |
source | src |
created_at | 2020-10-21 19:29:32.456983 |
updated_at | 2020-10-22 07:12:08.409568 |
description | Safe and easy to use stock quote library. All data coming from Yahoo Finance. |
homepage | |
repository | https://github.com/huytd/stockquote-rs |
max_upload_size | |
id | 303956 |
size | 99,249 |
A safe and easy to use stock quote library. Based on Yahoo Finance.
Usage:
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let result = stockquote::get("IBM").await?;
println!("{:?}", result);
Ok(())
}