Class RithmicMessageAdapter
Адаптер сообщений для StockSharp.Rithmic.
Inherited Members
Namespace: StockSharp.Rithmic
Assembly: StockSharp.Rithmic.dll
Syntax
[MediaIcon("Rithmic_logo.png")]
[OrderCondition]
[DescriptionLoc("Str1770", "Rithmic")]
[CategoryLoc("America")]
[DisplayNameLoc("Rithmic")]
[MessageAdapterCategory]
public class RithmicMessageAdapter : MessageAdapter, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanged, ILoginPasswordAdapter, IDemoAdapter
Constructors
RithmicMessageAdapter(IdGenerator)
Создать RithmicMessageAdapter.
Declaration
public RithmicMessageAdapter(IdGenerator transactionIdGenerator)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Common.IdGenerator | transactionIdGenerator | Генератор транзакций. |
Properties
AdminConnectionPoint
Connection point for administrative functions (initialization/deinitialization).
Declaration
public string AdminConnectionPoint { get; set; }
Property Value
Type | Description |
---|---|
String |
AllTimeFrames
Возможные тайм-фреймы.
Declaration
public static IEnumerable<TimeSpan> AllTimeFrames { get; }
Property Value
Type | Description |
---|---|
IEnumerable<TimeSpan> |
CertFile
Path to certificate file, necessary to connect to Rithmic system.
Declaration
public string CertFile { get; set; }
Property Value
Type | Description |
---|---|
String |
DomainName
Domain name.
Declaration
public string DomainName { get; set; }
Property Value
Type | Description |
---|---|
String |
DomainServerAddress
Domain address.
Declaration
public string DomainServerAddress { get; set; }
Property Value
Type | Description |
---|---|
String |
HistoricalConnectionPoint
Connection point for access to history data.
Declaration
public string HistoricalConnectionPoint { get; set; }
Property Value
Type | Description |
---|---|
String |
HistoricalPassword
Additional password. Password used for authentication with the history plant.
Declaration
public SecureString HistoricalPassword { get; set; }
Property Value
Type | Description |
---|---|
SecureString |
HistoricalUserName
Additional login. User id used for authentication with the history plant.
Declaration
public string HistoricalUserName { get; set; }
Property Value
Type | Description |
---|---|
String |
IsSupportCandlesUpdates
Поддерживается подписка на свечи и обновление в реальном времени.
Declaration
public override bool IsSupportCandlesUpdates { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
LicenseServerAddress
Licenses server address.
Declaration
public string LicenseServerAddress { get; set; }
Property Value
Type | Description |
---|---|
String |
LocalBrokerAddress
Broker address.
Declaration
public string LocalBrokerAddress { get; set; }
Property Value
Type | Description |
---|---|
String |
LogFileName
Path to log file.
Declaration
public string LogFileName { get; set; }
Property Value
Type | Description |
---|---|
String |
LoggerAddress
Logger address.
Declaration
public string LoggerAddress { get; set; }
Property Value
Type | Description |
---|---|
String |
Login
Login.
Declaration
public string Login { get; set; }
Property Value
Type | Description |
---|---|
String |
MarketDataConnectionPoint
Connection point to market data.
Declaration
public string MarketDataConnectionPoint { get; set; }
Property Value
Type | Description |
---|---|
String |
Password
Password.
Declaration
public SecureString Password { get; set; }
Property Value
Type | Description |
---|---|
SecureString |
PositionConnectionPoint
Connection point for access to portfolios and positions information.
Declaration
public string PositionConnectionPoint { get; set; }
Property Value
Type | Description |
---|---|
String |
Server
Server type.
Declaration
public RithmicServers Server { get; set; }
Property Value
Type | Description |
---|---|
RithmicServers |
TransactionalLogin
Additional login. Used when transaction sending is carried out to a separate server.
Declaration
public string TransactionalLogin { get; set; }
Property Value
Type | Description |
---|---|
String |
TransactionalPassword
Additional password. Used when transaction sending is carried out to a separate server.
Declaration
public SecureString TransactionalPassword { get; set; }
Property Value
Type | Description |
---|---|
SecureString |
TransactionConnectionPoint
Connection point to the transactions execution system.
Declaration
public string TransactionConnectionPoint { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
GetHistoryStepSize(DataType, out TimeSpan)
Получить максимальный размер шага, доступный для скачивания истории.
Declaration
public override TimeSpan GetHistoryStepSize(DataType dataType, out TimeSpan iterationInterval)
Parameters
Type | Name | Description |
---|---|---|
DataType | dataType | Тип данных. |
TimeSpan | iterationInterval | Interval between iterations. |
Returns
Type | Description |
---|---|
TimeSpan | Step. |
Overrides
GetTimeFrames(SecurityId, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)
Получить возможные тайм-фреймы для указанного инструмента.
Declaration
protected override IEnumerable<TimeSpan> GetTimeFrames(SecurityId securityId, Nullable<DateTimeOffset> from, Nullable<DateTimeOffset> to)
Parameters
Type | Name | Description |
---|---|---|
SecurityId | securityId | Security ID. |
Nullable<DateTimeOffset> | from | Начальная дата, с которой необходимо получать данные. |
Nullable<DateTimeOffset> | to | Конечная дата, до которой необходимо получать данные. |
Returns
Type | Description |
---|---|
IEnumerable<TimeSpan> | Возможные тайм-фреймы. |
Overrides
Load(SettingsStorage)
Загрузить настройки.
Declaration
public override void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Overrides
OnSendInMessage(Message)
Отправить сообщение.
Declaration
protected override bool OnSendInMessage(Message message)
Parameters
Type | Name | Description |
---|---|---|
Message | message | Message. |
Returns
Type | Description |
---|---|
Boolean | true если переданное сообщение было обработано успешно, иначе, false. |
Overrides
Save(SettingsStorage)
Сохранить настройки.
Declaration
public override void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
Explicit Interface Implementations
IDemoAdapter.set_IsDemo(Boolean)
Declaration
void IDemoAdapter.set_IsDemo(bool #=zjdleZeM=)
Parameters
Type | Name | Description |
---|---|---|
Boolean | #=zjdleZeM= |
IDemoAdapter.get_IsDemo()
Declaration
bool IDemoAdapter.get_IsDemo()
Returns
Type | Description |
---|---|
Boolean |