293 lines
47 KiB
Markdown
293 lines
47 KiB
Markdown
|
|
# Endpoint maps
|
|
|
|
[][1]
|
|
|
|
Each REST client is a JavaScript class, which provides functions individually mapped to each endpoint available in the exchange's API offering.
|
|
|
|
The following table shows all methods available in each REST client, whether the method requires authentication (automatically handled if API keys are provided), as well as the exact endpoint each method is connected to.
|
|
|
|
This can be used to easily find which method to call, once you have [found which endpoint you're looking to use](https://github.com/tiagosiebler/awesome-crypto-examples/wiki/How-to-find-SDK-functions-that-match-API-docs-endpoint).
|
|
|
|
All REST clients are in the [src](/src) folder. For usage examples, make sure to check the [examples](/examples) folder.
|
|
|
|
List of clients:
|
|
- [rest-client-v2](#rest-client-v2ts)
|
|
|
|
|
|
If anything is missing or wrong, please open an issue or let us know in our [Node.js Traders](https://t.me/nodetraders) telegram group!
|
|
|
|
## How to use table
|
|
|
|
Table consists of 4 parts:
|
|
|
|
- Function name
|
|
- AUTH
|
|
- HTTP Method
|
|
- Endpoint
|
|
|
|
**Function name** is the name of the function that can be called through the SDK. Check examples folder in the repo for more help on how to use them!
|
|
|
|
**AUTH** is a boolean value that indicates if the function requires authentication - which means you need to pass your API key and secret to the SDK.
|
|
|
|
**HTTP Method** shows HTTP method that the function uses to call the endpoint. Sometimes endpoints can have same URL, but different HTTP method so you can use this column to differentiate between them.
|
|
|
|
**Endpoint** is the URL that the function uses to call the endpoint. Best way to find exact function you need for the endpoint is to search for URL in this table and find corresponding function name.
|
|
|
|
|
|
# rest-client-v2.ts
|
|
|
|
This table includes all endpoints from the official Exchange API docs and corresponding SDK functions for each endpoint that are found in [rest-client-v2.ts](/src/rest-client-v2.ts).
|
|
|
|
| Function | AUTH | HTTP Method | Endpoint |
|
|
| -------- | :------: | :------: | -------- |
|
|
| [getAnnouncements()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L39) | | GET | `/api/v2/public/annoucements` |
|
|
| [getServerTime()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L49) | | GET | `/api/v2/public/time` |
|
|
| [getTradeRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L53) | :closed_lock_with_key: | GET | `/api/v2/common/trade-rate` |
|
|
| [getSpotTransactionRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L63) | :closed_lock_with_key: | GET | `/api/v2/tax/spot-record` |
|
|
| [getFuturesTransactionRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L67) | :closed_lock_with_key: | GET | `/api/v2/tax/future-record` |
|
|
| [getMarginTransactionRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L71) | :closed_lock_with_key: | GET | `/api/v2/tax/margin-record` |
|
|
| [getP2PTransactionRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L75) | :closed_lock_with_key: | GET | `/api/v2/tax/p2p-record` |
|
|
| [getP2PMerchantList()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L85) | :closed_lock_with_key: | GET | `/api/v2/p2p/merchantList` |
|
|
| [getP2PMerchantInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L89) | :closed_lock_with_key: | GET | `/api/v2/p2p/merchantInfo` |
|
|
| [getP2PMerchantOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L93) | :closed_lock_with_key: | GET | `/api/v2/p2p/orderList` |
|
|
| [getP2PMerchantAdvertisementList()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L97) | :closed_lock_with_key: | GET | `/api/v2/p2p/advList` |
|
|
| [getSpotWhaleNetFlowData()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L107) | :closed_lock_with_key: | GET | `/api/v2/spot/market/whale-net-flow` |
|
|
| [getFuturesActiveTakerBuySellVolumeData()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L111) | | GET | `/api/v2/mix/market/taker-buy-sell` |
|
|
| [getFuturesActiveLongShortPositionData()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L117) | | GET | `/api/v2/mix/market/position-long-short` |
|
|
| [getFuturesLongShortRatio()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L123) | | GET | `/api/v2/mix/market/long-short-ratio` |
|
|
| [getMarginLoanGrowthRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L127) | | GET | `/api/v2/mix/market/loan-growth` |
|
|
| [getIsolatedMarginBorrowingRatio()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L131) | | GET | `/api/v2/mix/market/isolated-borrow-rate` |
|
|
| [getFuturesActiveBuySellVolumeData()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L135) | | GET | `/api/v2/mix/market/long-short` |
|
|
| [getSpotFundFlow()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L139) | | GET | `/api/v2/spot/market/fund-flow` |
|
|
| [getTradeDataSupportSymbols()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L143) | | GET | `/api/v2/spot/market/support-symbols` |
|
|
| [getSpotFundNetFlowData()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L147) | | GET | `/api/v2/spot/market/fund-net-flow` |
|
|
| [getFuturesActiveLongShortAccountData()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L151) | | GET | `/api/v2/mix/market/account-long-short` |
|
|
| [createVirtualSubaccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L163) | :closed_lock_with_key: | POST | `/api/v2/user/create-virtual-subaccount` |
|
|
| [modifyVirtualSubaccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L167) | :closed_lock_with_key: | POST | `/api/v2/user/modify-virtual-subaccount` |
|
|
| [batchCreateVirtualSubaccountAndAPIKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L171) | :closed_lock_with_key: | POST | `/api/v2/user/batch-create-subaccount-and-apikey` |
|
|
| [getVirtualSubaccounts()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L180) | :closed_lock_with_key: | GET | `/api/v2/user/virtual-subaccount-list` |
|
|
| [createVirtualSubaccountAPIKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L184) | :closed_lock_with_key: | POST | `/api/v2/user/create-virtual-subaccount-apikey` |
|
|
| [modifyVirtualSubaccountAPIKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L191) | :closed_lock_with_key: | POST | `/api/v2/user/modify-virtual-subaccount-apikey` |
|
|
| [getVirtualSubaccountAPIKeys()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L198) | :closed_lock_with_key: | GET | `/api/v2/user/virtual-subaccount-apikey-list` |
|
|
| [getFundingAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L210) | :closed_lock_with_key: | GET | `/api/v2/account/funding-assets` |
|
|
| [getBotAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L214) | :closed_lock_with_key: | GET | `/api/v2/account/bot-assets` |
|
|
| [getBalances()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L219) | :closed_lock_with_key: | GET | `/api/v2/account/all-account-balance` |
|
|
| [getConvertCoins()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L229) | :closed_lock_with_key: | GET | `/api/v2/convert/currencies` |
|
|
| [getConvertQuotedPrice()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L233) | :closed_lock_with_key: | GET | `/api/v2/convert/quoted-price` |
|
|
| [convert()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L237) | :closed_lock_with_key: | POST | `/api/v2/convert/trade` |
|
|
| [getConvertHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L241) | :closed_lock_with_key: | GET | `/api/v2/convert/convert-record` |
|
|
| [getConvertBGBCoins()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L251) | :closed_lock_with_key: | GET | `/api/v2/convert/bgb-convert-coin-list` |
|
|
| [convertBGB()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L255) | :closed_lock_with_key: | POST | `/api/v2/convert/bgb-convert` |
|
|
| [getConvertBGBHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L259) | :closed_lock_with_key: | GET | `/api/v2/convert/bgb-convert-records` |
|
|
| [getSpotCoinInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L277) | :closed_lock_with_key: | GET | `/api/v2/spot/public/coins` |
|
|
| [getSpotSymbolInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L281) | :closed_lock_with_key: | GET | `/api/v2/spot/public/symbols` |
|
|
| [getSpotVIPFeeRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L285) | :closed_lock_with_key: | GET | `/api/v2/spot/market/vip-fee-rate` |
|
|
| [getSpotTicker()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L289) | :closed_lock_with_key: | GET | `/api/v2/spot/market/tickers` |
|
|
| [getSpotMergeDepth()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L293) | :closed_lock_with_key: | GET | `/api/v2/spot/market/merge-depth` |
|
|
| [getSpotOrderBookDepth()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L297) | :closed_lock_with_key: | GET | `/api/v2/spot/market/orderbook` |
|
|
| [getSpotCandles()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L301) | :closed_lock_with_key: | GET | `/api/v2/spot/market/candles` |
|
|
| [getSpotHistoricCandles()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L305) | :closed_lock_with_key: | GET | `/api/v2/spot/market/history-candles` |
|
|
| [getSpotRecentTrades()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L309) | :closed_lock_with_key: | GET | `/api/v2/spot/market/fills` |
|
|
| [getSpotHistoricTrades()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L313) | :closed_lock_with_key: | GET | `/api/v2/spot/market/fills-history` |
|
|
| [spotSubmitOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L323) | :closed_lock_with_key: | POST | `/api/v2/spot/trade/place-order` |
|
|
| [spotCancelOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L327) | :closed_lock_with_key: | POST | `/api/v2/spot/trade/cancel-order` |
|
|
| [spotBatchSubmitOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L331) | :closed_lock_with_key: | POST | `/api/v2/spot/trade/batch-orders` |
|
|
| [spotBatchCancelOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L335) | :closed_lock_with_key: | POST | `/api/v2/spot/trade/batch-cancel-order` |
|
|
| [spotCancelSymbolOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L339) | :closed_lock_with_key: | POST | `/api/v2/spot/trade/cancel-symbol-order` |
|
|
| [getSpotOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L343) | :closed_lock_with_key: | GET | `/api/v2/spot/trade/orderInfo` |
|
|
| [getSpotOpenOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L347) | :closed_lock_with_key: | GET | `/api/v2/spot/trade/unfilled-orders` |
|
|
| [getSpotHistoricOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L351) | :closed_lock_with_key: | GET | `/api/v2/spot/trade/history-orders` |
|
|
| [getSpotFills()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L355) | :closed_lock_with_key: | GET | `/api/v2/spot/trade/fills` |
|
|
| [spotSubmitPlanOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L365) | :closed_lock_with_key: | POST | `/api/v2/spot/trade/place-plan-order` |
|
|
| [spotModifyPlanOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L369) | :closed_lock_with_key: | POST | `/api/v2/spot/trade/modify-plan-order` |
|
|
| [spotCancelPlanOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L373) | :closed_lock_with_key: | POST | `/api/v2/spot/trade/cancel-plan-order` |
|
|
| [getSpotCurrentPlanOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L377) | :closed_lock_with_key: | GET | `/api/v2/spot/trade/current-plan-order` |
|
|
| [getSpotPlanSubOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L381) | :closed_lock_with_key: | GET | `/api/v2/spot/trade/plan-sub-order` |
|
|
| [getSpotHistoricPlanOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L385) | :closed_lock_with_key: | GET | `/api/v2/spot/trade/history-plan-order` |
|
|
| [spotCancelPlanOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L389) | :closed_lock_with_key: | POST | `/api/v2/spot/trade/batch-cancel-plan-order` |
|
|
| [getSpotAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L402) | :closed_lock_with_key: | GET | `/api/v2/spot/account/info` |
|
|
| [getSpotAccountAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L406) | :closed_lock_with_key: | GET | `/api/v2/spot/account/assets` |
|
|
| [getSpotSubAccountAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L410) | :closed_lock_with_key: | GET | `/api/v2/spot/account/subaccount-assets` |
|
|
| [spotModifyDepositAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L414) | :closed_lock_with_key: | POST | `/api/v2/spot/wallet/modify-deposit-account` |
|
|
| [getSpotAccountBills()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L421) | :closed_lock_with_key: | GET | `/api/v2/spot/account/bills` |
|
|
| [spotTransfer()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L433) | :closed_lock_with_key: | POST | `/api/v2/spot/wallet/transfer` |
|
|
| [getSpotTransferableCoins()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L437) | :closed_lock_with_key: | GET | `/api/v2/spot/wallet/transfer-coin-info` |
|
|
| [spotSubTransfer()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L441) | :closed_lock_with_key: | POST | `/api/v2/spot/wallet/subaccount-transfer` |
|
|
| [getSpotTransferHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L445) | :closed_lock_with_key: | GET | `/api/v2/spot/account/transferRecords` |
|
|
| [spotSwitchBGBDeduct()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L449) | :closed_lock_with_key: | POST | `/api/v2/spot/account/switch-deduct` |
|
|
| [spotWithdraw()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L453) | :closed_lock_with_key: | POST | `/api/v2/spot/wallet/withdrawal` |
|
|
| [getSpotDepositAddress()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L457) | :closed_lock_with_key: | GET | `/api/v2/spot/wallet/deposit-address` |
|
|
| [getSpotSubDepositAddress()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L461) | :closed_lock_with_key: | GET | `/api/v2/spot/wallet/subaccount-deposit-address` |
|
|
| [getSpotDepositHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L468) | :closed_lock_with_key: | GET | `/api/v2/spot/wallet/deposit-records` |
|
|
| [getSpotBGBDeductInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L472) | :closed_lock_with_key: | GET | `/api/v2/spot/account/deduct-info` |
|
|
| [spotCancelWithdrawal()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L476) | :closed_lock_with_key: | POST | `/api/v2/spot/wallet/cancel-withdrawal` |
|
|
| [getSpotWithdrawalHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L480) | :closed_lock_with_key: | GET | `/api/v2/spot/wallet/withdrawal-records` |
|
|
| [getSpotMainSubTransferRecord()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L484) | :closed_lock_with_key: | GET | `/api/v2/spot/account/sub-main-trans-record` |
|
|
| [getSubAccountDepositRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L491) | :closed_lock_with_key: | GET | `/api/v2/spot/wallet/subaccount-deposit-records` |
|
|
| [getFuturesVIPFeeRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L512) | | GET | `/api/v2/mix/market/vip-fee-rate` |
|
|
| [getFuturesTicker()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L516) | | GET | `/api/v2/mix/market/ticker` |
|
|
| [getFuturesAllTickers()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L520) | | GET | `/api/v2/mix/market/tickers` |
|
|
| [getFuturesMergeDepth()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L524) | | GET | `/api/v2/mix/market/merge-depth` |
|
|
| [getFuturesCandles()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L528) | | GET | `/api/v2/mix/market/candles` |
|
|
| [getFuturesHistoricCandles()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L534) | | GET | `/api/v2/mix/market/history-candles` |
|
|
| [getFuturesHistoricIndexPriceCandles()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L538) | | GET | `/api/v2/mix/market/history-index-candles` |
|
|
| [getFuturesHistoricMarkPriceCandles()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L544) | | GET | `/api/v2/mix/market/history-mark-candles` |
|
|
| [getFuturesRecentTrades()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L550) | | GET | `/api/v2/mix/market/fills` |
|
|
| [getFuturesHistoricTrades()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L554) | | GET | `/api/v2/mix/market/fills-history` |
|
|
| [getFuturesOpenInterest()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L558) | | GET | `/api/v2/mix/market/open-interest` |
|
|
| [getFuturesNextFundingTime()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L562) | | GET | `/api/v2/mix/market/funding-time` |
|
|
| [getFuturesSymbolPrice()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L566) | | GET | `/api/v2/mix/market/symbol-price` |
|
|
| [getFuturesHistoricFundingRates()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L570) | | GET | `/api/v2/mix/market/history-fund-rate` |
|
|
| [getFuturesCurrentFundingRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L574) | | GET | `/api/v2/mix/market/current-fund-rate` |
|
|
| [getFuturesContractConfig()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L578) | | GET | `/api/v2/mix/market/contracts` |
|
|
| [getFuturesAccountAsset()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L588) | :closed_lock_with_key: | GET | `/api/v2/mix/account/account` |
|
|
| [getFuturesAccountAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L592) | :closed_lock_with_key: | GET | `/api/v2/mix/account/accounts` |
|
|
| [getFuturesSubAccountAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L596) | :closed_lock_with_key: | GET | `/api/v2/mix/account/sub-account-assets` |
|
|
| [getFuturesOpenCount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L600) | :closed_lock_with_key: | GET | `/api/v2/mix/account/open-count` |
|
|
| [setFuturesLeverage()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L604) | :closed_lock_with_key: | POST | `/api/v2/mix/account/set-leverage` |
|
|
| [setFuturesPositionAutoMargin()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L608) | :closed_lock_with_key: | POST | `/api/v2/mix/account/set-auto-margin` |
|
|
| [setFuturesPositionMargin()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L612) | :closed_lock_with_key: | POST | `/api/v2/mix/account/set-margin` |
|
|
| [setFuturesMarginMode()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L616) | :closed_lock_with_key: | POST | `/api/v2/mix/account/set-margin-mode` |
|
|
| [setFuturesPositionMode()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L620) | :closed_lock_with_key: | POST | `/api/v2/mix/account/set-position-mode` |
|
|
| [getFuturesAccountBills()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L624) | :closed_lock_with_key: | GET | `/api/v2/mix/account/bill` |
|
|
| [getFuturesPositionTier()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L636) | | GET | `/api/v2/mix/market/query-position-lever` |
|
|
| [getFuturesPosition()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L640) | :closed_lock_with_key: | GET | `/api/v2/mix/position/single-position` |
|
|
| [getFuturesPositions()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L644) | :closed_lock_with_key: | GET | `/api/v2/mix/position/all-position` |
|
|
| [getFuturesHistoricPositions()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L648) | :closed_lock_with_key: | GET | `/api/v2/mix/position/history-position` |
|
|
| [futuresSubmitOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L658) | :closed_lock_with_key: | POST | `/api/v2/mix/order/place-order` |
|
|
| [futuresCancelOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L662) | :closed_lock_with_key: | POST | `/api/v2/mix/order/cancel-order` |
|
|
| [futuresSubmitReversal()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L666) | :closed_lock_with_key: | POST | `/api/v2/mix/order/click-backhand` |
|
|
| [futuresBatchSubmitOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L670) | :closed_lock_with_key: | POST | `/api/v2/mix/order/batch-place-order` |
|
|
| [futuresModifyOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L674) | :closed_lock_with_key: | POST | `/api/v2/mix/order/modify-order` |
|
|
| [futuresBatchCancelOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L678) | :closed_lock_with_key: | POST | `/api/v2/mix/order/batch-cancel-orders` |
|
|
| [futuresFlashClosePositions()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L682) | :closed_lock_with_key: | POST | `/api/v2/mix/order/close-positions` |
|
|
| [getFuturesOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L686) | :closed_lock_with_key: | GET | `/api/v2/mix/order/detail` |
|
|
| [getFuturesFills()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L690) | :closed_lock_with_key: | GET | `/api/v2/mix/order/fills` |
|
|
| [getFuturesHistoricOrderFills()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L694) | :closed_lock_with_key: | GET | `/api/v2/mix/order/fill-history` |
|
|
| [getFuturesOpenOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L698) | :closed_lock_with_key: | GET | `/api/v2/mix/order/orders-pending` |
|
|
| [getFuturesHistoricOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L702) | :closed_lock_with_key: | GET | `/api/v2/mix/order/orders-history` |
|
|
| [futuresCancelAllOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L706) | :closed_lock_with_key: | POST | `/api/v2/mix/order/cancel-all-orders` |
|
|
| [futuresSubmitPlanSubOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L716) | :closed_lock_with_key: | POST | `/api/v2/mix/order/plan-sub-order` |
|
|
| [futuresSubmitTPSLOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L720) | :closed_lock_with_key: | POST | `/api/v2/mix/order/place-tpsl-order` |
|
|
| [futuresSubmitPlanOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L724) | :closed_lock_with_key: | POST | `/api/v2/mix/order/place-plan-order` |
|
|
| [futuresModifyTPSLPOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L728) | :closed_lock_with_key: | POST | `/api/v2/mix/order/modify-tpsl-order` |
|
|
| [futuresModifyPlanOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L732) | :closed_lock_with_key: | POST | `/api/v2/mix/order/modify-plan-order` |
|
|
| [futuresCancelPlanOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L736) | :closed_lock_with_key: | POST | `/api/v2/mix/order/cancel-plan-order` |
|
|
| [getFuturesPlanOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L740) | :closed_lock_with_key: | GET | `/api/v2/mix/order/orders-plan-pending` |
|
|
| [getFuturesHistoricPlanOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L744) | :closed_lock_with_key: | GET | `/api/v2/mix/order/orders-plan-history` |
|
|
| [modifySubaccountEmail()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L762) | :closed_lock_with_key: | POST | `/api/v2/broker/account/modify-subaccount-email` |
|
|
| [getBrokerInfo()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L769) | :closed_lock_with_key: | GET | `/api/v2/broker/account/info` |
|
|
| [createSubaccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L773) | :closed_lock_with_key: | POST | `/api/v2/broker/account/create-subaccount` |
|
|
| [getSubaccounts()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L777) | :closed_lock_with_key: | GET | `/api/v2/broker/account/subaccount-list` |
|
|
| [modifySubaccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L781) | :closed_lock_with_key: | POST | `/api/v2/broker/account/modify-subaccount` |
|
|
| [getSubaccountEmail()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L785) | :closed_lock_with_key: | GET | `/api/v2/broker/account/subaccount-email` |
|
|
| [getSubaccountSpotAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L789) | :closed_lock_with_key: | GET | `/api/v2/broker/account/subaccount-spot-assets` |
|
|
| [getSubaccountFuturesAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L796) | :closed_lock_with_key: | GET | `/api/v2/broker/account/subaccount-future-assets` |
|
|
| [createSubaccountDepositAddress()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L803) | :closed_lock_with_key: | POST | `/api/v2/broker/account/subaccount-address` |
|
|
| [subaccountWithdrawal()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L810) | :closed_lock_with_key: | POST | `/api/v2/broker/account/subaccount-withdrawal` |
|
|
| [subaccountSetAutoTransfer()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L817) | :closed_lock_with_key: | POST | `/api/v2/broker/account/set-subaccount-autotransfer` |
|
|
| [subaccountDepositRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L824) | :closed_lock_with_key: | POST | `/api/v2/broker/subaccount-deposit` |
|
|
| [subaccountWithdrawalRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L828) | :closed_lock_with_key: | POST | `/api/v2/broker/subaccount-withdrawal` |
|
|
| [createSubaccountApiKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L838) | :closed_lock_with_key: | POST | `/api/v2/broker/manage/create-subaccount-apikey` |
|
|
| [getSubaccountApiKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L845) | :closed_lock_with_key: | GET | `/api/v2/broker/manage/subaccount-apikey-list` |
|
|
| [modifySubaccountApiKey()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L852) | :closed_lock_with_key: | POST | `/api/v2/broker/manage/modify-subaccount-apikey` |
|
|
| [getMarginCurrencies()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L873) | | GET | `/api/v2/margin/currencies` |
|
|
| [getMarginBorrowHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L883) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/borrow-history` |
|
|
| [getMarginRepayHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L894) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/repay-history` |
|
|
| [getMarginInterestHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L905) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/interest-history` |
|
|
| [getMarginLiquidationHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L916) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/liquidation-history` |
|
|
| [getMarginFinancialHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L927) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/financial-records` |
|
|
| [getMarginAccountAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L944) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/account/assets` |
|
|
| [marginBorrow()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L955) | :closed_lock_with_key: | POST | `/api/v2/margin/${marginType}/account/borrow` |
|
|
| [marginRepay()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L966) | :closed_lock_with_key: | POST | `/api/v2/margin/${marginType}/account/repay` |
|
|
| [getMarginRiskRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L977) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/account/risk-rate` |
|
|
| [getMarginMaxBorrowable()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L982) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/account/max-borrowable-amount` |
|
|
| [getMarginMaxTransferable()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L993) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/account/max-transfer-out-amount` |
|
|
| [getMarginInterestRateAndMaxBorrowable()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1004) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/interest-rate-and-limit` |
|
|
| [getMarginTierConfiguration()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1015) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/tier-data` |
|
|
| [marginFlashRepay()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1023) | :closed_lock_with_key: | POST | `/api/v2/margin/${marginType}/account/flash-repay` |
|
|
| [getMarginFlashRepayResult()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1034) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/account/query-flash-repay-status` |
|
|
| [marginSubmitOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1051) | :closed_lock_with_key: | POST | `/api/v2/margin/${marginType}/place-order` |
|
|
| [marginBatchSubmitOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1059) | :closed_lock_with_key: | POST | `/api/v2/margin/${marginType}/batch-place-order` |
|
|
| [marginCancelOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1070) | :closed_lock_with_key: | POST | `/api/v2/margin/${marginType}/cancel-order` |
|
|
| [marginBatchCancelOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1081) | :closed_lock_with_key: | POST | `/api/v2/margin/${marginType}/batch-cancel-order` |
|
|
| [getMarginOpenOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1092) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/open-orders` |
|
|
| [getMarginHistoricOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1100) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/history-orders` |
|
|
| [getMarginHistoricOrderFills()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1111) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/fills` |
|
|
| [getMarginLiquidationOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1119) | :closed_lock_with_key: | GET | `/api/v2/margin/${marginType}/liquidation-order` |
|
|
| [getFuturesTraderCurrentOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1146) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-trader/order-current-track` |
|
|
| [getFuturesTraderHistoryOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1153) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-trader/order-history-track` |
|
|
| [modifyFuturesTraderOrderTPSL()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1160) | :closed_lock_with_key: | POST | `/api/v2/copy/mix-trader/order-modify-tpsl` |
|
|
| [getFuturesTraderOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1167) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-trader/order-total-detail` |
|
|
| [getFuturesTraderProfitHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1171) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-trader/profit-history-summarys` |
|
|
| [getFuturesTraderProfitShareHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1175) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-trader/profit-history-details` |
|
|
| [closeFuturesTraderOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1184) | :closed_lock_with_key: | POST | `/api/v2/copy/mix-trader/order-close-positions` |
|
|
| [getFuturesTraderProfitShare()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1191) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-trader/profit-details` |
|
|
| [getFuturesTraderProfitShareGroup()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1195) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-trader/profits-group-coin-date` |
|
|
| [getFuturesTraderSymbolSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1202) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-trader/config-query-symbols` |
|
|
| [updateFuturesTraderSymbolSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1209) | :closed_lock_with_key: | POST | `/api/v2/copy/mix-trader/config-setting-symbols` |
|
|
| [updateFuturesTraderGlobalSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1216) | :closed_lock_with_key: | POST | `/api/v2/copy/mix-trader/config-settings-base` |
|
|
| [getFuturesTraderFollowers()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1223) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-trader/config-query-followers` |
|
|
| [removeFuturesTraderFollower()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1230) | :closed_lock_with_key: | POST | `/api/v2/copy/mix-trader/config-remove-follower` |
|
|
| [getFuturesFollowerCurrentOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1245) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-follower/query-current-orders` |
|
|
| [getFuturesFollowerHistoryOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1252) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-follower/query-history-orders` |
|
|
| [updateFuturesFollowerTPSL()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1259) | :closed_lock_with_key: | POST | `/api/v2/copy/mix-follower/setting-tpsl` |
|
|
| [updateFuturesFollowerSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1263) | :closed_lock_with_key: | POST | `/api/v2/copy/mix-follower/settings` |
|
|
| [getFuturesFollowerSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1267) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-follower/query-settings` |
|
|
| [closeFuturesFollowerPositions()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1271) | :closed_lock_with_key: | POST | `/api/v2/copy/mix-follower/close-positions` |
|
|
| [getFuturesFollowerTraders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1278) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-follower/query-traders` |
|
|
| [getFuturesFollowerFollowLimit()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1282) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-follower/query-quantity-limit` |
|
|
| [unfollowFuturesTrader()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1289) | :closed_lock_with_key: | POST | `/api/v2/copy/mix-follower/cancel-trader` |
|
|
| [getBrokerTraders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1301) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-broker/query-traders` |
|
|
| [getBrokerTradersHistoricalOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1305) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-broker/query-history-traces` |
|
|
| [getBrokerTradersPendingOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1312) | :closed_lock_with_key: | GET | `/api/v2/copy/mix-broker/query-current-traces` |
|
|
| [getSpotTraderProfit()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1327) | :closed_lock_with_key: | GET | `/api/v2/copy/spot-trader/profit-summarys` |
|
|
| [getSpotTraderHistoryProfit()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1331) | :closed_lock_with_key: | GET | `/api/v2/copy/spot-trader/profit-history-details` |
|
|
| [getSpotTraderUnrealizedProfit()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1338) | :closed_lock_with_key: | GET | `/api/v2/copy/spot-trader/profit-details` |
|
|
| [getSpotTraderOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1342) | :closed_lock_with_key: | GET | `/api/v2/copy/spot-trader/order-total-detail` |
|
|
| [modifySpotTraderOrderTPSL()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1346) | :closed_lock_with_key: | POST | `/api/v2/copy/spot-trader/order-modify-tpsl` |
|
|
| [getSpotTraderHistoryOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1353) | :closed_lock_with_key: | GET | `/api/v2/copy/spot-trader/order-history-track` |
|
|
| [getSpotTraderCurrentOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1360) | :closed_lock_with_key: | GET | `/api/v2/copy/spot-trader/order-current-track` |
|
|
| [sellSpotTrader()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1367) | :closed_lock_with_key: | POST | `/api/v2/copy/spot-trader/order-close-tracking` |
|
|
| [getSpotTraderSymbolSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1374) | :closed_lock_with_key: | POST | `/api/v2/copy/spot-trader/config-setting-symbols` |
|
|
| [removeSpotTraderFollowers()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1381) | :closed_lock_with_key: | POST | `/api/v2/copy/spot-trader/config-remove-follower` |
|
|
| [getSpotTraderConfiguration()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1388) | :closed_lock_with_key: | GET | `/api/v2/copy/spot-trader/config-query-settings` |
|
|
| [getSpotTraderFollowers()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1392) | :closed_lock_with_key: | GET | `/api/v2/copy/spot-trader/config-query-followers` |
|
|
| [cancelSpotFollowerOrder()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1407) | :closed_lock_with_key: | POST | `/api/v2/copy/spot-follower/stop-order` |
|
|
| [updateSpotFollowerSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1411) | :closed_lock_with_key: | POST | `/api/v2/copy/spot-follower/settings` |
|
|
| [updateSpotFollowerTPSL()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1415) | :closed_lock_with_key: | POST | `/api/v2/copy/spot-follower/setting-tpsl` |
|
|
| [getSpotFollowerTraders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1419) | :closed_lock_with_key: | GET | `/api/v2/copy/spot-follower/query-traders` |
|
|
| [getSpotFollowerCurrentTraderSymbols()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1423) | :closed_lock_with_key: | GET | `/api/v2/copy/spot-follower/query-trader-symbols` |
|
|
| [getSpotFollowerSettings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1432) | :closed_lock_with_key: | GET | `/api/v2/copy/spot-follower/query-settings` |
|
|
| [getSpotFollowerHistoryOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1436) | :closed_lock_with_key: | GET | `/api/v2/copy/spot-follower/query-history-orders` |
|
|
| [getSpotFollowerOpenOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1443) | :closed_lock_with_key: | GET | `/api/v2/copy/spot-follower/query-current-orders` |
|
|
| [sellSpotFollower()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1450) | :closed_lock_with_key: | POST | `/api/v2/copy/spot-follower/order-close-tracking` |
|
|
| [unfollowSpotTrader()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1457) | :closed_lock_with_key: | POST | `/api/v2/copy/spot-follower/cancel-trader` |
|
|
| [getEarnSavingsProducts()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1469) | :closed_lock_with_key: | GET | `/api/v2/earn/savings/product` |
|
|
| [getEarnSavingsAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1473) | :closed_lock_with_key: | GET | `/api/v2/earn/savings/account` |
|
|
| [getEarnSavingsAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1477) | :closed_lock_with_key: | GET | `/api/v2/earn/savings/assets` |
|
|
| [getEarnSavingsRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1481) | :closed_lock_with_key: | GET | `/api/v2/earn/savings/records` |
|
|
| [getEarnSavingsSubscription()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1485) | :closed_lock_with_key: | GET | `/api/v2/earn/savings/subscribe-info` |
|
|
| [earnSubscribeSavings()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1489) | :closed_lock_with_key: | POST | `/api/v2/earn/savings/subscribe` |
|
|
| [getEarnSavingsSubscriptionResult()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1493) | :closed_lock_with_key: | GET | `/api/v2/earn/savings/subscribe-result` |
|
|
| [getEarnSavingsRedemptionResult()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1497) | :closed_lock_with_key: | GET | `/api/v2/earn/savings/redeem-result` |
|
|
| [getEarnAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1509) | :closed_lock_with_key: | GET | `/api/v2/earn/account/assets` |
|
|
| [getSharkfinProducts()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1521) | :closed_lock_with_key: | GET | `/api/v2/earn/sharkfin/product` |
|
|
| [getSharkfinAccount()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1525) | :closed_lock_with_key: | GET | `/api/v2/earn/sharkfin/account` |
|
|
| [getSharkfinAssets()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1529) | :closed_lock_with_key: | GET | `/api/v2/earn/sharkfin/assets` |
|
|
| [getSharkfinRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1533) | :closed_lock_with_key: | GET | `/api/v2/earn/sharkfin/records` |
|
|
| [getSharkfinSubscription()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1537) | :closed_lock_with_key: | GET | `/api/v2/earn/sharkfin/subscribe-info` |
|
|
| [subscribeSharkfin()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1541) | :closed_lock_with_key: | POST | `/api/v2/earn/sharkfin/subscribe` |
|
|
| [getSharkfinSubscriptionResult()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1545) | :closed_lock_with_key: | GET | `/api/v2/earn/sharkfin/subscribe-result` |
|
|
| [getLoanCurrencies()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1557) | | GET | `/api/v2/earn/loan/public/coinInfos` |
|
|
| [getLoanEstInterestAndBorrowable()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1561) | | GET | `/api/v2/earn/loan/public/hour-interest` |
|
|
| [borrowLoan()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1565) | :closed_lock_with_key: | POST | `/api/v2/earn/loan/borrow` |
|
|
| [getOngoingLoanOrders()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1569) | :closed_lock_with_key: | GET | `/api/v2/earn/loan/ongoing-orders` |
|
|
| [repayLoan()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1573) | :closed_lock_with_key: | POST | `/api/v2/earn/loan/repay` |
|
|
| [getRepayHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1577) | :closed_lock_with_key: | GET | `/api/v2/earn/loan/repay-history` |
|
|
| [updateLoanPledgeRate()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1581) | :closed_lock_with_key: | POST | `/api/v2/earn/loan/revise-pledge` |
|
|
| [getLoanPledgeRateHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1585) | :closed_lock_with_key: | GET | `/api/v2/earn/loan/revise-history` |
|
|
| [getLoanHistory()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1589) | :closed_lock_with_key: | GET | `/api/v2/earn/loan/borrow-history` |
|
|
| [getLoanDebts()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1593) | :closed_lock_with_key: | GET | `/api/v2/earn/loan/debts` |
|
|
| [getLoanLiquidationRecords()](https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1597) | :closed_lock_with_key: | GET | `/api/v2/earn/loan/reduces` | |