#definition #stock #api #market #traits #included

finance_api

A Finance library with API definitions

1 unstable release

0.1.0 Mar 19, 2024

#138 in Finance

Download history 96/week @ 2024-03-13 55/week @ 2024-03-20 8/week @ 2024-03-27 17/week @ 2024-04-03

176 downloads per month
Used in finance_ibex

MIT license

9KB

Finance Library API definitions

[!Warning] This library is in an early stage. The APIs are not frozen yet, and they might suffer considerable changes.

This Rust library crate defines several traits that describe the expected features of the finance objects included in the Finance library. Most of the code within this repository is included as a facade that other modules must implement to provide the features described in the documentation.


lib.rs:

Finance Library API.

The 'finance_api` crate includes several traits that abstract multiple objects related to financial markets and analysis. This crate does not implement any particular feature, but defines a public API that other libraries can import and use without knowing what implementation will be behind.

Binary crates shall choose a crate that actually implements the needed traits defined herein. Thus this crate targets other libraries, so these can abstract whether a stock exchange is the NASDAQ100 or the S&P500.

No runtime deps