com.apama.trade
Event Trade


A trade.
Since:
CMF 1.1.0
Version:
10.0

Constant Summary
 constant stringOUR_PARTY_ID := "__OUR_PARTY_ID__"
 
Member Summary
 stringserviceName
 booleanisRepeat

Trades with this flag set are historical or a repeat that has already been sent to the system.
 booleanisCancel

Sometimes trades are cancelled after initial reporting. the Trade event is used for these cancellations too. This boolean is set when the event represents a cancellation.
 stringtradeStreamId
 floattimeStamp
 integerseqId
 stringsymbol
 stringOMSService
 stringexchange
 stringmarket
 stringbrokerId
 dictionary<string, string >keyExtraParams
 stringtrader
 stringdeskId
 stringbookId
 stringoriginatorServiceType
 stringoriginatorServiceName
 stringoriginatorServiceInstance
 floatprice
 integerquantity
 stringtakerId
 floattakerCommision
 stringgiverId
 floatgiverCommision
 stringtradeType
 dictionary<string, string >extraParams
 
Action Summary
 booleanisGiver(string partyId)
 booleanisTaker(string partyId)
 
Constant Detail

OUR_PARTY_ID

constant string OUR_PARTY_ID := "__OUR_PARTY_ID__"

Member Detail

bookId

string bookId

brokerId

string brokerId

deskId

string deskId

exchange

string exchange

extraParams

dictionary<string, string > extraParams

giverCommision

float giverCommision

giverId

string giverId

isCancel

boolean isCancel
Sometimes trades are cancelled after initial reporting. the Trade event is used for these cancellations too. This boolean is set when the event represents a cancellation.

Any position tracking logic will.

isRepeat

boolean isRepeat
Trades with this flag set are historical or a repeat that has already been sent to the system.

When a subscription that requires history is made. The historic events will have isRepeat set. This includes historic cancellations (which won't necessarily be removed during the replay).

keyExtraParams

dictionary<string, string > keyExtraParams

market

string market

OMSService

string OMSService

originatorServiceInstance

string originatorServiceInstance

originatorServiceName

string originatorServiceName

originatorServiceType

string originatorServiceType

price

float price

quantity

integer quantity

seqId

integer seqId

serviceName

string serviceName

symbol

string symbol

takerCommision

float takerCommision

takerId

string takerId

timeStamp

float timeStamp

trader

string trader

tradeStreamId

string tradeStreamId

tradeType

string tradeType

Action Detail

isGiver

boolean isGiver(string partyId)
Parameters:
partyId

isTaker

boolean isTaker(string partyId)
Parameters:
partyId