Table of Contents

Class MatLabConnector

Namespace
StockSharp.MatLab
Assembly
StockSharp.MatLab.dll

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

public class MatLabConnector : Disposable
Inheritance
MatLabConnector
Extension Methods

Constructors

MatLabConnector()

Initializes a new instance of the MatLabConnector.

public MatLabConnector()

Properties

RealConnector

The connection for market-data and transactions.

public Connector RealConnector { get; }

Property Value

Connector

Methods

AddAdapter(IMessageAdapter, string)

Add adapter.

public void AddAdapter(IMessageAdapter adapter, string initString)

Parameters

adapter IMessageAdapter

Adapter.

initString string

Initialization string.

DisposeManaged()

Release resources.

protected override void DisposeManaged()

LookupSecurity(string)

To find instruments that match the filter criteria.

public void LookupSecurity(string criteria)

Parameters

criteria string

The instrument whose fields will be used as a filter.

Events

CandleSeriesProcessing

A new value for processing occurrence event.

public event EventHandler<CandleEventArgs> CandleSeriesProcessing

Event Type

EventHandler<CandleEventArgs>

CandleSeriesStopped

The series processing end event.

public event EventHandler<CandleEventArgs> CandleSeriesStopped

Event Type

EventHandler<CandleEventArgs>

Connected

Connected.

public event EventHandler Connected

Event Type

EventHandler

ConnectionError

Connection error (for example, the connection was aborted by server).

public event EventHandler<ErrorEventArgs> ConnectionError

Event Type

EventHandler<ErrorEventArgs>

Disconnected

Disconnected.

public event EventHandler Disconnected

Event Type

EventHandler

Error

Data process error.

public event EventHandler<ErrorEventArgs> Error

Event Type

EventHandler<ErrorEventArgs>

MarketDepthChanged

Order book changed.

[Obsolete]
public event EventHandler<MarketDepthEventArgs> MarketDepthChanged

Event Type

EventHandler<MarketDepthEventArgs>

MarketTimeChanged

Server time changed ExchangeBoards. It passed the time difference since the last call of the event. The first time the event passes the value Zero.

public event EventHandler MarketTimeChanged

Event Type

EventHandler

NewMarketDepth

Order book received.

[Obsolete]
public event EventHandler<MarketDepthEventArgs> NewMarketDepth

Event Type

EventHandler<MarketDepthEventArgs>

NewMyTrade

Own trade received.

public event EventHandler<MyTradeEventArgs> NewMyTrade

Event Type

EventHandler<MyTradeEventArgs>

NewOrder

Order received.

public event EventHandler<OrderEventArgs> NewOrder

Event Type

EventHandler<OrderEventArgs>

NewOrderLogItem

Order log received.

[Obsolete]
public event EventHandler<OrderLogItemEventArgs> NewOrderLogItem

Event Type

EventHandler<OrderLogItemEventArgs>

NewPortfolio

Portfolio received.

public event EventHandler<PortfolioEventArgs> NewPortfolio

Event Type

EventHandler<PortfolioEventArgs>

NewPosition

Position received.

public event EventHandler<PositionEventArgs> NewPosition

Event Type

EventHandler<PositionEventArgs>

NewSecurity

Security received.

public event EventHandler<SecurityEventArgs> NewSecurity

Event Type

EventHandler<SecurityEventArgs>

NewTrade

Tick trade received.

[Obsolete]
public event EventHandler<TradeEventArgs> NewTrade

Event Type

EventHandler<TradeEventArgs>

OrderCancelFailed

Order cancellation error event.

public event EventHandler<OrderFailEventArgs> OrderCancelFailed

Event Type

EventHandler<OrderFailEventArgs>

OrderChanged

Order changed (cancelled, matched).

public event EventHandler<OrderEventArgs> OrderChanged

Event Type

EventHandler<OrderEventArgs>

OrderRegisterFailed

Order registration error event.

public event EventHandler<OrderFailEventArgs> OrderRegisterFailed

Event Type

EventHandler<OrderFailEventArgs>

PortfolioChanged

Portfolio changed.

public event EventHandler<PortfolioEventArgs> PortfolioChanged

Event Type

EventHandler<PortfolioEventArgs>

PositionChanged

Position changed.

public event EventHandler<PositionEventArgs> PositionChanged

Event Type

EventHandler<PositionEventArgs>

SecurityChanged

Security changed.

public event EventHandler<SecurityEventArgs> SecurityChanged

Event Type

EventHandler<SecurityEventArgs>