You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Places a new order. There are several types of orders available - Market, Limit, and TWAP (with or without a limit). Orders can only be placed if your account has a sufficient balance. When an order is placed, funds will be reserved for the amount of the order.
20527
+
description: Places a new order. There are several types of orders available - Market, Limit, TWAP and SteadyPace (with or without a limit). Orders can only be placed if your account has a sufficient balance. When an order is placed, funds will be reserved for the amount of the order.
description: Custom order ID. This must be a unique ID associated with an order and cannot be the same across multiple requests.
44857
+
maxLength: 256
44858
+
product:
44859
+
type: string
44860
+
description: Product name e.g. BTC-USD
44861
+
type:
44862
+
type: string
44863
+
description: Must be set to "twap"
44864
+
fundingType:
44865
+
$ref: '#/components/schemas/FundingType'
44866
+
side:
44867
+
$ref: '#/components/schemas/Side'
44868
+
quantity:
44869
+
type: string
44870
+
format: decimal
44871
+
quantityCurrency:
44872
+
type: string
44873
+
description: The quantity currency must be in quote currency for buy unless a limit price is specified, in which case buy orders can only be placed in the base currency. For sell, the quantity currency must be in base. e.g. If product is BTC-USD, the base currency will be BTC.
The isTimeSliced field, when provided under the parameters section, determines the order's time slicing behavior:
44890
-
- If isTimeSliced is set to true, the order will be executed using a time-sliced strategy.
44891
-
- If isTimeSliced is set to false, the order will be executed using a regular TWAP strategy without time slicing.
44892
-
- If isTimeSliced is not specified, the default behavior uses a regular TWAP strategy without time slicing.
44893
-
boundsControl:
44894
-
type: string
44895
-
description: |
44896
-
The boundsControl field, when provided under the parameters section, determines how strictly the TWAP algorithm adheres to the target fill progression.
44897
-
- It is optional but can be provided for a regular TWAP strategy.
description: The interval for the SteadyPace order, specified in conjunction with the interval unit.
50903
+
intervalUnit:
50904
+
type: string
50905
+
description: The unit of time for the interval. Defaults to "minute".
50906
+
enum:
50907
+
- second
50908
+
- minute
50909
+
- hour
50910
+
- day
50911
+
subOrderSize:
50912
+
type: string
50913
+
description: The size of each sub-order in the SteadyPace order.
50914
+
variance:
50915
+
type: number
50916
+
description: |
50917
+
Optional degree of randomization for sub-order sizes. Accepts a decimal value rounded to two decimal places between 0 and 1, representing the variation in the size of each sub-order.
50918
+
For example, a value of 0.20 indicates a 20% variance.
50860
50919
StellarAddress:
50861
50920
title: Stellar Address
50862
50921
type: object
@@ -51064,6 +51123,26 @@ components:
51064
51123
type: string
51065
51124
required:
51066
51125
- tokenName
51126
+
TWAPOrderParameters:
51127
+
type: object
51128
+
properties:
51129
+
isTimeSliced:
51130
+
type: boolean
51131
+
description: |
51132
+
The isTimeSliced field, when provided under the parameters section, determines the order's time slicing behavior:
51133
+
- If isTimeSliced is set to true, the order will be executed using a time-sliced strategy.
51134
+
- If isTimeSliced is set to false, the order will be executed using a regular TWAP strategy without time slicing.
51135
+
- If isTimeSliced is not specified, the default behavior uses a regular TWAP strategy without time slicing.
51136
+
boundsControl:
51137
+
type: string
51138
+
description: |
51139
+
The boundsControl field, when provided under the parameters section, determines how strictly the TWAP algorithm adheres to the target fill progression.
51140
+
- It is optional but can be provided for a regular TWAP strategy.
0 commit comments