@bluefin-exchange/pro-sdk 0.1.61 → 0.2.0-pre-release.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{example.js → cjs/example.js} +3 -0
- package/dist/cjs/example.js.map +1 -0
- package/dist/{index.js → cjs/index.js} +1 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/{src → cjs/src}/api.js +75 -1
- package/dist/cjs/src/api.js.map +1 -0
- package/dist/{src → cjs/src}/base.js +5 -1
- package/dist/cjs/src/base.js.map +1 -0
- package/dist/{src → cjs/src}/common.js +1 -0
- package/dist/cjs/src/common.js.map +1 -0
- package/dist/{src → cjs/src}/configuration.js +1 -0
- package/dist/cjs/src/configuration.js.map +1 -0
- package/dist/{src → cjs/src}/index.js +1 -0
- package/dist/cjs/src/index.js.map +1 -0
- package/dist/{src → cjs/src}/request-signer.js +11 -0
- package/dist/cjs/src/request-signer.js.map +1 -0
- package/dist/{src → cjs/src}/sdk.js +47 -4
- package/dist/cjs/src/sdk.js.map +1 -0
- package/dist/{src → cjs/src}/utils.js +1 -0
- package/dist/cjs/src/utils.js.map +1 -0
- package/dist/{src → cjs/src}/websocket.js +1 -0
- package/dist/cjs/src/websocket.js.map +1 -0
- package/dist/esm/example.js +218 -0
- package/dist/esm/example.js.map +1 -0
- package/dist/esm/index.js +18 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/src/api.js +4318 -0
- package/dist/esm/src/api.js.map +1 -0
- package/dist/esm/src/base.js +69 -0
- package/dist/esm/src/base.js.map +1 -0
- package/dist/esm/src/common.js +162 -0
- package/dist/esm/src/common.js.map +1 -0
- package/dist/esm/src/configuration.js +45 -0
- package/dist/esm/src/configuration.js.map +1 -0
- package/dist/esm/src/index.js +23 -0
- package/dist/esm/src/index.js.map +1 -0
- package/dist/esm/src/request-signer.js +231 -0
- package/dist/esm/src/request-signer.js.map +1 -0
- package/dist/esm/src/sdk.js +786 -0
- package/dist/esm/src/sdk.js.map +1 -0
- package/dist/esm/src/utils.js +10 -0
- package/dist/esm/src/utils.js.map +1 -0
- package/dist/esm/src/websocket.js +159 -0
- package/dist/esm/src/websocket.js.map +1 -0
- package/dist/types/example.d.ts +2 -0
- package/dist/types/example.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/{src → types/src}/api.d.ts +126 -47
- package/dist/types/src/api.d.ts.map +1 -0
- package/dist/{src → types/src}/base.d.ts +1 -0
- package/dist/types/src/base.d.ts.map +1 -0
- package/dist/{src → types/src}/common.d.ts +1 -0
- package/dist/types/src/common.d.ts.map +1 -0
- package/dist/{src → types/src}/configuration.d.ts +1 -0
- package/dist/types/src/configuration.d.ts.map +1 -0
- package/dist/{src → types/src}/index.d.ts +1 -0
- package/dist/types/src/index.d.ts.map +1 -0
- package/dist/{src → types/src}/request-signer.d.ts +6 -1
- package/dist/types/src/request-signer.d.ts.map +1 -0
- package/dist/{src → types/src}/sdk.d.ts +12 -1
- package/dist/types/src/sdk.d.ts.map +1 -0
- package/dist/{src → types/src}/utils.d.ts +1 -0
- package/dist/types/src/utils.d.ts.map +1 -0
- package/dist/{src → types/src}/websocket.d.ts +1 -0
- package/dist/types/src/websocket.d.ts.map +1 -0
- package/package.json +21 -7
- package/dist/example.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/example.ts +0 -323
- package/index.ts +0 -1
- package/openapitools.json +0 -24
- package/src/.openapi-generator/FILES +0 -128
- package/src/.openapi-generator/VERSION +0 -1
- package/src/.openapi-generator-ignore +0 -28
- package/src/README.md +0 -46
- package/src/api.ts +0 -8918
- package/src/base.ts +0 -86
- package/src/common.ts +0 -150
- package/src/configuration.ts +0 -115
- package/src/docs/Account.md +0 -64
- package/src/docs/AccountAggregatedTradeUpdate.md +0 -21
- package/src/docs/AccountAuthorizationRequest.md +0 -24
- package/src/docs/AccountAuthorizationRequestSignedFields.md +0 -28
- package/src/docs/AccountCommandFailureUpdate.md +0 -29
- package/src/docs/AccountDataApi.md +0 -374
- package/src/docs/AccountDataStream.md +0 -21
- package/src/docs/AccountEventReason.md +0 -25
- package/src/docs/AccountEventType.md +0 -21
- package/src/docs/AccountFundingRateHistory.md +0 -20
- package/src/docs/AccountFundingRateHistoryData.md +0 -30
- package/src/docs/AccountMarketPreference.md +0 -22
- package/src/docs/AccountOrderUpdate.md +0 -71
- package/src/docs/AccountPositionLeverageUpdateRequest.md +0 -22
- package/src/docs/AccountPositionLeverageUpdateRequestSignedFields.md +0 -30
- package/src/docs/AccountPositionUpdate.md +0 -47
- package/src/docs/AccountPreference.md +0 -24
- package/src/docs/AccountStreamMessage.md +0 -25
- package/src/docs/AccountStreamMessagePayload.md +0 -153
- package/src/docs/AccountSubscriptionMessage.md +0 -25
- package/src/docs/AccountTradeUpdate.md +0 -21
- package/src/docs/AccountTransactionUpdate.md +0 -31
- package/src/docs/AccountUpdate.md +0 -61
- package/src/docs/ActiveOrderUpdate.md +0 -65
- package/src/docs/AdjustIsolatedMarginRequest.md +0 -22
- package/src/docs/AdjustIsolatedMarginRequestSignedFields.md +0 -32
- package/src/docs/AdjustMarginOperation.md +0 -11
- package/src/docs/AffiliateIntervalOverview.md +0 -56
- package/src/docs/AffiliateLeaderDashboard.md +0 -38
- package/src/docs/AffiliateMetadata.md +0 -36
- package/src/docs/AffiliateMetadataFees.md +0 -31
- package/src/docs/AffiliateOnboardResponse.md +0 -22
- package/src/docs/AffiliateOverview.md +0 -46
- package/src/docs/AffiliateSummary.md +0 -30
- package/src/docs/Asset.md +0 -29
- package/src/docs/AssetConfig.md +0 -28
- package/src/docs/AuthApi.md +0 -243
- package/src/docs/AuthorizedWallet.md +0 -24
- package/src/docs/CampaignMetadata.md +0 -28
- package/src/docs/CampaignRewards.md +0 -18
- package/src/docs/CancelOrdersRequest.md +0 -23
- package/src/docs/CancelOrdersResponse.md +0 -21
- package/src/docs/CandlePriceType.md +0 -14
- package/src/docs/CandlestickUpdate.md +0 -41
- package/src/docs/CommandFailureReasonCode.md +0 -24
- package/src/docs/ContractsConfig.md +0 -31
- package/src/docs/CreateOrderRequest.md +0 -36
- package/src/docs/CreateOrderRequestSignedFields.md +0 -40
- package/src/docs/CreateOrderResponse.md +0 -20
- package/src/docs/EpochConfigs.md +0 -34
- package/src/docs/EpochConfigsResponse.md +0 -24
- package/src/docs/EpochMetadata.md +0 -30
- package/src/docs/Error.md +0 -22
- package/src/docs/ExchangeApi.md +0 -473
- package/src/docs/ExchangeInfoResponse.md +0 -30
- package/src/docs/FailedCommandType.md +0 -12
- package/src/docs/FeeConfigs.md +0 -33
- package/src/docs/FundingRateEntry.md +0 -24
- package/src/docs/GetAffiliateIntervalOverview200Response.md +0 -26
- package/src/docs/GetAffiliateLeaderDashboard200Response.md +0 -26
- package/src/docs/GetAffiliateOverview200Response.md +0 -26
- package/src/docs/IntervalMetadata.md +0 -28
- package/src/docs/IntervalRewards.md +0 -30
- package/src/docs/KlineInterval.md +0 -36
- package/src/docs/LoginRequest.md +0 -25
- package/src/docs/LoginResponse.md +0 -26
- package/src/docs/MarginType.md +0 -13
- package/src/docs/MarkPriceUpdate.md +0 -26
- package/src/docs/Market.md +0 -82
- package/src/docs/MarketDataStreamName.md +0 -142
- package/src/docs/MarketEventType.md +0 -25
- package/src/docs/MarketPriceUpdate.md +0 -26
- package/src/docs/MarketStatus.md +0 -16
- package/src/docs/MarketStreamMessage.md +0 -23
- package/src/docs/MarketStreamMessagePayload.md +0 -123
- package/src/docs/MarketSubscriptionMessage.md +0 -23
- package/src/docs/MarketSubscriptionStreams.md +0 -23
- package/src/docs/OnboardAffiliateRequest.md +0 -26
- package/src/docs/OnboardAffiliateRequestSocialUserNames.md +0 -27
- package/src/docs/OnboardRefereeRequest.md +0 -20
- package/src/docs/OpenOrderResponse.md +0 -64
- package/src/docs/Operators.md +0 -28
- package/src/docs/OraclePriceUpdate.md +0 -26
- package/src/docs/OrderCancelReason.md +0 -65
- package/src/docs/OrderCancellationFailureReason.md +0 -19
- package/src/docs/OrderCancellationUpdate.md +0 -35
- package/src/docs/OrderSide.md +0 -13
- package/src/docs/OrderStatus.md +0 -25
- package/src/docs/OrderTimeInForce.md +0 -15
- package/src/docs/OrderType.md +0 -29
- package/src/docs/OrderbookDepthResponse.md +0 -38
- package/src/docs/OrderbookDiffDepthUpdate.md +0 -30
- package/src/docs/OrderbookPartialDepthUpdate.md +0 -30
- package/src/docs/Position.md +0 -52
- package/src/docs/PositionSide.md +0 -13
- package/src/docs/RecentTradesUpdates.md +0 -20
- package/src/docs/RefereeOnboardResponse.md +0 -20
- package/src/docs/RefreshTokenRequest.md +0 -20
- package/src/docs/RefreshTokenResponse.md +0 -26
- package/src/docs/RewardsApi.md +0 -859
- package/src/docs/RewardsSummary.md +0 -26
- package/src/docs/SelfTradePreventionType.md +0 -15
- package/src/docs/StatsEntry.md +0 -26
- package/src/docs/StatsInterval.md +0 -14
- package/src/docs/StatsResponse.md +0 -20
- package/src/docs/StreamsApi.md +0 -126
- package/src/docs/SubscriptionResponseMessage.md +0 -23
- package/src/docs/SubscriptionType.md +0 -11
- package/src/docs/TickerAllUpdate.md +0 -20
- package/src/docs/TickerResponse.md +0 -82
- package/src/docs/TickerUpdate.md +0 -83
- package/src/docs/Trade.md +0 -54
- package/src/docs/TradeApi.md +0 -589
- package/src/docs/TradeSide.md +0 -13
- package/src/docs/TradeType.md +0 -15
- package/src/docs/TradingFees.md +0 -24
- package/src/docs/Transaction.md +0 -34
- package/src/docs/TransactionType.md +0 -25
- package/src/docs/UpdateAccountPreferenceRequest.md +0 -24
- package/src/docs/UpdateAffiliateFeeConfigRequest.md +0 -20
- package/src/docs/UserCampaignRewards.md +0 -48
- package/src/docs/WithdrawRequest.md +0 -22
- package/src/docs/WithdrawRequestSignedFields.md +0 -30
- package/src/git_push.sh +0 -57
- package/src/index.ts +0 -6
- package/src/request-signer.ts +0 -405
- package/src/sdk.ts +0 -982
- package/src/utils.ts +0 -6
- package/src/websocket.ts +0 -165
- package/tsconfig.json +0 -23
package/src/docs/TradeApi.md
DELETED
|
@@ -1,589 +0,0 @@
|
|
|
1
|
-
# TradeApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://api.sui-staging.bluefin.io*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**cancelOrders**](#cancelorders) | **PUT** /api/v1/trade/orders/cancel | /trade/orders/cancel|
|
|
8
|
-
|[**cancelStandbyOrders**](#cancelstandbyorders) | **PUT** /api/v1/trade/orders/cancel/standby | /trade/orders/cancel/standby|
|
|
9
|
-
|[**getOpenOrders**](#getopenorders) | **GET** /api/v1/trade/openOrders | /trade/openOrders|
|
|
10
|
-
|[**getStandbyOrders**](#getstandbyorders) | **GET** /api/v1/trade/standbyOrders | /trade/standbyOrders|
|
|
11
|
-
|[**postCreateOrder**](#postcreateorder) | **POST** /api/v1/trade/orders | /trade/orders|
|
|
12
|
-
|[**postWithdraw**](#postwithdraw) | **POST** /api/v1/trade/withdraw | /trade/withdraw|
|
|
13
|
-
|[**putAdjustIsolatedMargin**](#putadjustisolatedmargin) | **PUT** /api/v1/trade/adjustIsolatedMargin | /trade/adjustIsolatedMargin|
|
|
14
|
-
|[**putAuthorizeAccount**](#putauthorizeaccount) | **PUT** /api/v1/trade/accounts/authorize | /trade/accounts/authorize|
|
|
15
|
-
|[**putDeauthorizeAccount**](#putdeauthorizeaccount) | **PUT** /api/v1/trade/accounts/deauthorize | /trade/accounts/deauthorize|
|
|
16
|
-
|[**putLeverageUpdate**](#putleverageupdate) | **PUT** /api/v1/trade/leverage | /trade/leverage|
|
|
17
|
-
|
|
18
|
-
# **cancelOrders**
|
|
19
|
-
> cancelOrders(cancelOrdersRequest)
|
|
20
|
-
|
|
21
|
-
Cancel orders for a market using order hashes. - May be a single order hash or a list of order hashes. - All orders must belong to the same account. - If no order hashes are specified, then will cancel all orders for the given market - All orders being cancelled by request will receive the same time priority.
|
|
22
|
-
|
|
23
|
-
### Example
|
|
24
|
-
|
|
25
|
-
```typescript
|
|
26
|
-
import {
|
|
27
|
-
TradeApi,
|
|
28
|
-
Configuration,
|
|
29
|
-
CancelOrdersRequest
|
|
30
|
-
} from '@bluefin/api-client';
|
|
31
|
-
|
|
32
|
-
const configuration = new Configuration();
|
|
33
|
-
const apiInstance = new TradeApi(configuration);
|
|
34
|
-
|
|
35
|
-
let cancelOrdersRequest: CancelOrdersRequest; //
|
|
36
|
-
|
|
37
|
-
const { status, data } = await apiInstance.cancelOrders(
|
|
38
|
-
cancelOrdersRequest
|
|
39
|
-
);
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
### Parameters
|
|
43
|
-
|
|
44
|
-
|Name | Type | Description | Notes|
|
|
45
|
-
|------------- | ------------- | ------------- | -------------|
|
|
46
|
-
| **cancelOrdersRequest** | **CancelOrdersRequest**| | |
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
### Return type
|
|
50
|
-
|
|
51
|
-
void (empty response body)
|
|
52
|
-
|
|
53
|
-
### Authorization
|
|
54
|
-
|
|
55
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
56
|
-
|
|
57
|
-
### HTTP request headers
|
|
58
|
-
|
|
59
|
-
- **Content-Type**: application/json
|
|
60
|
-
- **Accept**: application/json
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
### HTTP response details
|
|
64
|
-
| Status code | Description | Response headers |
|
|
65
|
-
|-------------|-------------|------------------|
|
|
66
|
-
|**202** | Order cancellation submitted successfully. | - |
|
|
67
|
-
|**400** | Bad Request. Invalid body parameters. | - |
|
|
68
|
-
|**401** | Unauthorized. Authentication is required or invalid. | - |
|
|
69
|
-
|**403** | Forbidden. | - |
|
|
70
|
-
|**429** | Too Many Requests. The request was rate limited. | - |
|
|
71
|
-
|**500** | Internal Server Error. An unexpected error occurred on the server. | - |
|
|
72
|
-
|**503** | Service Unavailable. The service is currently unavailable. | - |
|
|
73
|
-
|
|
74
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
75
|
-
|
|
76
|
-
# **cancelStandbyOrders**
|
|
77
|
-
> CancelOrdersResponse cancelStandbyOrders(cancelOrdersRequest)
|
|
78
|
-
|
|
79
|
-
Cancel orders in standby for a market using order hashes. - May be a single order hash or a list of order hashes. - All orders must belong to the same account. - If no order hashes are specified, then will cancel all orders for the given market - All orders being cancelled by request will receive the same time priority.
|
|
80
|
-
|
|
81
|
-
### Example
|
|
82
|
-
|
|
83
|
-
```typescript
|
|
84
|
-
import {
|
|
85
|
-
TradeApi,
|
|
86
|
-
Configuration,
|
|
87
|
-
CancelOrdersRequest
|
|
88
|
-
} from '@bluefin/api-client';
|
|
89
|
-
|
|
90
|
-
const configuration = new Configuration();
|
|
91
|
-
const apiInstance = new TradeApi(configuration);
|
|
92
|
-
|
|
93
|
-
let cancelOrdersRequest: CancelOrdersRequest; //
|
|
94
|
-
|
|
95
|
-
const { status, data } = await apiInstance.cancelStandbyOrders(
|
|
96
|
-
cancelOrdersRequest
|
|
97
|
-
);
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
### Parameters
|
|
101
|
-
|
|
102
|
-
|Name | Type | Description | Notes|
|
|
103
|
-
|------------- | ------------- | ------------- | -------------|
|
|
104
|
-
| **cancelOrdersRequest** | **CancelOrdersRequest**| | |
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
### Return type
|
|
108
|
-
|
|
109
|
-
**CancelOrdersResponse**
|
|
110
|
-
|
|
111
|
-
### Authorization
|
|
112
|
-
|
|
113
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
114
|
-
|
|
115
|
-
### HTTP request headers
|
|
116
|
-
|
|
117
|
-
- **Content-Type**: application/json
|
|
118
|
-
- **Accept**: application/json
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
### HTTP response details
|
|
122
|
-
| Status code | Description | Response headers |
|
|
123
|
-
|-------------|-------------|------------------|
|
|
124
|
-
|**200** | Orders cancelled successfully. | - |
|
|
125
|
-
|**400** | Bad Request. Invalid body parameters. | - |
|
|
126
|
-
|**403** | Forbidden. | - |
|
|
127
|
-
|**401** | Unauthorized. Authentication is required or invalid. | - |
|
|
128
|
-
|**429** | Too Many Requests. The request was rate limited. | - |
|
|
129
|
-
|**500** | Internal Server Error. An unexpected error occurred on the server. | - |
|
|
130
|
-
|**503** | Service Unavailable. The service is currently unavailable. | - |
|
|
131
|
-
|
|
132
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
133
|
-
|
|
134
|
-
# **getOpenOrders**
|
|
135
|
-
> Array<OpenOrderResponse> getOpenOrders()
|
|
136
|
-
|
|
137
|
-
Retrieve details of open orders for a specific account.
|
|
138
|
-
|
|
139
|
-
### Example
|
|
140
|
-
|
|
141
|
-
```typescript
|
|
142
|
-
import {
|
|
143
|
-
TradeApi,
|
|
144
|
-
Configuration
|
|
145
|
-
} from '@bluefin/api-client';
|
|
146
|
-
|
|
147
|
-
const configuration = new Configuration();
|
|
148
|
-
const apiInstance = new TradeApi(configuration);
|
|
149
|
-
|
|
150
|
-
let symbol: string; //Filter by specific perpetual symbol (optional) (optional) (default to undefined)
|
|
151
|
-
|
|
152
|
-
const { status, data } = await apiInstance.getOpenOrders(
|
|
153
|
-
symbol
|
|
154
|
-
);
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
### Parameters
|
|
158
|
-
|
|
159
|
-
|Name | Type | Description | Notes|
|
|
160
|
-
|------------- | ------------- | ------------- | -------------|
|
|
161
|
-
| **symbol** | [**string**] | Filter by specific perpetual symbol (optional) | (optional) defaults to undefined|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
### Return type
|
|
165
|
-
|
|
166
|
-
**Array<OpenOrderResponse>**
|
|
167
|
-
|
|
168
|
-
### Authorization
|
|
169
|
-
|
|
170
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
171
|
-
|
|
172
|
-
### HTTP request headers
|
|
173
|
-
|
|
174
|
-
- **Content-Type**: Not defined
|
|
175
|
-
- **Accept**: application/json
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
### HTTP response details
|
|
179
|
-
| Status code | Description | Response headers |
|
|
180
|
-
|-------------|-------------|------------------|
|
|
181
|
-
|**200** | Open orders retrieved successfully. | - |
|
|
182
|
-
|**400** | Bad Request. The request was invalid or malformed. | - |
|
|
183
|
-
|**401** | Unauthorized. Authentication is required or invalid. | - |
|
|
184
|
-
|**404** | Not Found. The requested account address was not found. | - |
|
|
185
|
-
|**500** | Internal Server Error. An unexpected error occurred on the server. | - |
|
|
186
|
-
|
|
187
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
188
|
-
|
|
189
|
-
# **getStandbyOrders**
|
|
190
|
-
> Array<OpenOrderResponse> getStandbyOrders()
|
|
191
|
-
|
|
192
|
-
Retrieve details of orders in standby for a specific account.
|
|
193
|
-
|
|
194
|
-
### Example
|
|
195
|
-
|
|
196
|
-
```typescript
|
|
197
|
-
import {
|
|
198
|
-
TradeApi,
|
|
199
|
-
Configuration
|
|
200
|
-
} from '@bluefin/api-client';
|
|
201
|
-
|
|
202
|
-
const configuration = new Configuration();
|
|
203
|
-
const apiInstance = new TradeApi(configuration);
|
|
204
|
-
|
|
205
|
-
let symbol: string; //Filter by specific perpetual symbol (optional) (optional) (default to undefined)
|
|
206
|
-
|
|
207
|
-
const { status, data } = await apiInstance.getStandbyOrders(
|
|
208
|
-
symbol
|
|
209
|
-
);
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
### Parameters
|
|
213
|
-
|
|
214
|
-
|Name | Type | Description | Notes|
|
|
215
|
-
|------------- | ------------- | ------------- | -------------|
|
|
216
|
-
| **symbol** | [**string**] | Filter by specific perpetual symbol (optional) | (optional) defaults to undefined|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
### Return type
|
|
220
|
-
|
|
221
|
-
**Array<OpenOrderResponse>**
|
|
222
|
-
|
|
223
|
-
### Authorization
|
|
224
|
-
|
|
225
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
226
|
-
|
|
227
|
-
### HTTP request headers
|
|
228
|
-
|
|
229
|
-
- **Content-Type**: Not defined
|
|
230
|
-
- **Accept**: application/json
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
### HTTP response details
|
|
234
|
-
| Status code | Description | Response headers |
|
|
235
|
-
|-------------|-------------|------------------|
|
|
236
|
-
|**200** | Orders in standby retrieved successfully. | - |
|
|
237
|
-
|**400** | Bad Request. The request was invalid or malformed. | - |
|
|
238
|
-
|**401** | Unauthorized. Authentication is required or invalid. | - |
|
|
239
|
-
|**500** | Internal Server Error. An unexpected error occurred on the server. | - |
|
|
240
|
-
|
|
241
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
242
|
-
|
|
243
|
-
# **postCreateOrder**
|
|
244
|
-
> CreateOrderResponse postCreateOrder(createOrderRequest)
|
|
245
|
-
|
|
246
|
-
Submit a new order for execution.
|
|
247
|
-
|
|
248
|
-
### Example
|
|
249
|
-
|
|
250
|
-
```typescript
|
|
251
|
-
import {
|
|
252
|
-
TradeApi,
|
|
253
|
-
Configuration,
|
|
254
|
-
CreateOrderRequest
|
|
255
|
-
} from '@bluefin/api-client';
|
|
256
|
-
|
|
257
|
-
const configuration = new Configuration();
|
|
258
|
-
const apiInstance = new TradeApi(configuration);
|
|
259
|
-
|
|
260
|
-
let createOrderRequest: CreateOrderRequest; //
|
|
261
|
-
|
|
262
|
-
const { status, data } = await apiInstance.postCreateOrder(
|
|
263
|
-
createOrderRequest
|
|
264
|
-
);
|
|
265
|
-
```
|
|
266
|
-
|
|
267
|
-
### Parameters
|
|
268
|
-
|
|
269
|
-
|Name | Type | Description | Notes|
|
|
270
|
-
|------------- | ------------- | ------------- | -------------|
|
|
271
|
-
| **createOrderRequest** | **CreateOrderRequest**| | |
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
### Return type
|
|
275
|
-
|
|
276
|
-
**CreateOrderResponse**
|
|
277
|
-
|
|
278
|
-
### Authorization
|
|
279
|
-
|
|
280
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
281
|
-
|
|
282
|
-
### HTTP request headers
|
|
283
|
-
|
|
284
|
-
- **Content-Type**: application/json
|
|
285
|
-
- **Accept**: application/json
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
### HTTP response details
|
|
289
|
-
| Status code | Description | Response headers |
|
|
290
|
-
|-------------|-------------|------------------|
|
|
291
|
-
|**200** | Order creation successful. | - |
|
|
292
|
-
|**202** | Order creation submitted successfully. | - |
|
|
293
|
-
|**400** | Bad Request. The request was invalid or malformed. | - |
|
|
294
|
-
|**401** | Unauthorized. Authentication is required or invalid. Signature is invalid | - |
|
|
295
|
-
|**403** | Forbidden. | - |
|
|
296
|
-
|**404** | Not Found. The requested account was not found. | - |
|
|
297
|
-
|**429** | Too Many Requests. The request was rate limited. | - |
|
|
298
|
-
|**500** | Internal Server Error. An unexpected error occurred on the server. | - |
|
|
299
|
-
|**503** | Service Unavailable. The service is currently unavailable. | - |
|
|
300
|
-
|
|
301
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
302
|
-
|
|
303
|
-
# **postWithdraw**
|
|
304
|
-
> postWithdraw(withdrawRequest)
|
|
305
|
-
|
|
306
|
-
Initiates a withdraw action to remove some amount of funds from a user\'s account.
|
|
307
|
-
|
|
308
|
-
### Example
|
|
309
|
-
|
|
310
|
-
```typescript
|
|
311
|
-
import {
|
|
312
|
-
TradeApi,
|
|
313
|
-
Configuration,
|
|
314
|
-
WithdrawRequest
|
|
315
|
-
} from '@bluefin/api-client';
|
|
316
|
-
|
|
317
|
-
const configuration = new Configuration();
|
|
318
|
-
const apiInstance = new TradeApi(configuration);
|
|
319
|
-
|
|
320
|
-
let withdrawRequest: WithdrawRequest; //
|
|
321
|
-
|
|
322
|
-
const { status, data } = await apiInstance.postWithdraw(
|
|
323
|
-
withdrawRequest
|
|
324
|
-
);
|
|
325
|
-
```
|
|
326
|
-
|
|
327
|
-
### Parameters
|
|
328
|
-
|
|
329
|
-
|Name | Type | Description | Notes|
|
|
330
|
-
|------------- | ------------- | ------------- | -------------|
|
|
331
|
-
| **withdrawRequest** | **WithdrawRequest**| | |
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
### Return type
|
|
335
|
-
|
|
336
|
-
void (empty response body)
|
|
337
|
-
|
|
338
|
-
### Authorization
|
|
339
|
-
|
|
340
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
341
|
-
|
|
342
|
-
### HTTP request headers
|
|
343
|
-
|
|
344
|
-
- **Content-Type**: application/json
|
|
345
|
-
- **Accept**: application/json
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
### HTTP response details
|
|
349
|
-
| Status code | Description | Response headers |
|
|
350
|
-
|-------------|-------------|------------------|
|
|
351
|
-
|**202** | Withdraw request submitted successfully. | - |
|
|
352
|
-
|**400** | Bad Request. The request was invalid or malformed. | - |
|
|
353
|
-
|**401** | Unauthorized. Authentication is required or invalid. Signature is invalid | - |
|
|
354
|
-
|**403** | Forbidden. | - |
|
|
355
|
-
|**404** | Not Found. The requested resource was not found. | - |
|
|
356
|
-
|**429** | Too Many Requests. The request was rate limited. | - |
|
|
357
|
-
|**500** | Internal Server Error. An unexpected error occurred on the server. | - |
|
|
358
|
-
|**503** | Service Unavailable. The service is currently unavailable. | - |
|
|
359
|
-
|
|
360
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
361
|
-
|
|
362
|
-
# **putAdjustIsolatedMargin**
|
|
363
|
-
> putAdjustIsolatedMargin(adjustIsolatedMarginRequest)
|
|
364
|
-
|
|
365
|
-
Adjust margin for an isolated position on a specific market.
|
|
366
|
-
|
|
367
|
-
### Example
|
|
368
|
-
|
|
369
|
-
```typescript
|
|
370
|
-
import {
|
|
371
|
-
TradeApi,
|
|
372
|
-
Configuration,
|
|
373
|
-
AdjustIsolatedMarginRequest
|
|
374
|
-
} from '@bluefin/api-client';
|
|
375
|
-
|
|
376
|
-
const configuration = new Configuration();
|
|
377
|
-
const apiInstance = new TradeApi(configuration);
|
|
378
|
-
|
|
379
|
-
let adjustIsolatedMarginRequest: AdjustIsolatedMarginRequest; //
|
|
380
|
-
|
|
381
|
-
const { status, data } = await apiInstance.putAdjustIsolatedMargin(
|
|
382
|
-
adjustIsolatedMarginRequest
|
|
383
|
-
);
|
|
384
|
-
```
|
|
385
|
-
|
|
386
|
-
### Parameters
|
|
387
|
-
|
|
388
|
-
|Name | Type | Description | Notes|
|
|
389
|
-
|------------- | ------------- | ------------- | -------------|
|
|
390
|
-
| **adjustIsolatedMarginRequest** | **AdjustIsolatedMarginRequest**| | |
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
### Return type
|
|
394
|
-
|
|
395
|
-
void (empty response body)
|
|
396
|
-
|
|
397
|
-
### Authorization
|
|
398
|
-
|
|
399
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
400
|
-
|
|
401
|
-
### HTTP request headers
|
|
402
|
-
|
|
403
|
-
- **Content-Type**: application/json
|
|
404
|
-
- **Accept**: application/json
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
### HTTP response details
|
|
408
|
-
| Status code | Description | Response headers |
|
|
409
|
-
|-------------|-------------|------------------|
|
|
410
|
-
|**202** | Adjust margin request sent successfully. | - |
|
|
411
|
-
|**400** | Bad Request. The request was invalid or malformed. | - |
|
|
412
|
-
|**401** | Unauthorized. Authentication is required or invalid. Signature is invalid | - |
|
|
413
|
-
|**403** | Forbidden. | - |
|
|
414
|
-
|**404** | Not Found. The requested account was not found. | - |
|
|
415
|
-
|**500** | Internal Server Error. An unexpected error occurred on the server. | - |
|
|
416
|
-
|**503** | Service Unavailable. The service is currently unavailable. | - |
|
|
417
|
-
|
|
418
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
419
|
-
|
|
420
|
-
# **putAuthorizeAccount**
|
|
421
|
-
> putAuthorizeAccount(accountAuthorizationRequest)
|
|
422
|
-
|
|
423
|
-
Authorizes an account to trade, perform liquidations and more, on behalf of another account.
|
|
424
|
-
|
|
425
|
-
### Example
|
|
426
|
-
|
|
427
|
-
```typescript
|
|
428
|
-
import {
|
|
429
|
-
TradeApi,
|
|
430
|
-
Configuration,
|
|
431
|
-
AccountAuthorizationRequest
|
|
432
|
-
} from '@bluefin/api-client';
|
|
433
|
-
|
|
434
|
-
const configuration = new Configuration();
|
|
435
|
-
const apiInstance = new TradeApi(configuration);
|
|
436
|
-
|
|
437
|
-
let accountAuthorizationRequest: AccountAuthorizationRequest; //
|
|
438
|
-
|
|
439
|
-
const { status, data } = await apiInstance.putAuthorizeAccount(
|
|
440
|
-
accountAuthorizationRequest
|
|
441
|
-
);
|
|
442
|
-
```
|
|
443
|
-
|
|
444
|
-
### Parameters
|
|
445
|
-
|
|
446
|
-
|Name | Type | Description | Notes|
|
|
447
|
-
|------------- | ------------- | ------------- | -------------|
|
|
448
|
-
| **accountAuthorizationRequest** | **AccountAuthorizationRequest**| | |
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
### Return type
|
|
452
|
-
|
|
453
|
-
void (empty response body)
|
|
454
|
-
|
|
455
|
-
### Authorization
|
|
456
|
-
|
|
457
|
-
No authorization required
|
|
458
|
-
|
|
459
|
-
### HTTP request headers
|
|
460
|
-
|
|
461
|
-
- **Content-Type**: application/json
|
|
462
|
-
- **Accept**: application/json
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
### HTTP response details
|
|
466
|
-
| Status code | Description | Response headers |
|
|
467
|
-
|-------------|-------------|------------------|
|
|
468
|
-
|**202** | Authorize Account request submitted successfully | - |
|
|
469
|
-
|**400** | Bad Request. The request was invalid or malformed. | - |
|
|
470
|
-
|**401** | Unauthorized. Authentication is required or invalid. Signature is invalid | - |
|
|
471
|
-
|**500** | Internal Server Error. An unexpected error occurred on the server. | - |
|
|
472
|
-
|**503** | Service Unavailable. The service is currently unavailable. | - |
|
|
473
|
-
|
|
474
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
475
|
-
|
|
476
|
-
# **putDeauthorizeAccount**
|
|
477
|
-
> putDeauthorizeAccount(accountAuthorizationRequest)
|
|
478
|
-
|
|
479
|
-
Deauthorizes an account to trade, perform liquidations and more, on behalf of another account.
|
|
480
|
-
|
|
481
|
-
### Example
|
|
482
|
-
|
|
483
|
-
```typescript
|
|
484
|
-
import {
|
|
485
|
-
TradeApi,
|
|
486
|
-
Configuration,
|
|
487
|
-
AccountAuthorizationRequest
|
|
488
|
-
} from '@bluefin/api-client';
|
|
489
|
-
|
|
490
|
-
const configuration = new Configuration();
|
|
491
|
-
const apiInstance = new TradeApi(configuration);
|
|
492
|
-
|
|
493
|
-
let accountAuthorizationRequest: AccountAuthorizationRequest; //
|
|
494
|
-
|
|
495
|
-
const { status, data } = await apiInstance.putDeauthorizeAccount(
|
|
496
|
-
accountAuthorizationRequest
|
|
497
|
-
);
|
|
498
|
-
```
|
|
499
|
-
|
|
500
|
-
### Parameters
|
|
501
|
-
|
|
502
|
-
|Name | Type | Description | Notes|
|
|
503
|
-
|------------- | ------------- | ------------- | -------------|
|
|
504
|
-
| **accountAuthorizationRequest** | **AccountAuthorizationRequest**| | |
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
### Return type
|
|
508
|
-
|
|
509
|
-
void (empty response body)
|
|
510
|
-
|
|
511
|
-
### Authorization
|
|
512
|
-
|
|
513
|
-
No authorization required
|
|
514
|
-
|
|
515
|
-
### HTTP request headers
|
|
516
|
-
|
|
517
|
-
- **Content-Type**: application/json
|
|
518
|
-
- **Accept**: application/json
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
### HTTP response details
|
|
522
|
-
| Status code | Description | Response headers |
|
|
523
|
-
|-------------|-------------|------------------|
|
|
524
|
-
|**202** | Deauthorize Account request submitted successfully | - |
|
|
525
|
-
|**400** | Bad Request. The request was invalid or malformed. | - |
|
|
526
|
-
|**401** | Unauthorized. Authentication is required or invalid. Signature is invalid | - |
|
|
527
|
-
|**500** | Internal Server Error. An unexpected error occurred on the server. | - |
|
|
528
|
-
|**503** | Service Unavailable. The service is currently unavailable. | - |
|
|
529
|
-
|
|
530
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
531
|
-
|
|
532
|
-
# **putLeverageUpdate**
|
|
533
|
-
> putLeverageUpdate(accountPositionLeverageUpdateRequest)
|
|
534
|
-
|
|
535
|
-
Updates leverage for positions of a given market and closes all open orders for that market.
|
|
536
|
-
|
|
537
|
-
### Example
|
|
538
|
-
|
|
539
|
-
```typescript
|
|
540
|
-
import {
|
|
541
|
-
TradeApi,
|
|
542
|
-
Configuration,
|
|
543
|
-
AccountPositionLeverageUpdateRequest
|
|
544
|
-
} from '@bluefin/api-client';
|
|
545
|
-
|
|
546
|
-
const configuration = new Configuration();
|
|
547
|
-
const apiInstance = new TradeApi(configuration);
|
|
548
|
-
|
|
549
|
-
let accountPositionLeverageUpdateRequest: AccountPositionLeverageUpdateRequest; //
|
|
550
|
-
|
|
551
|
-
const { status, data } = await apiInstance.putLeverageUpdate(
|
|
552
|
-
accountPositionLeverageUpdateRequest
|
|
553
|
-
);
|
|
554
|
-
```
|
|
555
|
-
|
|
556
|
-
### Parameters
|
|
557
|
-
|
|
558
|
-
|Name | Type | Description | Notes|
|
|
559
|
-
|------------- | ------------- | ------------- | -------------|
|
|
560
|
-
| **accountPositionLeverageUpdateRequest** | **AccountPositionLeverageUpdateRequest**| | |
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
### Return type
|
|
564
|
-
|
|
565
|
-
void (empty response body)
|
|
566
|
-
|
|
567
|
-
### Authorization
|
|
568
|
-
|
|
569
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
570
|
-
|
|
571
|
-
### HTTP request headers
|
|
572
|
-
|
|
573
|
-
- **Content-Type**: application/json
|
|
574
|
-
- **Accept**: application/json
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
### HTTP response details
|
|
578
|
-
| Status code | Description | Response headers |
|
|
579
|
-
|-------------|-------------|------------------|
|
|
580
|
-
|**202** | Leverage update request sent successfully. | - |
|
|
581
|
-
|**400** | Bad Request. The request was invalid or malformed. | - |
|
|
582
|
-
|**401** | Unauthorized. Authentication is required or invalid. Signature is invalid | - |
|
|
583
|
-
|**403** | Forbidden. | - |
|
|
584
|
-
|**404** | Not Found. The requested account was not found. | - |
|
|
585
|
-
|**500** | Internal Server Error. An unexpected error occurred on the server. | - |
|
|
586
|
-
|**503** | Service Unavailable. The service is currently unavailable. | - |
|
|
587
|
-
|
|
588
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
589
|
-
|
package/src/docs/TradeSide.md
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# TradeSide
|
|
2
|
-
|
|
3
|
-
Trade side based on the user order in this trade.
|
|
4
|
-
|
|
5
|
-
## Enum
|
|
6
|
-
|
|
7
|
-
* `Long` (value: `'LONG'`)
|
|
8
|
-
|
|
9
|
-
* `Short` (value: `'SHORT'`)
|
|
10
|
-
|
|
11
|
-
* `Unspecified` (value: `'UNSPECIFIED'`)
|
|
12
|
-
|
|
13
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/src/docs/TradeType.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# TradeType
|
|
2
|
-
|
|
3
|
-
Type of trade.
|
|
4
|
-
|
|
5
|
-
## Enum
|
|
6
|
-
|
|
7
|
-
* `Order` (value: `'ORDER'`)
|
|
8
|
-
|
|
9
|
-
* `Liquidation` (value: `'LIQUIDATION'`)
|
|
10
|
-
|
|
11
|
-
* `Deleverage` (value: `'DELEVERAGE'`)
|
|
12
|
-
|
|
13
|
-
* `Unspecified` (value: `'UNSPECIFIED'`)
|
|
14
|
-
|
|
15
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/src/docs/TradingFees.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# TradingFees
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**makerFeeE9** | **string** | The Account Maker Fee (e9 format). | [default to undefined]
|
|
9
|
-
**takerFeeE9** | **string** | The Account Taker Fee (e9 format). | [default to undefined]
|
|
10
|
-
**isApplied** | **boolean** | Are the fees applied on the account? | [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { TradingFees } from '@bluefin/api-client';
|
|
16
|
-
|
|
17
|
-
const instance: TradingFees = {
|
|
18
|
-
makerFeeE9,
|
|
19
|
-
takerFeeE9,
|
|
20
|
-
isApplied,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/src/docs/Transaction.md
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# Transaction
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | Transaction ID. | [default to undefined]
|
|
9
|
-
**symbol** | **string** | Market address. | [optional] [default to undefined]
|
|
10
|
-
**type** | [**TransactionType**](TransactionType.md) | | [default to undefined]
|
|
11
|
-
**amountE9** | **string** | Amount in e9 format (positive or negative). | [default to undefined]
|
|
12
|
-
**status** | **string** | Transaction status (SUCCESS, REJECTED). | [optional] [default to undefined]
|
|
13
|
-
**assetSymbol** | **string** | Asset bank address. | [default to undefined]
|
|
14
|
-
**tradeId** | **string** | Trade ID | [optional] [default to undefined]
|
|
15
|
-
**executedAtMillis** | **number** | Transaction timestamp in milliseconds since Unix epoch. | [default to undefined]
|
|
16
|
-
|
|
17
|
-
## Example
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
import { Transaction } from '@bluefin/api-client';
|
|
21
|
-
|
|
22
|
-
const instance: Transaction = {
|
|
23
|
-
id,
|
|
24
|
-
symbol,
|
|
25
|
-
type,
|
|
26
|
-
amountE9,
|
|
27
|
-
status,
|
|
28
|
-
assetSymbol,
|
|
29
|
-
tradeId,
|
|
30
|
-
executedAtMillis,
|
|
31
|
-
};
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# TransactionType
|
|
2
|
-
|
|
3
|
-
Transaction type (what caused the change in the asset balance).
|
|
4
|
-
|
|
5
|
-
## Enum
|
|
6
|
-
|
|
7
|
-
* `Transfer` (value: `'TRANSFER'`)
|
|
8
|
-
|
|
9
|
-
* `Deposit` (value: `'DEPOSIT'`)
|
|
10
|
-
|
|
11
|
-
* `Withdraw` (value: `'WITHDRAW'`)
|
|
12
|
-
|
|
13
|
-
* `RealizedPnl` (value: `'REALIZED_PNL'`)
|
|
14
|
-
|
|
15
|
-
* `FundingFee` (value: `'FUNDING_FEE'`)
|
|
16
|
-
|
|
17
|
-
* `TradingFee` (value: `'TRADING_FEE'`)
|
|
18
|
-
|
|
19
|
-
* `TradingGasFee` (value: `'TRADING_GAS_FEE'`)
|
|
20
|
-
|
|
21
|
-
* `Bonus` (value: `'BONUS'`)
|
|
22
|
-
|
|
23
|
-
* `Unspecified` (value: `'UNSPECIFIED'`)
|
|
24
|
-
|
|
25
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|