|
FastMM C++ API 0.14.0
Public headers, tier 1 and tier 2
|
What an action costs on one account now (ctx.capacity). More...
#include <fastmm/core/capacity_price.hpp>
Public Attributes | |
| double | price = 0.0 |
| the whole price: what an action's value must reach | |
| double | floor = 0.0 |
| L, the value of a minimum-notional order. | |
| double | window = 0.0 |
| the account window's part (L * h(z)) | |
| double | weight = 0.0 |
| the pool's request weight part | |
| double | day = 0.0 |
| the account's and the strategy's day prices | |
| double | window_share = 0.0 |
| z of the account's window | |
| std::int64_t | window_used = 0 |
| std::int64_t | window_orders = 0 |
| orders_10s (0: the window is not priced) | |
| bool | on = false |
What an action costs on one account now (ctx.capacity).
| double fastmm::CapacityQuote::price = 0.0 |
the whole price: what an action's value must reach
| double fastmm::CapacityQuote::floor = 0.0 |
L, the value of a minimum-notional order.
| double fastmm::CapacityQuote::window = 0.0 |
the account window's part (L * h(z))
| double fastmm::CapacityQuote::weight = 0.0 |
the pool's request weight part
| double fastmm::CapacityQuote::day = 0.0 |
the account's and the strategy's day prices
| double fastmm::CapacityQuote::window_share = 0.0 |
z of the account's window
| std::int64_t fastmm::CapacityQuote::window_used = 0 |
| std::int64_t fastmm::CapacityQuote::window_orders = 0 |
orders_10s (0: the window is not priced)
| bool fastmm::CapacityQuote::on = false |