Order Types
UTM supports the following order types.
Market Order
Executes immediately at the best available price.
{
"orderType": "market"
}
Limit Order
Executes at the specified price or better.
{
"orderType": "limit",
"limitPrice": 150.0
}
Stop Order
Triggers a market order when the stop price is reached.
{
"orderType": "stop",
"stopPrice": 145.0
}
Stop-Limit Order
Triggers a limit order when the stop price is reached.
{
"orderType": "stopLimit",
"stopPrice": 145.0,
"limitPrice": 144.5
}
Order Type Summary
| Type | Value | Required Fields |
|---|---|---|
| Market | market | None |
| Limit | limit | limitPrice |
| Stop | stop | stopPrice |
| Stop-Limit | stopLimit | stopPrice, limitPrice |