...
Name | Type | Description |
---|---|---|
BrickId | Guid | The BrickId of the trade order |
Account | Guid | The trade order's associated account |
CashAmount | Decimal | The amount in cash |
InstrumentAmount | Decimal | The amount in units |
TradeOrderDirection | String | "Buy" or "Sell" |
Instrument | Guid | The associated instrument |
Cash | Guid | The associated Cash |
Price | Double | The price of the trade order |
State | String | The current state of the trade order |
IsUnitOrder | Bool | True if the order is traded in units |
OrderNo | String | The order number of the trade order |
LimitPrice | Decimal | The limit price of the trade order |
TradeDate | DateTime | The date when the trade was executed |
PriceDate | DateTime | The date the price was set for the trade order |
SettlementDate | DateTime | The date the trade order was settled |
ExternalReference | String | External reference on the order |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<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>
|