Skip to content

Pseudocode for LMA Main Loop

William Cox edited this page Feb 12, 2021 · 3 revisions

Pseudocode for LMA Main Loop

Logical Description - Parallel Activities


    1. Receive an EiCreateTender message (from a TEUA)>
2. Respond to the TEUA with an EiCreatedTender message
3. Forward a [possibly rewritten] EiCreateTender to LMM
4. When the Matching Engine (parithy) matches and clears tenders aynchronously it sends EiCreateTransaction back to the LMM which forwards to LMA. 5. Add transaction quantity and buy/sell to the positiion for both parties
6. Respond to LMM with EiCreatedTransaction
7. Send [possibly rewritten] EiCreateTransaction to requesting TEUAs (mapping PartyId and CounterPartyId to the correct TEUA id)
8. Receive EiCreatedTransaction from TEUA and forward to LMM

Details of POST Requests

See separate URI Structure and Payloads.

Clone this wiki locally