bitget 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.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +9 -0
  3. data/bitget.gemspec +1 -1
  4. data/lib/Bitget/VERSION.rb +1 -1
  5. data/test/fixtures/vcr_cassettes/v2/spot/account/assets-when_an_error_occurs.yml +69 -0
  6. data/test/fixtures/vcr_cassettes/v2/spot/account/assets.yml +69 -0
  7. data/test/fixtures/vcr_cassettes/v2/spot/account/bills-when_an_error_occurs.yml +63 -0
  8. data/test/fixtures/vcr_cassettes/v2/spot/account/bills.yml +69 -0
  9. data/test/fixtures/vcr_cassettes/v2/spot/account/bleradaf-info.yml +67 -0
  10. data/test/fixtures/vcr_cassettes/v2/spot/account/deduct-info-when_an_error_occurs.yml +63 -0
  11. data/test/fixtures/vcr_cassettes/v2/spot/account/deduct-info.yml +67 -0
  12. data/test/fixtures/vcr_cassettes/v2/spot/account/info-when_an_error_occurs.yml +67 -0
  13. data/test/fixtures/vcr_cassettes/v2/spot/account/info.yml +67 -0
  14. data/test/fixtures/vcr_cassettes/v2/spot/account/sub-main-trans-record-when_an_error_occurs.yml +67 -0
  15. data/test/fixtures/vcr_cassettes/v2/spot/account/sub-main-trans-record.yml +67 -0
  16. data/test/fixtures/vcr_cassettes/v2/spot/account/subaccount-assets-when_an_error_occurs.yml +67 -0
  17. data/test/fixtures/vcr_cassettes/v2/spot/account/subaccount-assets.yml +102 -0
  18. data/test/fixtures/vcr_cassettes/v2/spot/account/switch-deduct-when_an_error_occurs.yml +63 -0
  19. data/test/fixtures/vcr_cassettes/v2/spot/account/switch-deduct.yml +69 -0
  20. data/test/fixtures/vcr_cassettes/v2/spot/account/transferRecords-when_an_error_occurs.yml +63 -0
  21. data/test/fixtures/vcr_cassettes/v2/spot/account/transferRecords.yml +63 -0
  22. data/test/fixtures/vcr_cassettes/v2/spot/market/candles-when_an_error_occurs.yml +63 -0
  23. data/test/fixtures/vcr_cassettes/v2/spot/market/candles.yml +69 -0
  24. data/test/fixtures/vcr_cassettes/v2/spot/market/fills-history-when_an_error_occurs.yml +63 -0
  25. data/test/fixtures/vcr_cassettes/v2/spot/market/fills-history.yml +69 -0
  26. data/test/fixtures/vcr_cassettes/v2/spot/market/fills-when_an_error_occurs.yml +63 -0
  27. data/test/fixtures/vcr_cassettes/v2/spot/market/fills.yml +69 -0
  28. data/test/fixtures/vcr_cassettes/v2/spot/market/history-candles-when_an_error_occurs.yml +63 -0
  29. data/test/fixtures/vcr_cassettes/v2/spot/market/history-candles.yml +69 -0
  30. data/test/fixtures/vcr_cassettes/v2/spot/market/merge-depth-when_an_error_occurs.yml +63 -0
  31. data/test/fixtures/vcr_cassettes/v2/spot/market/merge-depth.yml +69 -0
  32. data/test/fixtures/vcr_cassettes/v2/spot/market/orderbook-when_an_error_occurs.yml +63 -0
  33. data/test/fixtures/vcr_cassettes/v2/spot/market/orderbook.yml +69 -0
  34. data/test/fixtures/vcr_cassettes/v2/spot/market/tickers-when_an_error_occurs.yml +69 -0
  35. data/test/fixtures/vcr_cassettes/v2/spot/market/tickers-when_symbol_is_not_supplied.yml +69 -0
  36. data/test/fixtures/vcr_cassettes/v2/spot/market/tickers-when_symbol_is_supplied.yml +67 -0
  37. data/test/fixtures/vcr_cassettes/v2/spot/market/vip-fee-rate-when_an_error_occurs.yml +69 -0
  38. data/test/fixtures/vcr_cassettes/v2/spot/market/vip-fee-rate.yml +69 -0
  39. data/test/fixtures/vcr_cassettes/v2/spot/public/coins-when_an_error_occurs.yml +69 -0
  40. data/test/fixtures/vcr_cassettes/v2/spot/public/coins-when_coin_is_not_supplied.yml +69 -0
  41. data/test/fixtures/vcr_cassettes/v2/spot/public/coins-when_coin_is_supplied.yml +69 -0
  42. data/test/fixtures/vcr_cassettes/v2/spot/public/coins-when_error_occurs.yml +64 -0
  43. data/test/fixtures/vcr_cassettes/v2/spot/public/symbols-when_an_error_occurs.yml +69 -0
  44. data/test/fixtures/vcr_cassettes/v2/spot/public/symbols-when_symbol_is_not_supplied.yml +69 -0
  45. data/test/fixtures/vcr_cassettes/v2/spot/public/symbols-when_symbol_is_supplied.yml +67 -0
  46. data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-cancel-order-when_an_error_occurs.yml +63 -0
  47. data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-cancel-order.yml +84 -0
  48. data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-cancel-plan-order-when_an_error_occurs.yml +67 -0
  49. data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-cancel-plan-order.yml +67 -0
  50. data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-cancel-replace-order-when_an_error_occurs.yml +63 -0
  51. data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-cancel-replace-order.yml +63 -0
  52. data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-orders-when_an_error_occurs.yml +63 -0
  53. data/test/fixtures/vcr_cassettes/v2/spot/trade/batch-orders.yml +67 -0
  54. data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-order-when_an_error_occurs.yml +63 -0
  55. data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-order.yml +73 -0
  56. data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-plan-order-when_an_error_occurs.yml +63 -0
  57. data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-plan-order.yml +72 -0
  58. data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-replace-order-when_an_error_occurs.yml +63 -0
  59. data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-replace-order.yml +68 -0
  60. data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-symbol-order-when_an_error_occurs.yml +63 -0
  61. data/test/fixtures/vcr_cassettes/v2/spot/trade/cancel-symbol-order.yml +67 -0
  62. data/test/fixtures/vcr_cassettes/v2/spot/trade/current-plan-order-when_an_error_occurs.yml +63 -0
  63. data/test/fixtures/vcr_cassettes/v2/spot/trade/current-plan-order.yml +67 -0
  64. data/test/fixtures/vcr_cassettes/v2/spot/trade/fills-when_an_error_occurs.yml +63 -0
  65. data/test/fixtures/vcr_cassettes/v2/spot/trade/fills.yml +95 -0
  66. data/test/fixtures/vcr_cassettes/v2/spot/trade/history-orders-when_an_error_occurs.yml +63 -0
  67. data/test/fixtures/vcr_cassettes/v2/spot/trade/history-orders.yml +97 -0
  68. data/test/fixtures/vcr_cassettes/v2/spot/trade/history-plan-order-when_an_error_occurs.yml +63 -0
  69. data/test/fixtures/vcr_cassettes/v2/spot/trade/history-plan-order.yml +63 -0
  70. data/test/fixtures/vcr_cassettes/v2/spot/trade/modify-plan-order-when_an_error_occurs.yml +63 -0
  71. data/test/fixtures/vcr_cassettes/v2/spot/trade/modify-plan-order.yml +63 -0
  72. data/test/fixtures/vcr_cassettes/v2/spot/trade/orderInfo-when_an_error_occurs.yml +61 -0
  73. data/test/fixtures/vcr_cassettes/v2/spot/trade/orderInfo.yml +61 -0
  74. data/test/fixtures/vcr_cassettes/v2/spot/trade/place-order-when_an_error_occurs.yml +63 -0
  75. data/test/fixtures/vcr_cassettes/v2/spot/trade/place-order.yml +67 -0
  76. data/test/fixtures/vcr_cassettes/v2/spot/trade/place-plan-order-when_an_error_occurs.yml +63 -0
  77. data/test/fixtures/vcr_cassettes/v2/spot/trade/place-plan-order.yml +67 -0
  78. data/test/fixtures/vcr_cassettes/v2/spot/trade/plan-sub-order-when_an_error_occurs.yml +63 -0
  79. data/test/fixtures/vcr_cassettes/v2/spot/trade/plan-sub-order.yml +75 -0
  80. data/test/fixtures/vcr_cassettes/v2/spot/trade/unfilled-orders-when_an_error_occurs.yml +63 -0
  81. data/test/fixtures/vcr_cassettes/v2/spot/trade/unfilled-orders.yml +97 -0
  82. data/test/fixtures/vcr_cassettes/v2/spot/wallet/cancel-withdrawal-when_an_error_occurs.yml +63 -0
  83. data/test/fixtures/vcr_cassettes/v2/spot/wallet/cancel-withdrawal.yml +63 -0
  84. data/test/fixtures/vcr_cassettes/v2/spot/wallet/deposit-address-when_an_error_occurs.yml +63 -0
  85. data/test/fixtures/vcr_cassettes/v2/spot/wallet/deposit-address.yml +67 -0
  86. data/test/fixtures/vcr_cassettes/v2/spot/wallet/deposit-records-when_an_error_occurs.yml +63 -0
  87. data/test/fixtures/vcr_cassettes/v2/spot/wallet/deposit-records.yml +63 -0
  88. data/test/fixtures/vcr_cassettes/v2/spot/wallet/modify-deposit-account-when_an_error_occurs.yml +63 -0
  89. data/test/fixtures/vcr_cassettes/v2/spot/wallet/modify-deposit-account.yml +63 -0
  90. data/test/fixtures/vcr_cassettes/v2/spot/wallet/subaccount-deposit-address-when_an_error_occurs.yml +63 -0
  91. data/test/fixtures/vcr_cassettes/v2/spot/wallet/subaccount-deposit-address.yml +63 -0
  92. data/test/fixtures/vcr_cassettes/v2/spot/wallet/subaccount-deposit-records-when_an_error_occurs.yml +63 -0
  93. data/test/fixtures/vcr_cassettes/v2/spot/wallet/subaccount-deposit-records.yml +63 -0
  94. data/test/fixtures/vcr_cassettes/v2/spot/wallet/subaccount-transfer-when_an_error_occurs.yml +63 -0
  95. data/test/fixtures/vcr_cassettes/v2/spot/wallet/subaccount-transfer.yml +63 -0
  96. data/test/fixtures/vcr_cassettes/v2/spot/wallet/transfer-coin-info-when_an_error_occurs.yml +63 -0
  97. data/test/fixtures/vcr_cassettes/v2/spot/wallet/transfer-coin-info.yml +69 -0
  98. data/test/fixtures/vcr_cassettes/v2/spot/wallet/transfer-when_an_error_occurs.yml +63 -0
  99. data/test/fixtures/vcr_cassettes/v2/spot/wallet/transfer.yml +63 -0
  100. data/test/fixtures/vcr_cassettes/v2/spot/wallet/withdrawal-records-when_an_error_occurs.yml +63 -0
  101. data/test/fixtures/vcr_cassettes/v2/spot/wallet/withdrawal-records.yml +67 -0
  102. data/test/fixtures/vcr_cassettes/v2/spot/wallet/withdrawal-when_an_error_occurs.yml +63 -0
  103. data/test/fixtures/vcr_cassettes/v2/spot/wallet/withdrawal.yml +73 -0
  104. data/test/gemspec_test.rb +4 -0
  105. metadata +100 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06e16bb92a8c569d1157f735ea42472a12f77c15a7893e737bf289ecfc353ae5
4
- data.tar.gz: e867fc04283352f0b975b61963d913f600e69f1636cdd3223f30ea0d187b56b9
3
+ metadata.gz: cd0a37af67f5ca479c698dd32161078f51cb1e27482b489bd18754b660bc9f10
4
+ data.tar.gz: 14a472ffb81f885f346de648fd8b2ed1cd1a699eb77e90adab53e3f202043784
5
5
  SHA512:
6
- metadata.gz: 40aafdc7b9ef500b4f19028badc7ea55e4442738fabedfca277035a0fe433dc30be7acfb0dd6024ce704d00524ab801c844f7de4e82f21b07eaf73ca77b3e976
7
- data.tar.gz: ea16974e6e0ef1851b900667e0836f17f5c9f3a2241c3cc3e7de7589dab03d67757e8783e4a5f41070291c250836000ba4124835e73e347ae7097cf0ece90cdc
6
+ metadata.gz: 5b2c0ce4758ab1bf0300347e5fe613edfafca550b8f0eead31714e54ac91836fdbd38e6b9bcc077ad6f3ae3784a0846d5e33af5b0c9b9923732ce501af6596fd
7
+ data.tar.gz: a6bc11ce5c9c4e2643a2c1a52a43cf39810c3e4cc07c397339a504f59c7208d535ebab5ebf37ebf4dffc2166657b6a03fd8d7bea3b46d2916d4e1e73c6658dcf
data/CHANGELOG CHANGED
@@ -1,5 +1,14 @@
1
1
  # bitget/CHANGELOG
2
2
 
3
+ ## 20261116
4
+
5
+ 0.9.2: ~ gemspec: + test fixtures
6
+
7
+ 1. ~ bitget.gemspec, bitget.rb.gemspec: spec.files: Dir['test/**/*.{rb,yml}'], not Dir['test/**/*.rb'], so that the tests ship with the cassettes they play back.
8
+ 2. ~ test/gemspec_test.rb: The cassettes ship.
9
+ 3. ~ Bitget::VERSION: /0.9.1/0.9.2/
10
+
11
+
3
12
  ## 20261115
4
13
 
5
14
  0.9.1: Fix the request log exposing the credentials.
data/bitget.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.files = [
22
22
  'bitget.gemspec',
23
23
  Dir['lib/**/*.rb'],
24
- Dir['test/**/*.rb'],
24
+ Dir['test/**/*.{rb,yml}'],
25
25
  'CHANGELOG',
26
26
  'Gemfile',
27
27
  'LICENSE',
@@ -2,5 +2,5 @@
2
2
  # Bitget::VERSION
3
3
 
4
4
  module Bitget
5
- VERSION = '0.9.1'
5
+ VERSION = '0.9.2'
6
6
  end
@@ -0,0 +1,69 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.bitget.com/api/v2/spot/account/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
+ - "/D6o1QU0oIKIJ4ZxcSd01CK0RpZRd10ZZ4gm+N6AcX0="
20
+ Access-Timestamp:
21
+ - '1747391311500'
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:32 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=Cl17XzqcdLc5u1BzCkVtrFsf8U6W0YWOvr4O6s8tMFk-1747391312-1.0.1.1-4Sk1oyNxzrn7rhmSOH0zyVNgs0Eq8eZ_IpX6gl.bMJamJkbOzJ8llL9y_NK2ekRqxBKDlZz0Hc_fUliiqWdAh48hawRBdWAKN5vuDaM8aBQ;
57
+ path=/; expires=Fri, 16-May-25 10:58:32 GMT; domain=.api.bitget.com; HttpOnly;
58
+ Secure; SameSite=None
59
+ X-Frame-Options:
60
+ - SAMEORIGIN
61
+ Server:
62
+ - cloudflare
63
+ Cf-Ray:
64
+ - 940a3057ce4c4f48-AMS
65
+ body:
66
+ encoding: ASCII-8BIT
67
+ string: ''
68
+ recorded_at: Fri, 16 May 2025 10:28:33 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/account/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
+ - wSHjOKfTMyscnLgja9T0LV6EDStU5dLcGxZkZh6I/gE=
20
+ Access-Timestamp:
21
+ - '1747391308332'
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 10:28:29 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=r0FQkGHxmXVQiWDJetXFYKORuuV_AfbxkINwPq.5Mac-1747391309-1.0.1.1-cyKJ.gaePhDX6vpYfaDvFBwwLwL_sot8dMo_2YyIlHtigFYEetYPWZ0LxUBKMwHKwwng7_pTqch7ZBCviYm7J10BCekvH3qURj9G78aLm1s;
57
+ path=/; expires=Fri, 16-May-25 10:58:29 GMT; domain=.api.bitget.com; HttpOnly;
58
+ Secure; SameSite=None
59
+ X-Frame-Options:
60
+ - SAMEORIGIN
61
+ Server:
62
+ - cloudflare
63
+ Cf-Ray:
64
+ - 940a30440b42d4d1-AMS
65
+ body:
66
+ encoding: ASCII-8BIT
67
+ string: '{"code":"00000","msg":"success","requestTime":1747391309583,"data":[{"coin":"BGB","available":"17.3437389000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557485856"},{"coin":"USDT","available":"21.1664998863856000","limitAvailable":"0","frozen":"169.0000000000000000","locked":"0.0000000000000000","uTime":"1745585822827"},{"coin":"ETH","available":"0.0802576600000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738556862180"},{"coin":"LTC","available":"1.1075913000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557185081"},{"coin":"BCH","available":"0.3329667000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738555774146"},{"coin":"ETC","available":"5.3594352000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557060429"},{"coin":"BNB","available":"0.1824174000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557557113"},{"coin":"LINK","available":"5.6122821000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738555306369"},{"coin":"TRX","available":"466.1688645000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738555541497"},{"coin":"XRP","available":"46.0368171000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557185703"},{"coin":"UNI","available":"12.2666211000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738555777678"},{"coin":"AAVE","available":"0.4475520000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557140365"},{"coin":"DOGE","available":"439.5846103000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557048411"},{"coin":"SHIB","available":"7591185.4103055000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557119527"},{"coin":"ICP","available":"16.0688151000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738556960705"},{"coin":"SOL","available":"0.5179815000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557572004"},{"coin":"ADA","available":"151.2718058000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738555792317"},{"coin":"DOT","available":"23.2055712000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738555828732"},{"coin":"XLM","available":"324.7549200000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557233057"},{"coin":"LDO","available":"61.9726653000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557196378"},{"coin":"AVAX","available":"4.1886072000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738555819713"},{"coin":"CRO","available":"1079.9998191000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557060513"},{"coin":"TON","available":"29.0009700000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738556944815"},{"coin":"FLOKI","available":"0.0098200000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1736075436665"},{"coin":"ALGO","available":"388.4112000000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557056667"},{"coin":"XDC","available":"112.0212000000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1736979821897"},{"coin":"NEAR","available":"31.4485200000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738555816104"},{"coin":"APT","available":"19.1208600000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738555656863"},{"coin":"TAO","available":"0.3446550000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738556907344"},{"coin":"STETH","available":"0.0403596000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557213799"},{"coin":"PEPE","available":"11063122.8030000000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738555745913"},{"coin":"KAS","available":"1060.9380000000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738555831913"},{"coin":"SUI","available":"35.6742900000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738556963625"},{"coin":"HBAR","available":"465.9435900000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557104811"},{"coin":"VET","available":"3149.4274200000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738555679305"},{"coin":"POL","available":"353.7459000000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557070767"},{"coin":"ONDO","available":"91.1887200000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557509853"},{"coin":"JUP","available":"121.0987800000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557538879"},{"coin":"ETHFI","available":"4.7229619900000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1747361484111"},{"coin":"OM","available":"20.5594200000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557691178"},{"coin":"RENDER","available":"25.1548200000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738556984937"},{"coin":"GOAT","available":"26.5005050000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1737945512438"},{"coin":"WEETH","available":"0.0378621000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557253701"},{"coin":"PNUT","available":"70.7645400000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1737938014346"},{"coin":"HYPE","available":"18.5546400000000000","limitAvailable":"0","frozen":"0.0000000000000000","locked":"0.0000000000000000","uTime":"1738557597878"}]}'
68
+ recorded_at: Fri, 16 May 2025 10:28:29 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/bills?businessType=deposit&coin=BTC&groupType=transfer
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
+ - pLa00IPpsKwhUyG+JpxdIuugb1y1E+e9nX7P/eLZYyA=
20
+ Access-Timestamp:
21
+ - '1747574725659'
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:27 GMT
35
+ Content-Type:
36
+ - application/json
37
+ Content-Length:
38
+ - '97'
39
+ Connection:
40
+ - keep-alive
41
+ X-Mbx-Used-Remain-Limit:
42
+ - '9'
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=fFt73P.M8ZmoiEOQJW5_KHp.FHuttgvDdTHHxpZJH9c-1747574727-1.0.1.1-IautPXZLv6pTzywIJQz8nksjTupbTHCoiis_nQzczs9NehXBCYUqzNwOqq8mW15IR_7E5zUeYrmNWIjNZ2UuZJWYX5_7swEPUMgDffl8LTk;
51
+ path=/; expires=Sun, 18-May-25 13:55:27 GMT; domain=.api.bitget.com; HttpOnly;
52
+ Secure; SameSite=None
53
+ X-Frame-Options:
54
+ - SAMEORIGIN
55
+ Server:
56
+ - cloudflare
57
+ Cf-Ray:
58
+ - 941bae3afd8c5c2c-FRA
59
+ body:
60
+ encoding: UTF-8
61
+ string: ''
62
+ recorded_at: Sun, 18 May 2025 13:25:27 GMT
63
+ 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/account/bills
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
+ - AIDH3FKnTufP/Q4yimqZZCOmOVDS/wy7EG4VdkpOPZU=
20
+ Access-Timestamp:
21
+ - '1747755392684'
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:36:35 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=yESDaqYBBgXkt6EXUrDoow9xF.bRuaCwCiwRRmCXk7c-1747755395-1.0.1.1-NL1tojh7OViNxZPqsPJqKQCTn9Ql_JPIeOR0VZmzwtui3Ni8.uxm51bAstZi5s03UNrfi_FY2rTWE.0l7r2_bRwA5U9IhqsMKTsi5hUCsPE;
57
+ path=/; expires=Tue, 20-May-25 16:06:35 GMT; domain=.api.bitget.com; HttpOnly;
58
+ Secure; SameSite=None
59
+ X-Frame-Options:
60
+ - SAMEORIGIN
61
+ Server:
62
+ - cloudflare
63
+ Cf-Ray:
64
+ - 942ce915fd42b8e1-AMS
65
+ body:
66
+ encoding: ASCII-8BIT
67
+ string: '{"code":"00000","msg":"success","requestTime":1747755395643,"data":[{"billId":"1308557789250371585","bizOrderId":"1308557789165465730","coin":"USDT","groupType":"transaction","businessType":"ORDER_DEALT_FROZEN_OUT","size":"-0.00002677","balance":"183.47399988","fees":"0.00000000","cTime":"1747710409442"},{"billId":"1308557789250371584","bizOrderId":"1308557789165465730","coin":"TRX","groupType":"transaction","businessType":"ORDER_DEALT_IN","size":"0.00010000","balance":"491.14386450","fees":"-0.00000010","cTime":"1747710409442"},{"billId":"1308557788944187411","bizOrderId":"1308557788897030152","coin":"USDT","groupType":"transaction","businessType":"ORDER_DEALT_FROZEN_OUT","size":"-6.69247323","balance":"183.47402665","fees":"0.00000000","cTime":"1747710409378"},{"billId":"1308557788944187402","bizOrderId":"1308557788897030152","coin":"TRX","groupType":"transaction","businessType":"ORDER_DEALT_IN","size":"24.99990000","balance":"491.14376460","fees":"-0.02499990","cTime":"1747710409378"},{"billId":"1308543753758621700","bizOrderId":"52084504","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.01012607","balance":"4.76357924","fees":"0.00000000","cTime":"1747707061770"},{"billId":"1308181378505293824","bizOrderId":"52059994","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.01004521","balance":"4.75345317","fees":"0.00000000","cTime":"1747620661917"},{"billId":"1307818977809317888","bizOrderId":"52037041","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.01048082","balance":"4.74340796","fees":"0.00000000","cTime":"1747534262421"},{"billId":"1307456590233124871","bizOrderId":"52020713","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.00996515","balance":"4.73292714","fees":"0.00000000","cTime":"1747447861740"},{"billId":"1307094290254970882","bizOrderId":"52001082","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.01778502","balance":"4.72296199","fees":"0.00000000","cTime":"1747361482639"},{"billId":"1306731902511005696","bizOrderId":"51977770","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.01886677","balance":"4.70517697","fees":"0.00000000","cTime":"1747275082327"},{"billId":"1306369514603462659","bizOrderId":"51948839","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.01881035","balance":"4.68631020","fees":"0.00000000","cTime":"1747188682515"},{"billId":"1306007126695919619","bizOrderId":"51925642","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.02383344","balance":"4.66749985","fees":"0.00000000","cTime":"1747102282584"},{"billId":"1305644738784182273","bizOrderId":"51900711","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.02352313","balance":"4.64366641","fees":"0.00000000","cTime":"1747015882581"},{"billId":"1305282350985691137","bizOrderId":"51885573","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.02226050","balance":"4.62014328","fees":"0.00000000","cTime":"1746929482615"},{"billId":"1304919963162034176","bizOrderId":"51866518","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03044356","balance":"4.59788278","fees":"0.00000000","cTime":"1746843082434"},{"billId":"1304557575271268355","bizOrderId":"51845777","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03054365","balance":"4.56743922","fees":"0.00000000","cTime":"1746756682737"},{"billId":"1304195200630308866","bizOrderId":"51826119","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03200750","balance":"4.53689557","fees":"0.00000000","cTime":"1746670282854"},{"billId":"1303832799464570892","bizOrderId":"51800736","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03624781","balance":"4.50488807","fees":"0.00000000","cTime":"1746583883056"},{"billId":"1303470411586387968","bizOrderId":"51774490","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03584500","balance":"4.46864026","fees":"0.00000000","cTime":"1746497482934"},{"billId":"1303108023733370881","bizOrderId":"51749198","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03478910","balance":"4.43279526","fees":"0.00000000","cTime":"1746411082345"},{"billId":"1302745635947462656","bizOrderId":"51731495","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03442525","balance":"4.39800616","fees":"0.00000000","cTime":"1746324682549"},{"billId":"1302383248035725313","bizOrderId":"51713615","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03187356","balance":"4.36358091","fees":"0.00000000","cTime":"1746238282977"},{"billId":"1302020860245622785","bizOrderId":"51694263","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03094389","balance":"4.33170735","fees":"0.00000000","cTime":"1746151882751"},{"billId":"1301658472283553795","bizOrderId":"51664788","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03126467","balance":"4.30076346","fees":"0.00000000","cTime":"1746065482672"},{"billId":"1301296084430536704","bizOrderId":"51635780","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03115683","balance":"4.26949879","fees":"0.00000000","cTime":"1745979083112"},{"billId":"1300933696522993667","bizOrderId":"51593210","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03102264","balance":"4.23834196","fees":"0.00000000","cTime":"1745892683011"},{"billId":"1300571308695142401","bizOrderId":"51570575","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03272093","balance":"4.20731932","fees":"0.00000000","cTime":"1745806282105"},{"billId":"1300208920795987974","bizOrderId":"51551187","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03060022","balance":"4.17459839","fees":"0.00000000","cTime":"1745719882330"},{"billId":"1299846520435556353","bizOrderId":"51531859","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.02927252","balance":"4.14399817","fees":"0.00000000","cTime":"1745633480680"},{"billId":"1299484132607705092","bizOrderId":"51510966","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03067780","balance":"4.11472565","fees":"0.00000000","cTime":"1745547080641"},{"billId":"1299121744721133568","bizOrderId":"51490134","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03130409","balance":"4.08404785","fees":"0.00000000","cTime":"1745460680461"},{"billId":"1298759356977168387","bizOrderId":"51409937","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.03316029","balance":"4.05274376","fees":"0.00000000","cTime":"1745374280942"},{"billId":"1298396982076162058","bizOrderId":"51378593","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04373133","balance":"4.01958347","fees":"0.00000000","cTime":"1745287881499"},{"billId":"1298034606957051906","bizOrderId":"51351384","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04841687","balance":"3.97585214","fees":"0.00000000","cTime":"1745201481795"},{"billId":"1297672206676312068","bizOrderId":"51333692","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04882212","balance":"3.92743527","fees":"0.00000000","cTime":"1745115081178"},{"billId":"1297309730453504012","bizOrderId":"51310596","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05151765","balance":"3.87861315","fees":"0.00000000","cTime":"1745028662052"},{"billId":"1296947431851081733","bizOrderId":"51288643","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05388012","balance":"3.82709550","fees":"0.00000000","cTime":"1744942281157"},{"billId":"1296585030349037571","bizOrderId":"51265986","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05437021","balance":"3.77321538","fees":"0.00000000","cTime":"1744855880296"},{"billId":"1296222655183790096","bizOrderId":"51238500","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05293183","balance":"3.71884517","fees":"0.00000000","cTime":"1744769480694"},{"billId":"1295860267872600066","bizOrderId":"51216425","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05092637","balance":"3.66591334","fees":"0.00000000","cTime":"1744683081312"},{"billId":"1295826283859984385","bizOrderId":"1295825777962659840","coin":"USDT","groupType":"withdraw","businessType":"WITHDRAW","size":"-3000.00000000","balance":"190.16649988","fees":"0.00000000","cTime":"1744674982031"},{"billId":"1295825190178439168","bizOrderId":"1295825189997600768","coin":"USDT","groupType":"transfer","businessType":"TRANSFER_IN","size":"3000.00000000","balance":"3190.16649988","fees":"0.00000000","cTime":"1744674721240"},{"billId":"1295698063936372737","bizOrderId":"1295697472299085824","coin":"USDT","groupType":"withdraw","businessType":"WITHDRAW","size":"-2000.00000000","balance":"190.16649988","fees":"0.00000000","cTime":"1744644412019"},{"billId":"1295696553995321360","bizOrderId":"1295696022202363904","coin":"USDT","groupType":"withdraw","businessType":"WITHDRAW","size":"-10.00000000","balance":"2190.16649988","fees":"0.00000000","cTime":"1744644052021"},{"billId":"1295497879499489281","bizOrderId":"51194935","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04943451","balance":"3.61498697","fees":"0.00000000","cTime":"1744596681151"},{"billId":"1295135491562586115","bizOrderId":"51175052","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04704671","balance":"3.56555246","fees":"0.00000000","cTime":"1744510281721"},{"billId":"1294773103206252545","bizOrderId":"51155033","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04795619","balance":"3.51850575","fees":"0.00000000","cTime":"1744423881326"},{"billId":"1294410702854209539","bizOrderId":"51135857","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04741560","balance":"3.47054956","fees":"0.00000000","cTime":"1744337481030"},{"billId":"1294048328053866496","bizOrderId":"51116052","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04907015","balance":"3.42313396","fees":"0.00000000","cTime":"1744251081433"},{"billId":"1293685927303364629","bizOrderId":"51092639","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04780104","balance":"3.37406381","fees":"0.00000000","cTime":"1744164680114"},{"billId":"1293323539706200068","bizOrderId":"51067519","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04842655","balance":"3.32626277","fees":"0.00000000","cTime":"1744078280374"},{"billId":"1292961151467307009","bizOrderId":"51046363","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05138736","balance":"3.27783622","fees":"0.00000000","cTime":"1743991880283"},{"billId":"1292598763589124097","bizOrderId":"51027454","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05233013","balance":"3.22644886","fees":"0.00000000","cTime":"1743905480194"},{"billId":"1292236375765467149","bizOrderId":"51008334","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05348696","balance":"3.17411873","fees":"0.00000000","cTime":"1743819080433"},{"billId":"1291873988398989320","bizOrderId":"50969853","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05349667","balance":"3.12063177","fees":"0.00000000","cTime":"1743732680799"},{"billId":"1291511599958769671","bizOrderId":"50942916","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05490091","balance":"3.06713510","fees":"0.00000000","cTime":"1743646280505"},{"billId":"1291149212172861442","bizOrderId":"50911570","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.06623701","balance":"3.01223419","fees":"0.00000000","cTime":"1743559880247"},{"billId":"1290786799124660225","bizOrderId":"50887195","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.06291582","balance":"2.94599718","fees":"0.00000000","cTime":"1743473474275"},{"billId":"1290424411158396928","bizOrderId":"50866069","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.06093535","balance":"2.88308136","fees":"0.00000000","cTime":"1743387074186"},{"billId":"1290062023468957701","bizOrderId":"50848095","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.06153429","balance":"2.82214601","fees":"0.00000000","cTime":"1743300674261"},{"billId":"1289699635737575424","bizOrderId":"50827894","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.06085730","balance":"2.76061172","fees":"0.00000000","cTime":"1743214274050"},{"billId":"1289337247679037455","bizOrderId":"50797717","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05741301","balance":"2.69975442","fees":"0.00000000","cTime":"1743127874123"},{"billId":"1288974872341823520","bizOrderId":"50753260","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05834178","balance":"2.64234141","fees":"0.00000000","cTime":"1743041475020"},{"billId":"1288614962944983046","bizOrderId":"50711210","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05903036","balance":"2.58399963","fees":"0.00000000","cTime":"1742955668087"},{"billId":"1288252574928388096","bizOrderId":"50690562","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.06090460","balance":"2.52496927","fees":"0.00000000","cTime":"1742869268187"},{"billId":"1287890187029233673","bizOrderId":"50666432","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.06107455","balance":"2.46406467","fees":"0.00000000","cTime":"1742782868006"},{"billId":"1287527799096524800","bizOrderId":"50647180","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05958327","balance":"2.40299012","fees":"0.00000000","cTime":"1742696468017"},{"billId":"1287165411184787456","bizOrderId":"50626805","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.06130113","balance":"2.34340685","fees":"0.00000000","cTime":"1742610068875"},{"billId":"1286803023524708361","bizOrderId":"50602517","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05910118","balance":"2.28210572","fees":"0.00000000","cTime":"1742523668660"},{"billId":"1286440635566833674","bizOrderId":"50573324","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05848394","balance":"2.22300454","fees":"0.00000000","cTime":"1742437268869"},{"billId":"1286078247684456453","bizOrderId":"50549257","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05689531","balance":"2.16452060","fees":"0.00000000","cTime":"1742350868039"},{"billId":"1285715859755941900","bizOrderId":"50517271","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05604732","balance":"2.10762529","fees":"0.00000000","cTime":"1742264468193"},{"billId":"1285353471869370370","bizOrderId":"50494651","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05577703","balance":"2.05157797","fees":"0.00000000","cTime":"1742178068154"},{"billId":"1284991084142182400","bizOrderId":"50473362","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05498401","balance":"1.99580094","fees":"0.00000000","cTime":"1742091668625"},{"billId":"1284628696456937474","bizOrderId":"50440907","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05574438","balance":"1.94081693","fees":"0.00000000","cTime":"1742005268562"},{"billId":"1284266308285153288","bizOrderId":"50397775","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05599237","balance":"1.88507255","fees":"0.00000000","cTime":"1741918868330"},{"billId":"1283903920604102656","bizOrderId":"50363234","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05541624","balance":"1.82908018","fees":"0.00000000","cTime":"1741832468325"},{"billId":"1283541532570730502","bizOrderId":"50337024","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05605704","balance":"1.77366394","fees":"0.00000000","cTime":"1741746068160"},{"billId":"1283179144642215959","bizOrderId":"50315861","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05859251","balance":"1.71760690","fees":"0.00000000","cTime":"1741659668270"},{"billId":"1282816756847919104","bizOrderId":"50265134","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05929701","balance":"1.65901439","fees":"0.00000000","cTime":"1741573268169"},{"billId":"1282454369141702657","bizOrderId":"50242565","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05527264","balance":"1.59971738","fees":"0.00000000","cTime":"1741486867999"},{"billId":"1282091981200605184","bizOrderId":"50220482","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05278785","balance":"1.54444474","fees":"0.00000000","cTime":"1741400468815"},{"billId":"1281729593314033677","bizOrderId":"50188524","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05273790","balance":"1.49165689","fees":"0.00000000","cTime":"1741314068382"},{"billId":"1281367205477793804","bizOrderId":"50163092","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05242278","balance":"1.43891899","fees":"0.00000000","cTime":"1741227668819"},{"billId":"1281004830513872903","bizOrderId":"50135962","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05106512","balance":"1.38649621","fees":"0.00000000","cTime":"1741141269923"},{"billId":"1280642444187582480","bizOrderId":"50107905","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05171285","balance":"1.33543109","fees":"0.00000000","cTime":"1741054870495"},{"billId":"1280280054439862274","bizOrderId":"50085518","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04790942","balance":"1.28371824","fees":"0.00000000","cTime":"1740968469876"},{"billId":"1279917666934972417","bizOrderId":"50065342","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04741043","balance":"1.23580882","fees":"0.00000000","cTime":"1740882070319"},{"billId":"1279555278553473025","bizOrderId":"50044493","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04706544","balance":"1.18839839","fees":"0.00000000","cTime":"1740795669913"},{"billId":"1279192891090526224","bizOrderId":"50022408","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04777008","balance":"1.14133295","fees":"0.00000000","cTime":"1740709270079"},{"billId":"1278830503061348393","bizOrderId":"49964675","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04776815","balance":"1.09356287","fees":"0.00000000","cTime":"1740622869871"},{"billId":"1278468115359326208","bizOrderId":"49938871","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05079284","balance":"1.04579472","fees":"0.00000000","cTime":"1740536469894"},{"billId":"1278116763290558469","bizOrderId":"49916874","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.05345299","balance":"0.99500188","fees":"0.00000000","cTime":"1740452701360"},{"billId":"1277753871546441735","bizOrderId":"49895313","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04912850","balance":"0.94154889","fees":"0.00000000","cTime":"1740366181436"},{"billId":"1277391232223928321","bizOrderId":"49874790","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04694004","balance":"0.89242039","fees":"0.00000000","cTime":"1740279721271"},{"billId":"1277032619412283401","bizOrderId":"49854145","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04709574","balance":"0.84548035","fees":"0.00000000","cTime":"1740194220710"},{"billId":"1276671992399388680","bizOrderId":"49818495","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04743974","balance":"0.79838461","fees":"0.00000000","cTime":"1740108241224"},{"billId":"1276308598194429990","bizOrderId":"49776608","coin":"ETHFI","groupType":"other","businessType":"ACTIVITY_ASSET_REWARD_USER_IN","size":"0.04846359","balance":"0.75094487","fees":"0.00000000","cTime":"1740021600908"}]}'
68
+ recorded_at: Tue, 20 May 2025 15:36:34 GMT
69
+ 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
+ - Irs8SCK6HuZIhZrUN2z98Wygdhus246n1X97DaNIqKQ=
20
+ Access-Timestamp:
21
+ - '1747391313057'
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 10:28:34 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=bUhaN.S3dcMxwnsSmFYjnNtuclC2Ygrh8ynAG2lEvUc-1747391314-1.0.1.1-iVPjy_S9jGrmZXxlckgTVUfLoduQ8WA56LxX.XR2Jl9x.A8zTM.3gouJ0N8mAR3ipgVuuH7sVHPU5q4PqEnjpCjUNzy1RsvUZL5qaKfwdUo;
55
+ path=/; expires=Fri, 16-May-25 10:58:34 GMT; domain=.api.bitget.com; HttpOnly;
56
+ Secure; SameSite=None
57
+ X-Frame-Options:
58
+ - SAMEORIGIN
59
+ Server:
60
+ - cloudflare
61
+ Cf-Ray:
62
+ - 940a3061aaae0bc5-AMS
63
+ body:
64
+ encoding: ASCII-8BIT
65
+ string: '{"code":"00000","msg":"success","requestTime":1747391314333,"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 10:28:34 GMT
67
+ 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/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
+ - luOVqjs0blFJQPLuNSIy14tR5ykIXYXDK3Ur7Gwghwk=
20
+ Access-Timestamp:
21
+ - '1747574800738'
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:42 GMT
35
+ Content-Type:
36
+ - application/json
37
+ Content-Length:
38
+ - '85'
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=IgTKU4c3oNMDxnvp_EkIAJ3gU2V0_GfubMddVxOwzlQ-1747574802-1.0.1.1-n_xXE6BX2_1f.67GYdq_2pw2vbp5WBR2JQAgh1uDf5yWe6OjVe2g1UANK2Xot67p3YW7IIVqP66HzRZQX5ge_Tzeebm.j43rG75Bmj_f5OI;
51
+ path=/; expires=Sun, 18-May-25 13:56:42 GMT; domain=.api.bitget.com; HttpOnly;
52
+ Secure; SameSite=None
53
+ X-Frame-Options:
54
+ - SAMEORIGIN
55
+ Server:
56
+ - cloudflare
57
+ Cf-Ray:
58
+ - 941bb0106978fba1-AMS
59
+ body:
60
+ encoding: UTF-8
61
+ string: ''
62
+ recorded_at: Sun, 18 May 2025 13:26:42 GMT
63
+ 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/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