bitget.rb 0.9.1 → 0.9.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG +9 -0
- data/bitget.rb.gemspec +1 -1
- data/lib/Bitget/VERSION.rb +1 -1
- data/test/fixtures/vcr_cassettes/v2/spot/account/assets-when_an_error_occurs.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/assets.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/bills-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/bills.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/bleradaf-info.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/deduct-info-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/deduct-info.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/info-when_an_error_occurs.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/info.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/sub-main-trans-record-when_an_error_occurs.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/sub-main-trans-record.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/subaccount-assets-when_an_error_occurs.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/subaccount-assets.yml +102 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/switch-deduct-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/switch-deduct.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/transferRecords-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/account/transferRecords.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/candles-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/candles.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/fills-history-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/fills-history.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/fills-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/fills.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/history-candles-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/history-candles.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/merge-depth-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/merge-depth.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/orderbook-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/orderbook.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/tickers-when_an_error_occurs.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/tickers-when_symbol_is_not_supplied.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/tickers-when_symbol_is_supplied.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/vip-fee-rate-when_an_error_occurs.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/market/vip-fee-rate.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/public/coins-when_an_error_occurs.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/public/coins-when_coin_is_not_supplied.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/public/coins-when_coin_is_supplied.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/public/coins-when_error_occurs.yml +64 -0
- data/test/fixtures/vcr_cassettes/v2/spot/public/symbols-when_an_error_occurs.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/public/symbols-when_symbol_is_not_supplied.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/public/symbols-when_symbol_is_supplied.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-cancel-order-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-cancel-order.yml +84 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-cancel-plan-order-when_an_error_occurs.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-cancel-plan-order.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-cancel-replace-order-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-cancel-replace-order.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-orders-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-orders.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-order-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-order.yml +73 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-plan-order-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-plan-order.yml +72 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-replace-order-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-replace-order.yml +68 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-symbol-order-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-symbol-order.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/current-plan-order-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/current-plan-order.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/fills-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/fills.yml +95 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/history-orders-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/history-orders.yml +97 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/history-plan-order-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/history-plan-order.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/modify-plan-order-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/modify-plan-order.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/orderInfo-when_an_error_occurs.yml +61 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/orderInfo.yml +61 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/place-order-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/place-order.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/place-plan-order-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/place-plan-order.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/plan-sub-order-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/plan-sub-order.yml +75 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/unfilled-orders-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/trade/unfilled-orders.yml +97 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/cancel-withdrawal-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/cancel-withdrawal.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/deposit-address-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/deposit-address.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/deposit-records-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/deposit-records.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/modify-deposit-account-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/modify-deposit-account.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/subaccount-deposit-address-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/subaccount-deposit-address.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/subaccount-deposit-records-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/subaccount-deposit-records.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/subaccount-transfer-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/subaccount-transfer.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/transfer-coin-info-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/transfer-coin-info.yml +69 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/transfer-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/transfer.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/withdrawal-records-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/withdrawal-records.yml +67 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/withdrawal-when_an_error_occurs.yml +63 -0
- data/test/fixtures/vcr_cassettes/v2/spot/wallet/withdrawal.yml +73 -0
- data/test/gemspec_test.rb +4 -0
- metadata +100 -1
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.bitget.com/api/v2/spot/market/tickers?symbol=BTCUSDT
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Accept-Encoding:
|
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
12
|
+
Accept:
|
|
13
|
+
- "*/*"
|
|
14
|
+
User-Agent:
|
|
15
|
+
- Ruby
|
|
16
|
+
Access-Key:
|
|
17
|
+
- "<API_KEY>"
|
|
18
|
+
Access-Sign:
|
|
19
|
+
- B6YE9SACqxmRKpRPMJ7/Sn7e67g654Ltd0FA5ek1YGs=
|
|
20
|
+
Access-Timestamp:
|
|
21
|
+
- '1747574765062'
|
|
22
|
+
Access-Passphrase:
|
|
23
|
+
- "<API_PASSPHRASE>"
|
|
24
|
+
Content-Type:
|
|
25
|
+
- application/json
|
|
26
|
+
X-Channel-Api-Code:
|
|
27
|
+
- spot
|
|
28
|
+
response:
|
|
29
|
+
status:
|
|
30
|
+
code: 200
|
|
31
|
+
message: OK
|
|
32
|
+
headers:
|
|
33
|
+
Date:
|
|
34
|
+
- Sun, 18 May 2025 13:26:06 GMT
|
|
35
|
+
Content-Type:
|
|
36
|
+
- application/json
|
|
37
|
+
Transfer-Encoding:
|
|
38
|
+
- chunked
|
|
39
|
+
Connection:
|
|
40
|
+
- keep-alive
|
|
41
|
+
X-Mbx-Used-Remain-Limit:
|
|
42
|
+
- '19'
|
|
43
|
+
X-Xss-Protection:
|
|
44
|
+
- 1; mode=block
|
|
45
|
+
X-Content-Type-Options:
|
|
46
|
+
- nosniff
|
|
47
|
+
Access-Control-Allow-Origin:
|
|
48
|
+
- "*"
|
|
49
|
+
Access-Control-Allow-Methods:
|
|
50
|
+
- GET, POST, OPTIONS
|
|
51
|
+
Cf-Cache-Status:
|
|
52
|
+
- DYNAMIC
|
|
53
|
+
Set-Cookie:
|
|
54
|
+
- __cf_bm=JPQ5jyls.mxxcyCZU1UbsoeMCvD5OO6ub1Rdk0fpQxo-1747574766-1.0.1.1-.eZvlUz8gQLp1hMYaJiEcPQwpDqXW8YEimgzy.Sc3U4bNJR9Xm5Ov82Y7v_8XWl5N7cf_vD33dzgwOYumfw5EL0rpVQpKcOwsRIPoptl9uI;
|
|
55
|
+
path=/; expires=Sun, 18-May-25 13:56:06 GMT; domain=.api.bitget.com; HttpOnly;
|
|
56
|
+
Secure; SameSite=None
|
|
57
|
+
X-Frame-Options:
|
|
58
|
+
- SAMEORIGIN
|
|
59
|
+
Server:
|
|
60
|
+
- cloudflare
|
|
61
|
+
Cf-Ray:
|
|
62
|
+
- 941baf314a4bfc96-AMS
|
|
63
|
+
body:
|
|
64
|
+
encoding: ASCII-8BIT
|
|
65
|
+
string: '{"code":"00000","msg":"success","requestTime":1747574766426,"data":[{"open":"102889.99","symbol":"BTCUSDT","high24h":"104071.43","low24h":"102665","lastPr":"103884.3","quoteVolume":"335315496.518512","baseVolume":"3244.866356","usdtVolume":"335315496.51851119","ts":"1747574765361","bidPr":"103884.29","askPr":"103884.3","bidSz":"0.304315","askSz":"1.15968","openUtc":"103117.92","changeUtc24h":"0.00743","change24h":"0.00966"}]}'
|
|
66
|
+
recorded_at: Sun, 18 May 2025 13:26:06 GMT
|
|
67
|
+
recorded_with: VCR 6.3.1
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.bitget.com/api/v2/spot/market/vip-fee-rate
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Accept-Encoding:
|
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
12
|
+
Accept:
|
|
13
|
+
- "*/*"
|
|
14
|
+
User-Agent:
|
|
15
|
+
- Ruby
|
|
16
|
+
Access-Key:
|
|
17
|
+
- "<API_KEY>"
|
|
18
|
+
Access-Sign:
|
|
19
|
+
- "+XB8PrEi1YgS+lNoMDdAECWoye60FGsEf/C2DU+sTtM="
|
|
20
|
+
Access-Timestamp:
|
|
21
|
+
- '1747574831182'
|
|
22
|
+
Access-Passphrase:
|
|
23
|
+
- "<API_PASSPHRASE>"
|
|
24
|
+
Content-Type:
|
|
25
|
+
- application/json
|
|
26
|
+
X-Channel-Api-Code:
|
|
27
|
+
- spot
|
|
28
|
+
response:
|
|
29
|
+
status:
|
|
30
|
+
code: 418
|
|
31
|
+
message: I'm a teapot
|
|
32
|
+
headers:
|
|
33
|
+
Date:
|
|
34
|
+
- Sun, 18 May 2025 13:27:12 GMT
|
|
35
|
+
Content-Type:
|
|
36
|
+
- application/json
|
|
37
|
+
Transfer-Encoding:
|
|
38
|
+
- chunked
|
|
39
|
+
Connection:
|
|
40
|
+
- keep-alive
|
|
41
|
+
Vary:
|
|
42
|
+
- Accept-Encoding
|
|
43
|
+
X-Mbx-Used-Remain-Limit:
|
|
44
|
+
- '9'
|
|
45
|
+
X-Xss-Protection:
|
|
46
|
+
- 1; mode=block
|
|
47
|
+
X-Content-Type-Options:
|
|
48
|
+
- nosniff
|
|
49
|
+
Access-Control-Allow-Origin:
|
|
50
|
+
- "*"
|
|
51
|
+
Access-Control-Allow-Methods:
|
|
52
|
+
- GET, POST, OPTIONS
|
|
53
|
+
Cf-Cache-Status:
|
|
54
|
+
- DYNAMIC
|
|
55
|
+
Set-Cookie:
|
|
56
|
+
- __cf_bm=PfrzLhimXbW3gcEznOh14GF5yemQT3do9KDJXc9Q8H8-1747574832-1.0.1.1-4xeK3ZwifKPGSZKo_7W0P9YNAXmG4wjr40fPzNsvqLkVX9_e2xN6avYxPJNVHkel2J3de7ylmcOCc5vhzTF5K.Vy39TYEp0M0U.husALMWU;
|
|
57
|
+
path=/; expires=Sun, 18-May-25 13:57:12 GMT; domain=.api.bitget.com; HttpOnly;
|
|
58
|
+
Secure; SameSite=None
|
|
59
|
+
X-Frame-Options:
|
|
60
|
+
- SAMEORIGIN
|
|
61
|
+
Server:
|
|
62
|
+
- cloudflare
|
|
63
|
+
Cf-Ray:
|
|
64
|
+
- 941bb0ceaf5f8ec5-FRA
|
|
65
|
+
body:
|
|
66
|
+
encoding: ASCII-8BIT
|
|
67
|
+
string: ''
|
|
68
|
+
recorded_at: Sun, 18 May 2025 13:27:12 GMT
|
|
69
|
+
recorded_with: VCR 6.3.1
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.bitget.com/api/v2/spot/market/vip-fee-rate
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Accept-Encoding:
|
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
12
|
+
Accept:
|
|
13
|
+
- "*/*"
|
|
14
|
+
User-Agent:
|
|
15
|
+
- Ruby
|
|
16
|
+
Access-Key:
|
|
17
|
+
- "<API_KEY>"
|
|
18
|
+
Access-Sign:
|
|
19
|
+
- iW/N8HcVw57z43IR2b5PCDWQl3o8VZaTh40kx/B32iA=
|
|
20
|
+
Access-Timestamp:
|
|
21
|
+
- '1747574835947'
|
|
22
|
+
Access-Passphrase:
|
|
23
|
+
- "<API_PASSPHRASE>"
|
|
24
|
+
Content-Type:
|
|
25
|
+
- application/json
|
|
26
|
+
X-Channel-Api-Code:
|
|
27
|
+
- spot
|
|
28
|
+
response:
|
|
29
|
+
status:
|
|
30
|
+
code: 200
|
|
31
|
+
message: OK
|
|
32
|
+
headers:
|
|
33
|
+
Date:
|
|
34
|
+
- Sun, 18 May 2025 13:27:17 GMT
|
|
35
|
+
Content-Type:
|
|
36
|
+
- application/json
|
|
37
|
+
Transfer-Encoding:
|
|
38
|
+
- chunked
|
|
39
|
+
Connection:
|
|
40
|
+
- keep-alive
|
|
41
|
+
Vary:
|
|
42
|
+
- Accept-Encoding
|
|
43
|
+
X-Mbx-Used-Remain-Limit:
|
|
44
|
+
- '9'
|
|
45
|
+
X-Xss-Protection:
|
|
46
|
+
- 1; mode=block
|
|
47
|
+
X-Content-Type-Options:
|
|
48
|
+
- nosniff
|
|
49
|
+
Access-Control-Allow-Origin:
|
|
50
|
+
- "*"
|
|
51
|
+
Access-Control-Allow-Methods:
|
|
52
|
+
- GET, POST, OPTIONS
|
|
53
|
+
Cf-Cache-Status:
|
|
54
|
+
- DYNAMIC
|
|
55
|
+
Set-Cookie:
|
|
56
|
+
- __cf_bm=7CKmB2owEDFcEaNkn1vfuopsfvkwCHwa46IU3Cc7xiA-1747574837-1.0.1.1-PSDUNaemSeB8_ina48dmNrYhPETyFGsokwQM.uYAXuXIdzaU5afPH3rlvgaqvf6IhQ3l4Oy3OtjHB8mKFa4T_pGOeIdwXdip48Dd2kFRclU;
|
|
57
|
+
path=/; expires=Sun, 18-May-25 13:57:17 GMT; domain=.api.bitget.com; HttpOnly;
|
|
58
|
+
Secure; SameSite=None
|
|
59
|
+
X-Frame-Options:
|
|
60
|
+
- SAMEORIGIN
|
|
61
|
+
Server:
|
|
62
|
+
- cloudflare
|
|
63
|
+
Cf-Ray:
|
|
64
|
+
- 941bb0ec79066562-AMS
|
|
65
|
+
body:
|
|
66
|
+
encoding: ASCII-8BIT
|
|
67
|
+
string: '{"code":"00000","msg":"success","requestTime":1747574837338,"data":[{"level":"1","dealAmount":"500000","assetAmount":"30000","takerFeeRate":"0.0008","makerFeeRate":"0.0008","btcWithdrawAmount":"300","usdtWithdrawAmount":"4000000"},{"level":"2","dealAmount":"2000000","assetAmount":"50000","takerFeeRate":"0.0007","makerFeeRate":"0.00065","btcWithdrawAmount":"300","usdtWithdrawAmount":"6000000"},{"level":"3","dealAmount":"8000000","assetAmount":"250000","takerFeeRate":"0.0006","makerFeeRate":"0.0005","btcWithdrawAmount":"300","usdtWithdrawAmount":"8000000"},{"level":"4","dealAmount":"30000000","assetAmount":"750000","takerFeeRate":"0.0005","makerFeeRate":"0.0004","btcWithdrawAmount":"300","usdtWithdrawAmount":"10000000"},{"level":"5","dealAmount":"50000000","assetAmount":"2000000","takerFeeRate":"0.0004","makerFeeRate":"0.0003","btcWithdrawAmount":"500","usdtWithdrawAmount":"12000000"},{"level":"6","dealAmount":"75000000","assetAmount":"2010001","takerFeeRate":"0.00035","makerFeeRate":"0.00025","btcWithdrawAmount":"500","usdtWithdrawAmount":"15000000"},{"level":"7","dealAmount":"100000000","assetAmount":"2020002","takerFeeRate":"0.00032","makerFeeRate":"0.0002","btcWithdrawAmount":"500","usdtWithdrawAmount":"18000000"}]}'
|
|
68
|
+
recorded_at: Sun, 18 May 2025 13:27:17 GMT
|
|
69
|
+
recorded_with: VCR 6.3.1
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.bitget.com/api/v2/spot/public/coins
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Accept-Encoding:
|
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
12
|
+
Accept:
|
|
13
|
+
- application/json
|
|
14
|
+
User-Agent:
|
|
15
|
+
- Ruby
|
|
16
|
+
Access-Key:
|
|
17
|
+
- "<API_KEY>"
|
|
18
|
+
Access-Sign:
|
|
19
|
+
- f02d1c70d802b3a8285d17f7f16ea1dec39b2544ef59ca3b73c86b25c4271f68cc6c579ff2d04e4b25fa8fdaaf306ac7306492c39f6a2ca29a4fbf98ee77c395
|
|
20
|
+
Access-Timestamp:
|
|
21
|
+
- '1742722142'
|
|
22
|
+
Access-Passphrase:
|
|
23
|
+
- "<API_PASSPHRASE>"
|
|
24
|
+
Content-Type:
|
|
25
|
+
- application/json
|
|
26
|
+
Locale:
|
|
27
|
+
- en-AU
|
|
28
|
+
response:
|
|
29
|
+
status:
|
|
30
|
+
code: 418
|
|
31
|
+
message: I'm a teapot
|
|
32
|
+
headers:
|
|
33
|
+
Date:
|
|
34
|
+
- Sun, 23 Mar 2025 09:29:06 GMT
|
|
35
|
+
Content-Type:
|
|
36
|
+
- application/json
|
|
37
|
+
Transfer-Encoding:
|
|
38
|
+
- chunked
|
|
39
|
+
Connection:
|
|
40
|
+
- keep-alive
|
|
41
|
+
Vary:
|
|
42
|
+
- Accept-Encoding
|
|
43
|
+
X-Mbx-Used-Remain-Limit:
|
|
44
|
+
- '2'
|
|
45
|
+
X-Xss-Protection:
|
|
46
|
+
- 1; mode=block
|
|
47
|
+
X-Content-Type-Options:
|
|
48
|
+
- nosniff
|
|
49
|
+
Access-Control-Allow-Origin:
|
|
50
|
+
- "*"
|
|
51
|
+
Access-Control-Allow-Methods:
|
|
52
|
+
- GET, POST, OPTIONS
|
|
53
|
+
Cf-Cache-Status:
|
|
54
|
+
- DYNAMIC
|
|
55
|
+
Set-Cookie:
|
|
56
|
+
- __cf_bm=xR_NvNr3ij9UsKUaiUe4EvzQkiu9nLSC2An1Q.KlL6k-1742722146-1.0.1.1-0InH6wpqd1C7fpq7J0NYsMzZgqwYjCZiDBB6m7Lr_BQs0MZj_jh3oEH8BO0WOBx3n0VG8t3IoK3ErbrSBp5KOzUPCMy2xdOfohcfudjBzhk;
|
|
57
|
+
path=/; expires=Sun, 23-Mar-25 09:59:06 GMT; domain=.api.bitget.com; HttpOnly;
|
|
58
|
+
Secure; SameSite=None
|
|
59
|
+
X-Frame-Options:
|
|
60
|
+
- SAMEORIGIN
|
|
61
|
+
Server:
|
|
62
|
+
- cloudflare
|
|
63
|
+
Cf-Ray:
|
|
64
|
+
- 924ce7084efc5d7b-FRA
|
|
65
|
+
body:
|
|
66
|
+
encoding: ASCII-8BIT
|
|
67
|
+
string: ''
|
|
68
|
+
recorded_at: Sun, 23 Mar 2025 09:29:04 GMT
|
|
69
|
+
recorded_with: VCR 6.3.1
|