Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 844 Bytes

lma_pseudocode.md

File metadata and controls

18 lines (14 loc) · 844 Bytes

Pseudocode for LMA Main Loop

Logical Description - Parallel Activities


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

Details of POST Requests

See separate URI Structure and Payloads.