Skip to content

tws-api-swift 10.53.0

Latest

Choose a tag to compare

@stensoosaar stensoosaar released this 02 Dec 09:05
4cf45d6

Connection management

• Link changes arrive in the message stream as Response.status(_:), in order with your data.
• The connection reconnects by itself after a socket drop or gateway restart, under a configurable ReconnectPolicy (default: retry forever, 1s to 30s backoff). Connection settings can be stored, since the policy is Codable.
• Outbound messages are paced at 50 per second by default (maxMessagesPerSecond).
• After a reconnect, .connected(reconnect: true) arrives. Subscriptions must be requested again.

Models

• Protobuf models regenerated from the 10.53 schema.
• Breaking: TWSModels is merged into TWSAPI. The TWSModels library product is gone. import TWSAPI still provides the IBPB… types.
• New tick events: comboImpliedBid and comboImpliedAsk.

Fixes

• RT volume and dividend tick parsing.
• IB Timezone identifier Asia/Seol mapped to Asia/Seoul.

Documentation

• DocC catalog covering connection, contracts, market data, historical data, orders, and pacing and limits, with a summary of each topic from the official reference.