Skip to main content

Module protocol

Module protocol 

Source
Expand description

Protocol version checking and constants for TWS API features. Protocol version checking and constants for TWS API features.

This module provides utilities for checking server version compatibility and centralizes all version-related constants used throughout the library.

Structs§

Features
Common protocol features used throughout the API
ProtocolFeature
Represents a protocol feature that requires a minimum server version.

Functions§

check_version
Checks if the server version supports a given feature.
include_if_supported
Helper function to conditionally include fields based on server version.
is_supported
Checks if a feature is supported without returning an error.