About Event Types and Event Priorities
When multiple events occur throughout the day, they must be processed in the correct sequence to provide the proper accounting treatment of the transactions. Each transaction in Eagle's Accounting solution has a system defined event priority that determines the order in which a transaction is processed. The event type with the lower event priority is processed before the event type with a higher event priority.
Corporate actions also have a system defined event priority. Additionally, they have a user defined sub-priority, which determines how the actions are processed when there are multiple corporate actions in a single day.
The following table lists common event types and event priorities.Â
Message Type | Event Type | Event Priority |
---|---|---|
MTOPEN | ADD_ECL_GROUP | 75 |
MTOPEN | BUY | 75 |
MTOPEN | BUYFUT | 63 |
MTOPEN | CONVERSION | 0 |
MTOPEN | COUPON | 96 |
MTOPEN | LPOPEN | 63 |
MTOPEN | OPENFUTURE | 63 |
MTOPEN | OPENSWAP | 63 |
MTOPEN | REC | 63 |
MTOPEN | SHORTSELL | 84 |
MTOPEN | SPOT | 95 |
MTOPEN | WRITE | 87 |
MTCLOSE | BUYCVR | 156 |
MTCLOSE | CA_CASH_CLOSE | 1 |
MTCLOSE | CLOSEFUTURE | 144 |
MTCLOSE | CLOSESWAP | 144 |
MTCLOSE | DEL | 144 |
MTCLOSE | EXPIRE | 178 |
MTCLOSE | LPCLOSE | 144 |
MTCLOSE | MATURITY | 147 |
MTCLOSE | PAYDOWN | 1 |
MTCLOSE | SELL | 147 |
MTCLOSE | SELLFUT | 63 |
MTCLOSE | SPOT | 95 |
MTEARN | EARN | 999 |
MTEARN | MARGIN | 999 |
MTCANCEL | CANCEL | 1 |
MTACTION | SPLIT | 1 |
MTACTION | STOCKDIV | 1 |
MTACTION | TRRESETCOST | 145 |
MTACTION | TRRESETQTY | 145 |
MTACTION | QTYADJ | 1 |
MTADJUST | ADJ_ECL_ASSET | 999 |
MTADJUST | ADJ_ECL_TRANSITION | 999 |
MTADJUST | DECROPEN | 99 |
MTADJUST | INCROPEN | 96Â |
MTADJUST | LPCALL | 96 |
MTADJUST | LPCAP | 96 |
MTADJUST | LPCASH | 96 |
MTADJUST | LPCOMMIT | 96 |
MTADJUST | WRITEDOWN | 1000 |
Â