Skip to main content

Instrument Events

Receive notifications for instrument property changes, including:

  • Trading permission changes (Tradable/Liquidate only/Non-Tradable)
  • Shortable status changes (Shortable/Non-Shortable)
  • Marginable status changes
  • ETF properties changes (crypto ETF, leveraged ETF, etc.)

Trading Property Change Event​

This event is triggered when an instrument's trading-related properties are updated.

Event Structure​

{
"id": "event_c4b2c210-ce32-41d4-a9a1-cfad4fdf191c",
"event_type": "INSTRUMENT",
"position": "CJO1fxACGAAgADAB",
"timestamp": "2025-03-29T07:02:33.200Z",
"payload": {
"instrument_id": "10152734329",
"status": "NT",
"shortable": "true",
"marginable": "true",
"biz_type": "PROPERTY_CHANGE"
}
}

Response Fields​

FieldTypeDescription
idstringUnique event identifier
positionstringCursor for event replay; re-pushes subsequent events within the current business type.
event_typestringEvent type, fixed as INSTRUMENT
timestampstringEvent timestamp in ISO 8601 format
payloadobjectEvent payload data

Payload Fields​

FieldTypeDescription
instrument_idstringUnique instrument identifier
statusstringTrading status:
- OC: Tradable
- CO: Liquidate only
- NT: Non-Tradable
shortablestringWhether shortable: true / false
marginablestringWhether margin trading supported: true / false
biz_typestringBusiness type, fixed as PROPERTY_CHANGE

Status Values​

Trading status (status) values:

ValueDescription
OCTradable - Instrument can be bought and sold normally
COLiquidate only - Can only sell existing positions, cannot open new positions
NTNon-Tradable - No trading operations allowed

Use Cases​

Listening to this event can be used for:

  1. Trading Permission Monitoring: Get real-time updates on instrument trading permission changes and update UI displays accordingly
  2. Short Status Tracking: Monitor changes in shortable status and adjust trading strategies
  3. Risk Management: Adjust positions and risk controls based on margin requirement changes

Basic Property Change Event​

This event is triggered when an instrument's basic properties (such as ETF properties) are updated.

Event Structure​

{
"id": "event_c4b2c210-ce32-41d4-a9a1-cfad4fdf191c",
"event_type": "INSTRUMENT",
"position": "CJO1fxACGAAgADAB",
"timestamp": "2025-03-29T07:02:33.200Z",
"payload": {
"instrument_id": "10152734329",
"crypto_etf": "false",
"etf_leveraged_flag": "YES",
"etf_leveraged_factor": "-1.0",
"single_stock_etf": "false",
"inverse_etf": "false",
"biz_type": "BASIC_PROPERTY_CHANGE"
}
}

Response Fields​

FieldTypeDescription
idstringUnique event identifier
positionstringCursor for event replay; re-pushes subsequent events within the current business type.
event_typestringEvent type, fixed as INSTRUMENT
timestampstringEvent timestamp in ISO 8601 format
payloadobjectEvent payload data

Payload Fields​

FieldTypeDescription
instrument_idstringUnique instrument identifier
crypto_etfstringWhether crypto ETF: true / false. Empty if not ETF
etf_leveraged_flagstringWhether leveraged ETF: YES / NO. Empty if not ETF
etf_leveraged_factorstringETF leverage factor. Empty if not ETF. Negative value for inverse ETF, positive value for regular leveraged ETF
single_stock_etfstringWhether single stock ETF: true / false. Empty if not ETF
inverse_etfstringWhether inverse ETF: true / false. Empty if not ETF
biz_typestringBusiness type, fixed as BASIC_PROPERTY_CHANGE

Use Cases​

Listening to this event can be used for:

  1. ETF Product Monitoring: Track updates to ETF-specific properties
  2. Risk Classification: Identify high-risk products like leveraged or inverse ETFs
  3. Product Filtering: Filter instruments based on ETF characteristics (crypto ETF, single stock ETF, etc.)
  4. Investment Strategy: Adjust strategies based on leverage factors and ETF types