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
Methods
AddAdapter(IMessageAdapter, string)
Add adapter.
public void AddAdapter(IMessageAdapter adapter, string initString)
Parameters
adapter
IMessageAdapterAdapter.
initString
stringInitialization 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
stringThe 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
CandleSeriesStopped
The series processing end event.
public event EventHandler<CandleEventArgs> CandleSeriesStopped
Event Type
Connected
Connected.
public event EventHandler Connected
Event Type
ConnectionError
Connection error (for example, the connection was aborted by server).
public event EventHandler<ErrorEventArgs> ConnectionError
Event Type
Disconnected
Disconnected.
public event EventHandler Disconnected
Event Type
Error
Data process error.
public event EventHandler<ErrorEventArgs> Error
Event Type
MarketDepthChanged
Order book changed.
[Obsolete]
public event EventHandler<MarketDepthEventArgs> MarketDepthChanged
Event Type
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
NewMarketDepth
Order book received.
[Obsolete]
public event EventHandler<MarketDepthEventArgs> NewMarketDepth
Event Type
NewMyTrade
Own trade received.
public event EventHandler<MyTradeEventArgs> NewMyTrade
Event Type
NewOrder
Order received.
public event EventHandler<OrderEventArgs> NewOrder
Event Type
NewOrderLogItem
Order log received.
[Obsolete]
public event EventHandler<OrderLogItemEventArgs> NewOrderLogItem
Event Type
NewPortfolio
Portfolio received.
public event EventHandler<PortfolioEventArgs> NewPortfolio
Event Type
NewPosition
Position received.
public event EventHandler<PositionEventArgs> NewPosition
Event Type
NewSecurity
Security received.
public event EventHandler<SecurityEventArgs> NewSecurity
Event Type
NewTrade
Tick trade received.
[Obsolete]
public event EventHandler<TradeEventArgs> NewTrade
Event Type
OrderCancelFailed
Order cancellation error event.
public event EventHandler<OrderFailEventArgs> OrderCancelFailed
Event Type
OrderChanged
Order changed (cancelled, matched).
public event EventHandler<OrderEventArgs> OrderChanged
Event Type
OrderRegisterFailed
Order registration error event.
public event EventHandler<OrderFailEventArgs> OrderRegisterFailed
Event Type
PortfolioChanged
Portfolio changed.
public event EventHandler<PortfolioEventArgs> PortfolioChanged
Event Type
PositionChanged
Position changed.
public event EventHandler<PositionEventArgs> PositionChanged
Event Type
SecurityChanged
Security changed.
public event EventHandler<SecurityEventArgs> SecurityChanged