Get Trading Limit
Get the trading limit for your account.
Domain: Accounts
Request
Section titled “Request”POST https://trade-uk.sandbox.zodiamarkets.com/api/3/user/limitHeaders
Section titled “Headers”| Header | Required | Description |
|---|---|---|
Rest-Key |
yes | API key for authentication |
Rest-Sign |
yes | Calculated API Signature |
| Field | Type | Required | Description |
|---|---|---|---|
tonce |
integer (int64) | yes | The current Unix time in microseconds. |
Responses
Section titled “Responses”Response with Limits
Section titled “Response with Limits”| Field | Type | Required | Description |
|---|---|---|---|
limit |
object | Limit block | |
limit.limitAmount |
integer | Current Limit amount assigned — Default: “2000000” | |
limit.exposureAmount |
integer | Current Exposure (used amount) — Default: 0 | |
limit.isNetSettlementMode |
boolean | Is the remaining limit calculated on net or gross settlement bases — Default: true | |
limit.limitCurrency |
string | Default USD — Default: “USD” | |
limit.exposureCurrency |
string | Default USD — Default: “USD” | |
limit.limitUtilisationPercentage |
integer | Utilization of current limit in percentage terms — Default: 0 | |
timestamp |
string | ||
resultCode |
string |
Response Without Limitis
Section titled “Response Without Limitis”| Field | Type | Required | Description |
|---|---|---|---|
limit |
object | ||
timestamp |
string | ||
resultCode |
string |
| Field | Type | Required | Description |
|---|---|---|---|
resultCode |
string | ||
timestamp |
string |
| Field | Type | Required | Description |
|---|---|---|---|
timestamp |
string | ||
resultCode |
string |
| Field | Type | Required | Description |
|---|---|---|---|
timestamp |
string | ||
resultCode |
string |
| Field | Type | Required | Description |
|---|---|---|---|
apiVersion |
string | ||
error |
string | ||
timestamp |
integer | Default: 0 |
| Field | Type | Required | Description |
|---|---|---|---|
resultCode |
string | ||
timestamp |
string |