Skip to content

Instantly share code, notes, and snippets.

@mikeb01
Created December 22, 2011 14:34
Show Gist options
  • Save mikeb01/1510494 to your computer and use it in GitHub Desktop.
Save mikeb01/1510494 to your computer and use it in GitHub Desktop.
Order Protocol Event
<order>
<timeInForce>ImmediateOrCancel</timeInForce>
<instructionId>1733844027851145216</instructionId>
<originalInstructionId>1733844027851145216</originalInstructionId>
<orderId>AAK8oAAAAAAAAAAF</orderId>
<accountId>1393236922</accountId>
<instrumentId>179361</instrumentId>
<quantity>30</quantity>
<matchedQuantity>30</matchedQuantity>
<matchedCost>22.1</matchedCost>
<cancelledQuantity>0</cancelledQuantity>
<timestamp>2011-12-22T10:09:25</timestamp>
<orderType>STOP_COMPOUND_MARKET</orderType>
<openQuantity>20</openQuantity>
<openCost>22.1</openCost>
<cumulativeCost>22.1</cumulativeCost>
<commission>0</commission>
<stopReferencePrice>111</stopReferencePrice>
<stopLossOffset />
<stopProfitOffset />
<executions>
<executionId>3</executionId>
<execution>
<price>110</price>
<quantity>10</quantity>
</execution>
<execution>
<price>111</price>
<quantity>10</quantity>
</execution>
<execution>
<price>112</price>
<quantity>10</quantity>
</execution>
</executions>
</order>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment