Skip to main content

Module convert

Module convert 

Source
Expand description

Conversions between internal backtest types and wire-safe RPC messages.

Functionsยง

account_currency_from_msg
config_from_msg
Convert the wire config message into the internal BacktestConfig.
evaluation_options_from_msg
Convert and validate the strict provider-evaluation configuration.
evaluation_options_from_msg_for_symbols
Convert evaluation options after request symbols have been resolved.
future_config_from_msg
Convert and validate FutureQuote settings with the server-derived currency plan.
parse_fill_model
Parse a fill model string, defaulting to BidAsk for unknown values.
position_ref_from_msg
Convert a wire-safe PositionRefMsg into the internal PositionRef.
profile_from_msg
Convert a wire-format ManagementProfileMsg into the internal ManagementProfile.
profile_to_msg
Convert an internal ManagementProfile into a wire-format ManagementProfileMsg.
raw_signal_from_msg
Convert a wire-safe RawSignalMsg into the internal RawSignal.
result_to_msg
Convert the full backtest result into its wire-safe message form.
sizing_from_msg
validate_future_quote_scalars
Validate FutureQuote scalar settings without requiring a replay or currency plan.