Creates a new TWAP (Time-Weighted Average Price) order. The order is split into child orders placed at regular intervals over the specified running time. Running time must be between 5 minutes and 24 hours and a multiple of the frequency. The number of child orders (runningTime / frequency) must be between 2 and 200.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Perps trading market
"AAPL-USD.P"
Order side
buy, sell "buy"
Total order size in base currency to execute over the TWAP duration
"20.30"
Total duration of the TWAP order in seconds. Must be between 300 (5 minutes) and 86400 (24 hours) and a multiple of frequency.
3600
Interval between child orders in seconds. runningTime / frequency gives the number of child orders, which must be between 2 and 200.
60
If true, child orders are reduce-only
false
Maximum allowed price for child orders. Child orders will not be placed above this price.
"160.00"
Minimum allowed price for child orders. Child orders will not be placed below this price.
"140.00"
Created TWAP order
Whether the request was successful
true
Error message, present only on failure
""
Semantic error code. See each endpoint's error responses for the specific codes it can return.
Deprecation notice, if applicable
""