Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Filter inputs

Name
Type
Description
BrickIdsGuid[]

Filter by array of BrickIds. BrickId is the internal id of a trade order.

TradeOrderTypeStringFilter trade orders by type.
StateStringFilter trade orders by state.
AccountsGuid[]Filter by array of AccountIds.
ExternalReferenceStringFilter by ExternalReference
CreatedDateFromDateTimeWhen used, both from date and to date should be provided in the request
CreatedDateToDateTime

Response rows (Array)

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
XML request example
<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>

  • No labels