undefined
Classes
class EClient
TWS/Gateway client class This client class contains all the available methods to communicate with LYNX. Up to thirty-two clients can be connected to a single instance of the TWS/Gateway simultaneously. From herein, the TWS/Gateway will be referred to as the Host.
interface EWrapper
This interface's methods are used by the TWS/Gateway to communicate with the API client. Every API client application needs to implement this interface in order to handle all the events generated by the TWS/Gateway. Almost every EClientSocket method call will result in at least one event delivered here.
class EReader
Captures incoming messages to the API client and places them into a queue.
interface EReaderSignal
Notifies the thread reading information from the TWS whenever there are messages ready to be consumed. Not currently used in Python API.
class EClientSocket
TWS/Gateway client class This client class contains all the available methods to communicate with LYNX. Up to 32 clients can be connected to a single instance of the TWS/Gateway simultaneously. From herein, the TWS/Gateway will be referred to as the Host.
class EClientSocketSSL
Implements a Secure Socket Layer (SSL) on top of the EClientSocket class.
class AccountSummaryTags
class containing all existing values being reported by EClientSocket.reqAccountSummary
class ComboLeg
Class representing a leg within combo orders.
class CommissionReport
class representing the commissions generated by an execution.
class Contract
class describing an instrument's definition
class ContractDetails
extended contract details.
class DeltaNeutralContract
Delta-Neutral Contract.
class EClientErrors
Contains all possible errors occurring on the client side. This errors are not sent by the TWS but rather generated as the result of malfunction within the TWS API client.
class CodeMsgPair
associates error code and error message as a pair.
class Liquidity
Class describing the liquidity type of an execution.
class Execution
Class describing an order's execution.
class ExecutionCondition
This class represents a condition requiring a specific execution event to be fulfilled. Orders can be activated or canceled if a set of given conditions is met. An ExecutionCondition is met whenever a trade occurs on a certain product at the given exchange.
class ExecutionFilter
when requesting executions, a filter can be specified to receive only a subset of them
class Order
The order's description.
class OrderComboLeg
Allows to specify a price on an order's leg.
class OrderState
Provides an active order's current state.
class PercentChangeCondition
Used with conditional orders to place or submit an order based on a percentage change of an instrument to the last close price.
class PriceCondition
Used with conditional orders to cancel or submit order based on price of an instrument.
class ScannerSubscription
Defines a market scanner request.
class SoftDollarTier
A container for storing Soft Dollar Tier information.
class TagValue
Convenience class to define key-value pairs.
class TimeCondition
Time condition used in conditional orders to submit or cancel orders at specified time.
class VolumeCondition
Used with conditional orders to submit or cancel an order based on a specified volume change in a security.
class TickAttrib
Tick attributes that describes additional information for price ticks.
class Bar
The historical data bar's description.
class HistoricalTick
The historical tick's description. Used when requesting historical tick data with whatToShow = MIDPOINT.
class HistoricalTickBidAsk
The historical tick's description. Used when requesting historical tick data with whatToShow = BID_ASK.
class HistoricalTickLast
The historical last tick's description. Used when requesting historical tick data with whatToShow = TRADES.
Enumerations
enum TriggerMethod { Default = 0, DoubleBidAsk, Last, DoubleLast, BidAsk, LastOfBidAsk = 7, MidPoint }