Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name
Type
Description
BrickIdGuid

The BrickId of the trade order

AccountGuidThe trade order's associated account
CashAmountDecimalThe amount in cash
InstrumentAmountDecimalThe amount in units
TradeOrderDirectionString"Buy" or "Sell"
InstrumentGuidThe associated instrument
CashGuidThe associated Cash
PriceDoubleThe price of the trade order
StateStringThe current state of the trade order
IsUnitOrderBoolTrue if the order is traded in units
OrderNoStringThe order number of the trade order
LimitPriceDecimalThe limit price of the trade order
TradeDateDateTimeThe date when the trade was executed
PriceDateDateTimeThe date the price was set for the trade order
SettlementDateDateTimeThe date the trade order was settled
ExternalReferenceStringExternal reference on the order
Code Block
languagexml
themeRDark
titleXML request example
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <CreateAccounts xmlns="http://tempuri.org/">
      <req>
        <Credentials>
          <UserName>yourusername</UserName>
          <Password>yourpassword</Password>
        </Credentials>
        <identify>youridentifier</identify>
        <Entities>
          <Account>
            <BrickId>00000000-0000-0000-0000-000000000000</BrickId>
            <OwnerAccountLabel>Test</OwnerAccountLabel>
            <Owner>9eefe173-8d54-4dc3-b8f7-5ac7bccdeec6</Owner>
            <AccountTypeKey>HoldingAccount</AccountTypeKey>
            <BaseCurrencyCode>SEK</BaseCurrencyCode>
            <AccountStatus xsi:nil="true" />
            <AllocationTemplate>00000000-0000-0000-0000-000000000000</AllocationTemplate>
            <ExternalReference>123456789</ExternalReference>
          </Account>
        </Entities>
      </req>
    </CreateAccounts>
  </s:Body>