#[non_exhaustive]pub enum BracketOperationType {
Afocca,
Focca,
Cca,
Fca,
Oca,
}Expand description
The order_operation_type of a bracket order, added in template
version 5.37: which event on one order of the bracket cancels the rest.
Rithmic documents only the wire spellings — “AFOCCA, FOCCA, CCA, FCA or OCA”. The reading on each variant is async_rithmic’s annotation of the same field, not Rithmic’s own words; Rithmic’s C++ SDK declares the same constants without comment.
Leave RithmicBracketOrder::operation_type unset unless a specific
grouping is wanted — the server then applies its default, and
async_rithmic reverted sending OCA on every bracket after it broke
bracket orders.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Afocca
Sent as AFOCCA — read as “all fill or cancel cancels all”.
Focca
Sent as FOCCA — read as “fill or cancel cancels all”.
Cca
Sent as CCA — read as “cancel cancels all”.
Fca
Sent as FCA — read as “fill cancels all”.
Oca
Sent as OCA — read as “one cancels all”, the classic OCO grouping.
The one value Rithmic’s C++ SDK declares no constant for.
Implementations§
Source§impl BracketOperationType
impl BracketOperationType
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
The spelling sent on the wire.
Trait Implementations§
Source§impl Clone for BracketOperationType
impl Clone for BracketOperationType
Source§fn clone(&self) -> BracketOperationType
fn clone(&self) -> BracketOperationType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more