|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Classes | |
| struct | Market_Quote |
| Best bid and ask of one pair, with the price scale of both. More... | |
| struct | Market_Snapshot |
| State of the whole market at one instant. More... | |
Variables | |
| constexpr int | asset_count = 6 |
| Number of assets of the market: BTC, ETH, SOL, BNB, USDT and USDC. | |
| constexpr int | pair_count = 15 |
| Number of pairs, one for each pair of assets. | |
| constexpr const char *const | asset_names [asset_count] = {"BTC", "ETH", "SOL", "BNB", "USDT", "USDC"} |
Names of the assets, indexed by Market_Quote::base and Market_Quote::quote. | |
| const Market_Snapshot | snapshots [] |
| The snapshots, in chronological order. | |
| constexpr std::size_t | snapshot_count = sizeof(snapshots) / sizeof(snapshots[0]) |
| Number of snapshots. | |
|
inlineconstexpr |
Number of assets of the market: BTC, ETH, SOL, BNB, USDT and USDC.
Definition at line 73 of file negative_cycles_market_snapshots.H.
|
inlineconstexpr |
Names of the assets, indexed by Market_Quote::base and Market_Quote::quote.
Definition at line 79 of file negative_cycles_market_snapshots.H.
|
inlineconstexpr |
Number of pairs, one for each pair of assets.
Definition at line 76 of file negative_cycles_market_snapshots.H.
|
inlineconstexpr |
Number of snapshots.
Definition at line 430 of file negative_cycles_market_snapshots.H.
|
inline |