com.apama.internal.trade
Event Trade


Internal trade.
Since:
CMF 1.1.0
Version:
10.11

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