bitget.rb 0.9.0 → 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 +18 -0
- data/README.md +3 -0
- data/bitget.rb.gemspec +1 -1
- data/lib/Bitget/V2/Client.rb +6 -1
- data/lib/Bitget/VERSION.rb +1 -1
- data/test/V2/Client_test.rb +12 -0
- 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/account/deduct-info
|
|
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
|
+
- NLyHfwBP130jXzlboszLEOrIVwi54GpdkKVg6Qo7W3A=
|
|
20
|
+
Access-Timestamp:
|
|
21
|
+
- '1748166308198'
|
|
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, 25 May 2025 09:45:10 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=zTKKZr6JbA4LZfpmuZ2Helwn9p54T2TJ6bAShVmiDno-1748166310-1.0.1.1-ZycnkQqCI9deDRd20FZU7S_WKAvsAUZ6aqjyGu3mNXaS5so06CxP64vsy8FrfYCk1qUS7OTIsrrM7kd.pt48d8BSORlYVrgYJ6aXxmbZiEM;
|
|
55
|
+
path=/; expires=Sun, 25-May-25 10:15:10 GMT; domain=.api.bitget.com; HttpOnly;
|
|
56
|
+
Secure; SameSite=None
|
|
57
|
+
X-Frame-Options:
|
|
58
|
+
- SAMEORIGIN
|
|
59
|
+
Server:
|
|
60
|
+
- cloudflare
|
|
61
|
+
Cf-Ray:
|
|
62
|
+
- 9454192fcd277970-AMS
|
|
63
|
+
body:
|
|
64
|
+
encoding: ASCII-8BIT
|
|
65
|
+
string: '{"code":"00000","msg":"success","requestTime":1748166310494,"data":{"deduct":"off"}}'
|
|
66
|
+
recorded_at: Sun, 25 May 2025 09:45:09 GMT
|
|
67
|
+
recorded_with: VCR 6.3.1
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.bitget.com/api/v2/spot/account/info
|
|
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
|
+
- iEQMo5i2pPvcobJDbYh+pmq2BLMBY7AgiwXcxDvd7nc=
|
|
20
|
+
Access-Timestamp:
|
|
21
|
+
- '1747391309915'
|
|
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
|
+
- Fri, 16 May 2025 10:28:31 GMT
|
|
35
|
+
Content-Type:
|
|
36
|
+
- application/json
|
|
37
|
+
Transfer-Encoding:
|
|
38
|
+
- chunked
|
|
39
|
+
Connection:
|
|
40
|
+
- keep-alive
|
|
41
|
+
X-Mbx-Used-Remain-Limit:
|
|
42
|
+
- '0'
|
|
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=fag3VI5u60LoEuQyDgL9gKrjDJg.0TbJPXlG9WolRWA-1747391311-1.0.1.1-SIgpGg3wQ3ZKnz0sIKzyIqiTOp_UQBYxZQnIJkD5egUu.Q1MuYdJKk0F5rmzFc6a8hRRSkQ1k9gFF5k3s9QpoubvSY320x7Yc2a.IOdhxwE;
|
|
55
|
+
path=/; expires=Fri, 16-May-25 10:58:31 GMT; domain=.api.bitget.com; HttpOnly;
|
|
56
|
+
Secure; SameSite=None
|
|
57
|
+
X-Frame-Options:
|
|
58
|
+
- SAMEORIGIN
|
|
59
|
+
Server:
|
|
60
|
+
- cloudflare
|
|
61
|
+
Cf-Ray:
|
|
62
|
+
- 940a304dec9011ed-AMS
|
|
63
|
+
body:
|
|
64
|
+
encoding: ASCII-8BIT
|
|
65
|
+
string: ''
|
|
66
|
+
recorded_at: Fri, 16 May 2025 10:28:31 GMT
|
|
67
|
+
recorded_with: VCR 6.3.1
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.bitget.com/api/v2/spot/account/info
|
|
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
|
+
- BEvT4E0hoAkdjmzil/22Uq+nI2lg3m8jOQkk/66XbPU=
|
|
20
|
+
Access-Timestamp:
|
|
21
|
+
- '1747406697556'
|
|
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
|
+
- Fri, 16 May 2025 14:44:59 GMT
|
|
35
|
+
Content-Type:
|
|
36
|
+
- application/json
|
|
37
|
+
Transfer-Encoding:
|
|
38
|
+
- chunked
|
|
39
|
+
Connection:
|
|
40
|
+
- keep-alive
|
|
41
|
+
X-Mbx-Used-Remain-Limit:
|
|
42
|
+
- '0'
|
|
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=VKXnZhv5eAt9QDHJmqYJNWzeMBBGkKYeZM_2_hUf3Ns-1747406699-1.0.1.1-2HRcRAs.SzbIRZWuU.mG9L5gMLAVRDgy6lg7lqetKoJTbJTnqJehMzmtKuRxWO9OQ309EzagNqjbTBXQA8zlM7zHqHO5RAvj1FAF5fcB.hs;
|
|
55
|
+
path=/; expires=Fri, 16-May-25 15:14:59 GMT; domain=.api.bitget.com; HttpOnly;
|
|
56
|
+
Secure; SameSite=None
|
|
57
|
+
X-Frame-Options:
|
|
58
|
+
- SAMEORIGIN
|
|
59
|
+
Server:
|
|
60
|
+
- cloudflare
|
|
61
|
+
Cf-Ray:
|
|
62
|
+
- 940ba7fc0d685eeb-MRS
|
|
63
|
+
body:
|
|
64
|
+
encoding: ASCII-8BIT
|
|
65
|
+
string: '{"code":"00000","msg":"success","requestTime":1747406699064,"data":{"userId":"7955878595","inviterId":null,"channelCode":"rvbt","channel":"aqkm","ips":"","authorities":["wtow","chow","smow","coow","taxw","p2pw","cpow","ttow","stow"],"parentId":7955878595,"traderType":"not_trader","regisTime":"1731418905000"}}'
|
|
66
|
+
recorded_at: Fri, 16 May 2025 14:44:59 GMT
|
|
67
|
+
recorded_with: VCR 6.3.1
|
data/test/fixtures/vcr_cassettes/v2/spot/account/sub-main-trans-record-when_an_error_occurs.yml
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.bitget.com/api/v2/spot/account/sub-main-trans-record
|
|
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
|
+
- UwfR4G5ysYFqcgtQjd+ecbTAzi9syxRT4LII3vKcFyQ=
|
|
20
|
+
Access-Timestamp:
|
|
21
|
+
- '1747574731890'
|
|
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:25:33 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=cc9w5D07EIqsqYW_ho96w_hutA_lPKgJw4njI2uud7E-1747574733-1.0.1.1-dEPsFZA9U5LKSXSsZSknLhFksIdOL_QFF2NNTN3KhE2E3pauONLXJgr3sKwRIX9h8pGig_eWWSUY2CoD_kRx7zCnWC.LENlCa7MHlu09urw;
|
|
55
|
+
path=/; expires=Sun, 18-May-25 13:55:33 GMT; domain=.api.bitget.com; HttpOnly;
|
|
56
|
+
Secure; SameSite=None
|
|
57
|
+
X-Frame-Options:
|
|
58
|
+
- SAMEORIGIN
|
|
59
|
+
Server:
|
|
60
|
+
- cloudflare
|
|
61
|
+
Cf-Ray:
|
|
62
|
+
- 941bae61f9cd9751-FRA
|
|
63
|
+
body:
|
|
64
|
+
encoding: ASCII-8BIT
|
|
65
|
+
string: ''
|
|
66
|
+
recorded_at: Sun, 18 May 2025 13:25:33 GMT
|
|
67
|
+
recorded_with: VCR 6.3.1
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.bitget.com/api/v2/spot/account/sub-main-trans-record
|
|
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
|
+
- oZlZ9bC3jxomd5OL/AYsHLgSwK1yzhzynehEIAncxR8=
|
|
20
|
+
Access-Timestamp:
|
|
21
|
+
- '1747788415945'
|
|
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
|
+
- Wed, 21 May 2025 00:46:57 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=Akd.xM_HMg5u5T0tn1aoR8LDSd0V2ztmhZdvnI62NIo-1747788417-1.0.1.1-PFp5sx2e9g4KLz.EX_pH0vYLWYR0v7q_xbaz2sKb7qDYRGhlr.FyzyAbqrJX_3KEG3kOVeMK.SCGPRlwslewbwmB_YjmV3ucvKyavRwLzvY;
|
|
55
|
+
path=/; expires=Wed, 21-May-25 01:16:57 GMT; domain=.api.bitget.com; HttpOnly;
|
|
56
|
+
Secure; SameSite=None
|
|
57
|
+
X-Frame-Options:
|
|
58
|
+
- SAMEORIGIN
|
|
59
|
+
Server:
|
|
60
|
+
- cloudflare
|
|
61
|
+
Cf-Ray:
|
|
62
|
+
- 94300f49efde0324-MAD
|
|
63
|
+
body:
|
|
64
|
+
encoding: ASCII-8BIT
|
|
65
|
+
string: '{"code":"00000","msg":"success","requestTime":1747788417714,"data":[{"coin":"USDT","status":"Successful","toType":"spot","fromType":"usdt_futures","size":"3000.00000000","ts":"1744674721240","clientOid":"1295825189997600768","transferId":"149096092","fromUserId":"7955878595","toUserId":"7955878595"}]}'
|
|
66
|
+
recorded_at: Wed, 21 May 2025 00:46:58 GMT
|
|
67
|
+
recorded_with: VCR 6.3.1
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.bitget.com/api/v2/spot/account/subaccount-assets
|
|
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
|
+
- TJR/wIr0AzQ2EuBRH1w5hakk1V3vh8D5syaymcZDXhQ=
|
|
20
|
+
Access-Timestamp:
|
|
21
|
+
- '1747574763491'
|
|
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:26:04 GMT
|
|
35
|
+
Content-Type:
|
|
36
|
+
- application/json
|
|
37
|
+
Transfer-Encoding:
|
|
38
|
+
- chunked
|
|
39
|
+
Connection:
|
|
40
|
+
- keep-alive
|
|
41
|
+
X-Mbx-Used-Remain-Limit:
|
|
42
|
+
- '9'
|
|
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=qEZlrz3SqQoVONxcmbOAiEclnTv_.QJfiH_XaDs9h5s-1747574764-1.0.1.1-miW3H1A9R7dv7auSkOShn4zpR0pUzlNvug4rRPQ8dAQIkAlPF.XJRdzEq7nFi7ZttzCRAi98zHOI.ngccZiNbdfDax_k97W.tUIf3Yi7VBI;
|
|
55
|
+
path=/; expires=Sun, 18-May-25 13:56:04 GMT; domain=.api.bitget.com; HttpOnly;
|
|
56
|
+
Secure; SameSite=None
|
|
57
|
+
X-Frame-Options:
|
|
58
|
+
- SAMEORIGIN
|
|
59
|
+
Server:
|
|
60
|
+
- cloudflare
|
|
61
|
+
Cf-Ray:
|
|
62
|
+
- 941baf277e91360e-FRA
|
|
63
|
+
body:
|
|
64
|
+
encoding: ASCII-8BIT
|
|
65
|
+
string: ''
|
|
66
|
+
recorded_at: Sun, 18 May 2025 13:26:05 GMT
|
|
67
|
+
recorded_with: VCR 6.3.1
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.bitget.com/api/v2/spot/account/subaccount-assets
|
|
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
|
+
- Y/EzeO3ztm2Pvhr3juGPwjJ9GHryNWstcknJTKB1r/o=
|
|
20
|
+
Access-Timestamp:
|
|
21
|
+
- '1747574760292'
|
|
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:01 GMT
|
|
35
|
+
Content-Type:
|
|
36
|
+
- application/json
|
|
37
|
+
Transfer-Encoding:
|
|
38
|
+
- chunked
|
|
39
|
+
Connection:
|
|
40
|
+
- keep-alive
|
|
41
|
+
X-Mbx-Used-Remain-Limit:
|
|
42
|
+
- '9'
|
|
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=hEOPYTGarzAMO.dskYYXZ418H69ZBOaJkUeTkj7hYoc-1747574761-1.0.1.1-vxPsFJf2OciFtkQ6qv1JZ8rjb0H1896Urk3Ut1o15_0wvrWqxW4s9vviOmxmhECKu5JyqdTo7UhCay_DJI3v8WQDiRdNoW9Wql6_lHDRTEk;
|
|
55
|
+
path=/; expires=Sun, 18-May-25 13:56:01 GMT; domain=.api.bitget.com; HttpOnly;
|
|
56
|
+
Secure; SameSite=None
|
|
57
|
+
X-Frame-Options:
|
|
58
|
+
- SAMEORIGIN
|
|
59
|
+
Server:
|
|
60
|
+
- cloudflare
|
|
61
|
+
Cf-Ray:
|
|
62
|
+
- 941baf13caec5d67-FRA
|
|
63
|
+
body:
|
|
64
|
+
encoding: ASCII-8BIT
|
|
65
|
+
string: '
|
|
66
|
+
{
|
|
67
|
+
"code": "00000",
|
|
68
|
+
"message": "success",
|
|
69
|
+
"requestTime": 1695808949356,
|
|
70
|
+
"data": [
|
|
71
|
+
{
|
|
72
|
+
"id": 1111,
|
|
73
|
+
"userId": 1234567890,
|
|
74
|
+
"assetsList": [
|
|
75
|
+
{
|
|
76
|
+
"coin": "BTC",
|
|
77
|
+
"available": "1.1",
|
|
78
|
+
"limitAvailable": "12.1",
|
|
79
|
+
"frozen": "0",
|
|
80
|
+
"locked": "1.1",
|
|
81
|
+
"uTime": "1337654897651"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": 2222,
|
|
87
|
+
"userId": 1234567890,
|
|
88
|
+
"assetsList": [
|
|
89
|
+
{
|
|
90
|
+
"coin": "ETH",
|
|
91
|
+
"available": "12.1",
|
|
92
|
+
"limitAvailable": "12.1",
|
|
93
|
+
"frozen": "0",
|
|
94
|
+
"locked": "1.1",
|
|
95
|
+
"uTime": "1337654897651"
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}'
|
|
101
|
+
recorded_at: Sun, 18 May 2025 13:26:01 GMT
|
|
102
|
+
recorded_with: VCR 6.3.1
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: https://api.bitget.com/api/v2/spot/account/switch-deduct
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: '{"deduct":"INVALID"}'
|
|
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
|
+
- q+LtVakXRjjtEn4JeS+g0S/ppafPu7Ym/6lsZJ3OkSA=
|
|
20
|
+
Access-Timestamp:
|
|
21
|
+
- '1747574794259'
|
|
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:26:35 GMT
|
|
35
|
+
Content-Type:
|
|
36
|
+
- application/json
|
|
37
|
+
Content-Length:
|
|
38
|
+
- '106'
|
|
39
|
+
Connection:
|
|
40
|
+
- keep-alive
|
|
41
|
+
X-Mbx-Used-Remain-Limit:
|
|
42
|
+
- '19'
|
|
43
|
+
Access-Control-Allow-Origin:
|
|
44
|
+
- "*"
|
|
45
|
+
Access-Control-Allow-Methods:
|
|
46
|
+
- GET, POST, OPTIONS
|
|
47
|
+
Cf-Cache-Status:
|
|
48
|
+
- DYNAMIC
|
|
49
|
+
Set-Cookie:
|
|
50
|
+
- __cf_bm=23QctvHxsgXKR_jGrmqvEg3.cydUrUCO.DxiReG6vyI-1747574795-1.0.1.1-t9pcR23b0hofIy7rYBv7I9gYoHx0JbP1Ml_IbkuU8tiqQHOAJR6O0K8mANrDIfhYe0o4etQIsKN8UZNsH6UcE8xBljbFeuXe.cJVj6ftWNY;
|
|
51
|
+
path=/; expires=Sun, 18-May-25 13:56:35 GMT; domain=.api.bitget.com; HttpOnly;
|
|
52
|
+
Secure; SameSite=None
|
|
53
|
+
X-Frame-Options:
|
|
54
|
+
- SAMEORIGIN
|
|
55
|
+
Server:
|
|
56
|
+
- cloudflare
|
|
57
|
+
Cf-Ray:
|
|
58
|
+
- 941bafe7ed2a668d-AMS
|
|
59
|
+
body:
|
|
60
|
+
encoding: UTF-8
|
|
61
|
+
string: ''
|
|
62
|
+
recorded_at: Sun, 18 May 2025 13:26:35 GMT
|
|
63
|
+
recorded_with: VCR 6.3.1
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: https://api.bitget.com/api/v2/spot/account/switch-deduct
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: '{"deduct":"on"}'
|
|
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
|
+
- 4MxednaSZHKYEKYa5iFdDN4WM2dfFrwwr30UgsSvTHg=
|
|
20
|
+
Access-Timestamp:
|
|
21
|
+
- '1747753963945'
|
|
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
|
+
- Tue, 20 May 2025 15:12:47 GMT
|
|
35
|
+
Content-Type:
|
|
36
|
+
- application/json
|
|
37
|
+
Content-Length:
|
|
38
|
+
- '106'
|
|
39
|
+
Connection:
|
|
40
|
+
- keep-alive
|
|
41
|
+
X-Mbx-Used-Remain-Limit:
|
|
42
|
+
- '19'
|
|
43
|
+
Access-Control-Allow-Origin:
|
|
44
|
+
- "*"
|
|
45
|
+
Access-Control-Allow-Methods:
|
|
46
|
+
- GET, POST, OPTIONS
|
|
47
|
+
Cf-Cache-Status:
|
|
48
|
+
- DYNAMIC
|
|
49
|
+
Set-Cookie:
|
|
50
|
+
- __cf_bm=9HBBQhwsmdARZ8rzKNoRqWqfllM156JBogZMHDMDpqQ-1747753967-1.0.1.1-ysX_5gUgkbakyHyb4U7by8G3MOwsgSpAwRrVMjF3wBs32lz8u8VUjZIg2rb_8q5DDcwG_xG8EWUchr_BLSHE8TbUi.iEj9whQcL2c4JqNeQ;
|
|
51
|
+
path=/; expires=Tue, 20-May-25 15:42:47 GMT; domain=.api.bitget.com; HttpOnly;
|
|
52
|
+
Secure; SameSite=None
|
|
53
|
+
X-Frame-Options:
|
|
54
|
+
- SAMEORIGIN
|
|
55
|
+
Server:
|
|
56
|
+
- cloudflare
|
|
57
|
+
Cf-Ray:
|
|
58
|
+
- 942cc634dd083ed0-AMS
|
|
59
|
+
body:
|
|
60
|
+
encoding: UTF-8
|
|
61
|
+
string: '
|
|
62
|
+
{
|
|
63
|
+
"code": "00000",
|
|
64
|
+
"msg": "success",
|
|
65
|
+
"requestTime": 1683875302853,
|
|
66
|
+
"data": true
|
|
67
|
+
}'
|
|
68
|
+
recorded_at: Tue, 20 May 2025 15:12:45 GMT
|
|
69
|
+
recorded_with: VCR 6.3.1
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.bitget.com/api/v2/spot/account/transferRecords?coin=INVALID
|
|
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
|
+
- "+v5aGnNrFv8WbLTnQ1Si99sciNveC54DAUfSk3JY2ec="
|
|
20
|
+
Access-Timestamp:
|
|
21
|
+
- '1747574823154'
|
|
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:04 GMT
|
|
35
|
+
Content-Type:
|
|
36
|
+
- application/json
|
|
37
|
+
Content-Length:
|
|
38
|
+
- '89'
|
|
39
|
+
Connection:
|
|
40
|
+
- keep-alive
|
|
41
|
+
X-Mbx-Used-Remain-Limit:
|
|
42
|
+
- '19'
|
|
43
|
+
Access-Control-Allow-Origin:
|
|
44
|
+
- "*"
|
|
45
|
+
Access-Control-Allow-Methods:
|
|
46
|
+
- GET, POST, OPTIONS
|
|
47
|
+
Cf-Cache-Status:
|
|
48
|
+
- DYNAMIC
|
|
49
|
+
Set-Cookie:
|
|
50
|
+
- __cf_bm=a1COgzr5IVZX3ZdL9KxS97OCF7t6bjr__Nvsj6Y9J3Q-1747574824-1.0.1.1-5sPdLcFqrNwjsTMJ.hMdBXjd4UabxVCHBNRdICOzpPtwSqw7uo30dPNZDRkQXp1oOO421Sz3YI2B2qF3f9lGxLXzbC3gjaW9voDJ8a1fODI;
|
|
51
|
+
path=/; expires=Sun, 18-May-25 13:57:04 GMT; domain=.api.bitget.com; HttpOnly;
|
|
52
|
+
Secure; SameSite=None
|
|
53
|
+
X-Frame-Options:
|
|
54
|
+
- SAMEORIGIN
|
|
55
|
+
Server:
|
|
56
|
+
- cloudflare
|
|
57
|
+
Cf-Ray:
|
|
58
|
+
- 941bb09c7a6ddbdc-FRA
|
|
59
|
+
body:
|
|
60
|
+
encoding: ASCII-8BIT
|
|
61
|
+
string: ''
|
|
62
|
+
recorded_at: Sun, 18 May 2025 13:27:04 GMT
|
|
63
|
+
recorded_with: VCR 6.3.1
|