#stock #share #financial-data #api-bindings #api-token #eodhistoricaldata

eodhistoricaldata_api

A rust adapter eodhistoricaldata, a provider of financial data

8 releases

0.4.0 Nov 6, 2022
0.3.5 Jul 18, 2021
0.3.4 Mar 8, 2021
0.3.2 Oct 17, 2020
0.1.1 Apr 20, 2020

#324 in Finance

Download history 38/week @ 2024-09-23

58 downloads per month
Used in 3 crates (via finql)

MIT/Apache

10KB
147 lines

eodhistoricaldata API

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).

Usage

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.


lib.rs:

eodhistoricaldata API

This project provides a set of functions to receive data from the 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).

Usage

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.

Dependencies

~9–20MB
~280K SLoC