Crates.io | eodhistoricaldata_api |
lib.rs | eodhistoricaldata_api |
version | 0.4.0 |
source | src |
created_at | 2020-04-20 14:17:41.329544 |
updated_at | 2022-11-06 19:35:35.116513 |
description | A rust adapter eodhistoricaldata, a provider of financial data. |
homepage | |
repository | https://github.com/xemwebe/eodhistoricaldata_api |
max_upload_size | |
id | 232210 |
size | 22,326 |
This project provides a set of functions to receive data from the eodhistoricaldata website via their API. This project is licensed under Apache 2.0 or MIT license (see files LICENSE-Apache2.0 and LICENSE-MIT).
Please note that you need to have a registered account with eodhistoricaldata to receive an individual API token. The most basic account is free but limited to EOD Historical Data and LIVE/Realtime Data only and allows only 20 requests per day.
Since version 0.3 and the upgrade to reqwest
0.10, all requests to the
yahoo API return futures, using async
features. Therefore, the functions
need to be called from within another async
function with .await
or
via funtions like block_on
. The examples are based on the tokio
runtime applying the tokio-test
crate.