import {Event} from 'evntscript/src/index.js'
Constructor Summary
Public Constructor | ||
public |
Member Summary
Public Members | ||
public | Each bookLevel Event object is accessed using:
| |
public | Each channelReset Event object is accessed using:
| |
public | Each dailyStatistics Event object is accessed using:
| |
public | Each Event’s header object provides access to general Event information and is accessed using:
| |
public | Each limitsBanding Event object is accessed using:
| |
public | Each orderBook Event object is accessed using:
| |
public | Each securityStatus Event object is accessed using:
| |
public | Each sessionStatistics Event object is accessed using:
| |
public | Each tradeMatch Event object is accessed using:
| |
public | Each tradeSummary Event object is accessed using:
| |
public | Each transactionMarker Event object is accessed using:
| |
public | Each volumeUpdate Event object is accessed using:
|
Public Constructors
public constructor() source
Public Members
public bookLevel: BookLevel source
Each bookLevel Event object is accessed using:
- <EventName>․bookLevel․<memberName>
public channelReset: ChannelReset source
Each channelReset Event object is accessed using:
- <EventName>․channelReset․<memberName>
public dailyStatistics: DailyStatistics source
Each dailyStatistics Event object is accessed using:
- <EventName>․dailyStatistics․<memberName>
public header: Header source
Each Event’s header object provides access to general Event information and is accessed using:
- <EventName>․header․<memberName>
Example:
onEvent(pSymbol, pEvent, pRealTime) {
switch (pEvent.header.unionID) {
case v9.UnionID.TradeSummary:
var fTime = new Date(pEvent.header.milliseconds).toLocalTimeString(); //Formats the date and time based off of the current Event's time in milliseconds
break;
default :
break;
}
}
public limitsBanding: LimitsBanding source
Each limitsBanding Event object is accessed using:
- <EventName>․limitsBanding․<memberName>
public orderBook: OrderBook source
Each orderBook Event object is accessed using:
- <EventName>․orderBook․<memberName>
public securityStatus: SecurityStatus source
Each securityStatus Event object is accessed using:
- <EventName>․securityStatus․<memberName>
public sessionStatistics: SessionStatistics source
Each sessionStatistics Event object is accessed using:
- <EventName>․sessionStatistics․<memberName>
public tradeMatch: TradeMatch source
Each tradeMatch Event object is accessed using:
- <EventName>․tradeMatch․<memberName>
public tradeSummary: TradeSummary source
Each tradeSummary Event object is accessed using:
- <EventName>․tradeSummary․<memberName>
public transactionMarker: TransactionMarker source
Each transactionMarker Event object is accessed using:
- <EventName>․transactionMarker․<memberName>
public volumeUpdate: VolumeUpdate source
Each volumeUpdate Event object is accessed using:
- <EventName>․volumeUpdate․<memberName>