Subscribes to market data for instrument by security ID and channel info
Namespace:
com.b2bits.FIXAntenna.Globex
Assembly:
FIXAntenna_net4.8 (in FIXAntenna_net4.8.dll) Version: 2.31.0.0
public virtual bool SubscribeBySecurityID(
ulong secID,
string securityDesc,
string channel_id,
InstrumentListener instrumentListener,
RecoveryOptions recoveryOption
)
Public Overridable Function SubscribeBySecurityID (
secID As ULong,
securityDesc As String,
channel_id As String,
instrumentListener As InstrumentListener,
recoveryOption As RecoveryOptions
) As Boolean
public:
virtual bool SubscribeBySecurityID(
unsigned long long secID,
String^ securityDesc,
String^ channel_id,
InstrumentListener^ instrumentListener,
RecoveryOptions recoveryOption
)
abstract SubscribeBySecurityID :
secID : uint64 *
securityDesc : string *
channel_id : string *
instrumentListener : InstrumentListener *
recoveryOption : RecoveryOptions -> bool
override SubscribeBySecurityID :
secID : uint64 *
securityDesc : string *
channel_id : string *
instrumentListener : InstrumentListener *
recoveryOption : RecoveryOptions -> bool
public function SubscribeBySecurityID(
secID : ulong,
securityDesc : String,
channel_id : String,
instrumentListener : InstrumentListener,
recoveryOption : RecoveryOptions
) : boolean
Parameters
- secID
- Type: SystemUInt64
Security ID of an instrument to subscribe - securityDesc
- Type: SystemString
Security Description of the instrument to subscribe - channel_id
- Type: SystemString
Channel ID from config.xml - instrumentListener
- Type: com.b2bits.FIXAntenna.GlobexInstrumentListener
Listener for the instrument - recoveryOption
- Type: com.b2bits.FIXAntenna.GlobexRecoveryOptions
Recovery option for the instrument
Return Value
Type:
BooleanReturn true if subsciption successful, otherwise false
Reference