|
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
|
What a connector declares about itself before one exists. More...
#include <fastmm/venues/registry.hpp>
Public Attributes | |
| bool | credentials = true |
| needs api_key / api_secret outside a dry run | |
| bool | order_entry = true |
| can send orders at all | |
| bool | replace = false |
| can amend a resting order in place | |
| bool | positions = false |
| reports positions from the venue | |
| bool | polls = false |
| Venue::poll() drives its sockets; the reactor never wakes for them. | |
| bool | executions = false |
| Can fetch what the account executed since a point in time, so a reconciliation replays the fills the private stream missed instead of inferring them from a cum_qty jump. | |
| bool | account_pools = false |
| Runs as a member of an account pool ([venues. | |
| bool | bind_source = false |
| Binds every outbound connection (WebSocket, REST, the blocking control requests) to the section's source address ([venues. | |
| bool | internal_transfer = false |
| Can move an asset between the accounts of a pool (Venue::transfer, VenueCaps::internal_transfer) once it is given the credentials: a pool treasury ([venues. | |
What a connector declares about itself before one exists.
The session and the engine read these instead of testing kind. replace and order_entry say what the connector can do; whether a given instance does is Venue::caps() (a dry run, order_entry = "none", missing credentials).
| bool fastmm::venues::VenueCapabilities::credentials = true |
needs api_key / api_secret outside a dry run
| bool fastmm::venues::VenueCapabilities::order_entry = true |
can send orders at all
| bool fastmm::venues::VenueCapabilities::replace = false |
can amend a resting order in place
| bool fastmm::venues::VenueCapabilities::positions = false |
reports positions from the venue
| bool fastmm::venues::VenueCapabilities::polls = false |
Venue::poll() drives its sockets; the reactor never wakes for them.
| bool fastmm::venues::VenueCapabilities::executions = false |
Can fetch what the account executed since a point in time, so a reconciliation replays the fills the private stream missed instead of inferring them from a cum_qty jump.
False: a fill that finished an order while the stream was down is not recoverable on this venue, and the engine says so (EngineStats::estimated_reconciles) rather than assuming it did not happen.
| bool fastmm::venues::VenueCapabilities::account_pools = false |
Runs as a member of an account pool ([venues.
<x>] pool_of, core/account_pool.hpp): the order path alone, for the primary's instruments, without market data of its own.
| bool fastmm::venues::VenueCapabilities::bind_source = false |
Binds every outbound connection (WebSocket, REST, the blocking control requests) to the section's source address ([venues.
<x>] source_ip / source_interface, net/source_address.hpp).
| bool fastmm::venues::VenueCapabilities::internal_transfer = false |
Can move an asset between the accounts of a pool (Venue::transfer, VenueCaps::internal_transfer) once it is given the credentials: a pool treasury ([venues.
<primary>.treasury]) needs it.