MatLabConnector

StockSharp.MatLab

The interface IConnector implementation which provides ability to use from MatLab scripts.

继承自: Disposable

构造函数

MatLabConnector()

Initializes a new instance of the MatLabConnector.

属性

RealConnector : Connector

The connection for market-data and transactions.

方法

AddAdapter(IMessageAdapter, string)

Add adapter.

adapter
Adapter.
initString
Initialization string.
DisposeManaged()

Release resources.

LookupSecurity(string)

To find instruments that match the filter .

criteria
The instrument whose fields will be used as a filter.
Subscribe(DataType, Security)

Subscribe to data.

type
DataType
security
Security
UnSubscribe(DataType, Security)

Unsubscribe from data.

type
DataType
security
Security

事件

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.

OrderFailReceived : EventHandler<SubscriptionEventArgs<OrderFail>>

Order registration error received.