MatLabConnector
StockSharp.MatLab
The interface IConnector implementation which provides ability to use from MatLab scripts.
Inherits: Disposable
Constructors
MatLabConnector()
Initializes a new instance of the MatLabConnector.
Properties
RealConnector : Connector
The connection for market-data and transactions.
Methods
DisposeManaged()
Release resources.
LookupSecurity(string)
To find instruments that match the filter .
- criteria
- The instrument whose fields will be used as a filter.
Events
CandleReceived : EventHandler<SubscriptionEventArgs<ICandleMessage>>
Candle received.
Connected : EventHandler
Connected.
ConnectionError : EventHandler<ErrorEventArgs>
Connection error (for example, the connection was aborted by server).
CurrentTimeChanged : EventHandler
Server time changed CurrentTime. It passed the time difference since the last call of the event. The first time the event passes the value Zero.
Disconnected : EventHandler
Disconnected.
Error : EventHandler<ErrorEventArgs>
Data process error.
OrderBookReceived : EventHandler<SubscriptionEventArgs<IOrderBookMessage>>
Order book received.
OrderFailReceived : EventHandler<SubscriptionEventArgs<OrderFail>>
Order registration error received.
OrderLogReceived : EventHandler<SubscriptionEventArgs<IOrderLogMessage>>
Order log received.
OrderReceived : EventHandler<SubscriptionEventArgs<Order>>
Order received.
OwnTradeReceived : EventHandler<SubscriptionEventArgs<MyTrade>>
Own trade received.
PortfolioReceived : EventHandler<SubscriptionEventArgs<Portfolio>>
Portfolio received.
PositionReceived : EventHandler<SubscriptionEventArgs<Position>>
Position received.
SecurityReceived : EventHandler<SubscriptionEventArgs<Security>>
Security received.
SubscriptionChanged : EventHandler<SubscriptionEventArgs<SubscriptionStates>>
Subscription changed.
TickReceived : EventHandler<SubscriptionEventArgs<ITickTradeMessage>>
Tick trade received.