feat(): added Latency fn, removed links from examples

This commit is contained in:
Jerko J
2024-10-24 10:11:34 +02:00
parent e218b0e334
commit f9de84fc15
255 changed files with 324 additions and 504 deletions

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/user/batch-create-subaccount-and-apikey
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L171
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/earn/loan/borrow
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1565
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/spot-follower/stop-order
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1407
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-follower/close-positions
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1271
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-trader/order-close-positions
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1184
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/convert/trade
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L237
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/convert/bgb-convert
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L255
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/broker/account/create-subaccount
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L773
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/broker/manage/create-subaccount-apikey
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L838
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/broker/account/subaccount-address
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L803
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/user/create-virtual-subaccount
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L163
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/user/create-virtual-subaccount-apikey
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L184
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/earn/savings/subscribe
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1489
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/batch-cancel-orders
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L678
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/batch-place-order
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L670
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/cancel-all-orders
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L706
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/cancel-order
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L662
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/cancel-plan-order
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L736
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/close-positions
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L682
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/modify-order
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L674
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/modify-plan-order
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L732
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/modify-tpsl-order
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L728
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/place-order
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L658
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/place-plan-order
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L724
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/plan-sub-order
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L716
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/click-backhand
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L666
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/place-tpsl-order
// METHOD: POST
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L720
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/public/annoucements
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L39
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/account/all-account-balance
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L219
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/account/bot-assets
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L214
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/broker/account/info
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L769
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-broker/query-traders
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1301
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-broker/query-history-traces
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1305
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-broker/query-current-traces
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1312
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/convert/bgb-convert-coin-list
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L251
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/convert/bgb-convert-records
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L259
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/convert/currencies
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L229
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/convert/convert-record
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L241
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/convert/quoted-price
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L233
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/earn/account/assets
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1509
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/earn/savings/account
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1473
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/earn/savings/assets
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1477
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/earn/savings/product
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1469
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/earn/savings/records
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1481
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/earn/savings/redeem-result
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1497
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/earn/savings/subscribe-info
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1485
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/earn/savings/subscribe-result
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1493
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/account/funding-assets
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L210
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/account/account
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L588
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/account/accounts
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L592
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/account/bill
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L624
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/long-short
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L135
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/account-long-short
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L151
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/position-long-short
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L117
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/taker-buy-sell
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L111
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/tickers
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L520
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/candles
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L528
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/contracts
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L578
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/current-fund-rate
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L574
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/fills
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L690
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-follower/query-current-orders
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1245
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-follower/query-quantity-limit
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1282
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-follower/query-history-orders
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1252
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-follower/query-settings
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1267
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-follower/query-traders
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1278
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/history-candles
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L534
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/history-fund-rate
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L570
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/history-index-candles
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L538
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/history-mark-candles
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L544
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/fill-history
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L694
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/orders-history
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L702
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/orders-plan-history
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L744
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/position/history-position
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L648
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/fills-history
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L554
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/long-short-ratio
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L123
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/merge-depth
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L524
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/funding-time
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L562
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/account/open-count
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L600
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/open-interest
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L558
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/orders-pending
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L698
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/detail
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L686
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/order/orders-plan-pending
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L740
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/position/single-position
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L640
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/query-position-lever
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L636
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/position/all-position
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L644
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/fills
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L550
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/account/sub-account-assets
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L596
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/symbol-price
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L566
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/ticker
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L516
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-trader/order-current-track
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1146
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-trader/config-query-followers
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1223
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-trader/order-history-track
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1153
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-trader/order-total-detail
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1167
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-trader/profit-history-summarys
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1171
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-trader/profit-details
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1191
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-trader/profits-group-coin-date
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1195
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-trader/profit-history-details
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1175
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/copy/mix-trader/config-query-symbols
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L1202
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/tax/future-record
// METHOD: GET
// PUBLIC: NO
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L67
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

View File

@@ -6,7 +6,6 @@ const { RestClientV2 } = require('bitget-api');
// ENDPOINT: /api/v2/mix/market/vip-fee-rate
// METHOD: GET
// PUBLIC: YES
// Link to function: https://github.com/tiagosiebler/bitget-api/blob/master/src/rest-client-v2.ts#L512
const client = new RestClientV2({
apiKey: 'insert_api_key_here',

Some files were not shown because too many files have changed in this diff Show More