Let's start by creating your order. You can create a order using one of those types:
Type | Description |
market | Market Order: The order will be executed on the next possible price. |
stop_market | Stop Market Order: once the stop price is hit, the order will be converted to a market order. Then, the order will be executed immediately on the next price. |
limit | Limit Order: The order will be executed once the limit price is reached. |
stop_limit | Stop Limit Order: once the stop price is hit, the order will be converted to a limit order. Then, the order will be executed once the limit price is reached. |
You do not have to specify an order type. For instance, if you provide only a stop_price, the order is a stop_market order. If you provide both a stop_price and a limit_price, the order will be a stop_limit order. If you only provide the limit_price, the order will be a limit order. If you provide nothing, the order will be executed as a market order on the next available price.
accounts/{account_uuid}/transactions/
endpoint){"limit_price": 399.12,"type": "limit","instrument": "US88160R1014","valid_until": 1601510400,"quantity": 10,"side": "buy","status": "open","uuid": "1ab5f64-5678-2221-b3fc-2c963f26afa6",}
If you create an order, the cash_to_invest (queryable on the /accounts/{account_uuid}/state/
endpoint or on the dashboard) will decrease.
For instance, if you create an order for 6x Daimler with limit price 40€, your cash_to_invest will decrease by 240€.
If you create a market order, a risk premium of 10% will always be put on top of the latest price for the instrument. E.g. if Tesla is at 400€ and you want to buy it using a market order, your cash_to_invest would decrease by 440€ (10% risk premium).
{"count": 1,"next": "null","previous": "null","results": [{"quantity": 5,"limit_price": 42.42,"type": "limit","side": "buy","status": "executed","instrument": {"title": "Daimler AG","isin": "DE0007100000","wkn": "710000"},"created_at": 1598958661,"processed_at": 1599213600,"processed_quantity": 5,"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6","average_price": 42.42,"valid_until": 1599746400}]}
{"quantity": 5,"limit_price": 42.42,"type": "limit","side": "buy","status": "executed","instrument": {"title": "Daimler AG","isin": "DE0007100000","wkn": "710000"},"created_at": 1598958661,"processed_at": 1599213600,"processed_quantity": 5,"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6","average_price": 42.42,"valid_until": 1599746400}