yahoo_finance_api
yahoo_finance_api copied to clipboard
Simple wrapper to yahoo! finance API to retrieve latest quotes and end-of-day quote histories
```rust yahoo::YahooConnector::new().get_quote_history_interval(...).await?.quotes()? ``` ```rust Error: deserializing response from yahoo! finance failed Caused by: missing field `adjclose` ```
Looks like you can get pre- and post-day trading data via the `curl`ing the URL below, specifically the `includePrePost` parameter with the value set to `true`. Could this be added...
Ho do I get Sector and Industry information on a stock? Normally displayed on a stock's profile page on Yahoo Finance. e.g. in python (yfinance) it would be: ``` import...
Added two new YahooConnector constructors. One using a parameter passed client, giving the user complete discretion over the client build. The second a shortcut to create a proxy-tunneled client. After...
It seems that some escape characters were copied in the README and the highlighted MarkDown isn't showing its messing with the strings. First example when run currently: ``` $ cargo...
This implements the `decimal` feature flag allowing for the use of the `Decimal` type provided by the [rust_decimal](https://crates.io/crates/rust_decimal) crate instead of the `f64` type for prices to avoid some of...
- Added a debug flag feature, which displays additional information about the field on which the deserialization error occurred. - Fixing incorrect types - Fixing optional fields for #68 -...
Add error message to get_quote_history_interval/get_quote_history_interval_prepost if start date is earlier than 59/60 days ago. Example from the Python library: "possibly delisted; no price data found (5m 2024-12-01 -> 2024-12-14) (Yahoo...
If you try to request get_quote_history_interval_prepost(ticker, start, end, interval, prepost) during the weekend, you will get DeserializeFailed(Error("missing field `volume`", line: 0, column: 0))
how to get realtime data in websocket?