crypto-service 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crypto/version.rb +1 -1
- data/spec/fixtures/coinex/cx_balance_info.json +22 -0
- data/spec/fixtures/coinex/cx_error.json +6 -0
- data/spec/fixtures/coinex/cx_order_limit.json +7 -0
- data/spec/fixtures/coinex/cx_order_market.json +29 -0
- data/spec/fixtures/coinpaprika/coinpaprika_exchanges.json +2655 -0
- data/spec/fixtures/coinpaprika/coinpaprika_info.json +443 -0
- data/spec/fixtures/crypto_listing_info.json +4037 -0
- data/spec/fixtures/crypto_listing_info_fail.json +18 -0
- data/spec/fixtures/crypto_top_info.json +4245 -0
- data/spec/fixtures/gecko/gecko_coin_exchanges.json +4860 -0
- data/spec/fixtures/gecko/gecko_coin_info.json +64007 -0
- data/spec/fixtures/gecko/gecko_coin_info_fail.json +64002 -0
- data/spec/fixtures/test/crypto_buy.json +44 -0
- data/spec/fixtures/test/crypto_listing.json +33 -0
- metadata +31 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be4d060ae79ae7ee1ae22306b5fc62d91b89acda8265b287fbc7d2b0858acfa4
|
4
|
+
data.tar.gz: 4e1948a84ee2ab439c41b9ab15f30bb357ba3ac0214bc0d6a0a4ab3b2d7b4439
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aea9190bcaeeb1fac078afbc71e0597496fc6b05b4509a458437b6a7f09b43d0e5af80c0b97d4660e57e487d3d7df1a61d9ac35270258a44ea542161ba9a4f5a
|
7
|
+
data.tar.gz: 8b557573f59ba140d4f30842ec2685ea76b970beeaeb99a8c13286232607647a9af709a3b6acd7b4e7251f56cfc068319b52ba2db6b33a2af03950cbd4b273b1
|
data/lib/crypto/version.rb
CHANGED
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"code": 0,
|
3
|
+
"data": {
|
4
|
+
"BTC": {
|
5
|
+
"available": "9080.84156954",
|
6
|
+
"frozen": "1"
|
7
|
+
},
|
8
|
+
"USDT": {
|
9
|
+
"available" : "43724611.65252752",
|
10
|
+
"frozen": "1897.84472856"
|
11
|
+
},
|
12
|
+
"CET": {
|
13
|
+
"available": "6524.13695056",
|
14
|
+
"frozen": "0"
|
15
|
+
},
|
16
|
+
"ETH": {
|
17
|
+
" available": "10000",
|
18
|
+
"frozen": "0"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"message": "Success"
|
22
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
{
|
2
|
+
"code": 0,
|
3
|
+
"data": {
|
4
|
+
"id": 35435973,
|
5
|
+
"create_time": 1636020409,
|
6
|
+
"finished_time": null,
|
7
|
+
"amount": 43724611,
|
8
|
+
"price": " 0",
|
9
|
+
"deal_amount": "1",
|
10
|
+
"deal_money": "54334.4024000000000000",
|
11
|
+
"deal_fee": "0",
|
12
|
+
"stock_fee": "0",
|
13
|
+
"money_fee": "0",
|
14
|
+
" asset_fee": "30.427265344000000000000000",
|
15
|
+
"fee_asset": "CET",
|
16
|
+
"fee_discount": "0.70",
|
17
|
+
"avg_price": "54334.4024",
|
18
|
+
"market": "BTCUSDT",
|
19
|
+
"left": "0.00000000 ",
|
20
|
+
"maker_fee_rate": "0",
|
21
|
+
"taker_fee_rate": "0.0016",
|
22
|
+
"order_type": "market",
|
23
|
+
"type": "sell",
|
24
|
+
"status": "done",
|
25
|
+
"client_id ": "",
|
26
|
+
"source_id": "1234"
|
27
|
+
},
|
28
|
+
"message": "Success"
|
29
|
+
}
|