kraken_client 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +61 -0
- data/LICENSE.md +24 -0
- data/Rakefile +1 -0
- data/fixtures/vcr_cassettes/add_order.yml +41 -0
- data/fixtures/vcr_cassettes/assets.yml +45 -0
- data/fixtures/vcr_cassettes/assets_pairs.yml +45 -0
- data/fixtures/vcr_cassettes/balance.yml +41 -0
- data/fixtures/vcr_cassettes/cancel_order.yml +41 -0
- data/fixtures/vcr_cassettes/closed_orders.yml +134 -0
- data/fixtures/vcr_cassettes/ledgers.yml +41 -0
- data/fixtures/vcr_cassettes/open_orders.yml +43 -0
- data/fixtures/vcr_cassettes/order_book.yml +43 -0
- data/fixtures/vcr_cassettes/query_ledgers.yml +41 -0
- data/fixtures/vcr_cassettes/query_orders.yml +43 -0
- data/fixtures/vcr_cassettes/query_trades.yml +41 -0
- data/fixtures/vcr_cassettes/server_time.yml +44 -0
- data/fixtures/vcr_cassettes/spread.yml +43 -0
- data/fixtures/vcr_cassettes/ticker.yml +43 -0
- data/fixtures/vcr_cassettes/trade_balance.yml +41 -0
- data/fixtures/vcr_cassettes/trade_volume.yml +41 -0
- data/fixtures/vcr_cassettes/trades.yml +43 -0
- data/fixtures/vcr_cassettes/trades_history.yml +41 -0
- data/kraken_rb.gemspec +33 -0
- data/lib/configurable.rb +13 -0
- data/lib/configuration.rb +19 -0
- data/lib/exceptions.rb +6 -0
- data/lib/kraken_client/application.rb +45 -0
- data/lib/kraken_client/endpoints/base.rb +43 -0
- data/lib/kraken_client/endpoints/private.rb +45 -0
- data/lib/kraken_client/endpoints/public.rb +33 -0
- data/lib/kraken_client/requests/base.rb +35 -0
- data/lib/kraken_client/requests/content/body.rb +18 -0
- data/lib/kraken_client/requests/content/header.rb +61 -0
- data/lib/kraken_client/requests/get.rb +13 -0
- data/lib/kraken_client/requests/limiter.rb +78 -0
- data/lib/kraken_client/requests/post.rb +38 -0
- data/lib/kraken_client.rb +15 -0
- data/lib/version.rb +3 -0
- data/readme.md +280 -0
- data/spec/requests/private_spec.rb +104 -0
- data/spec/requests/public_spec.rb +57 -0
- metadata +229 -0
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.kraken.com/0/private/Ledgers
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: nonce=943911226341167997
|
9
|
+
headers:
|
10
|
+
Api-Key:
|
11
|
+
- COMPUTED
|
12
|
+
Api-Sign:
|
13
|
+
- COMPUTED
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- cloudflare-nginx
|
21
|
+
Date:
|
22
|
+
- Sun, 23 Aug 2015 01:43:51 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Set-Cookie:
|
30
|
+
- __cfduid=COMPUTED; expires=Mon, 22-Aug-16
|
31
|
+
01:43:50 GMT; path=/; domain=.kraken.com; HttpOnly
|
32
|
+
Vary:
|
33
|
+
- Accept-Encoding
|
34
|
+
Cf-Ray:
|
35
|
+
- COMPUTED
|
36
|
+
body:
|
37
|
+
encoding: UTF-8
|
38
|
+
string: '{"error":[],"result":{"ledger":{"LRSNYS-DICDD-3QM34P":{"refid":"TGGPX6-6RB25-OBRPHS","time":1440193797.3844,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"1226.9568","fee":"1.9631","balance":"1433.0939"},"L4SSBD-VBL7H-JBZEFL":{"refid":"TGGPX6-6RB25-OBRPHS","time":1440193797.3831,"type":"trade","aclass":"currency","asset":"XETH","amount":"-941.2859340200","fee":"0.0000000000","balance":"99.7497224800"},"LWJLTE-AQPZC-5UV7A7":{"refid":"TKCPEI-IOJ3V-OWYLD6","time":1440189051.7174,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"10.3503","fee":"0.0166","balance":"208.1002"},"LK53A4-VFCHG-6P4ZMK":{"refid":"TKCPEI-IOJ3V-OWYLD6","time":1440189051.7161,"type":"trade","aclass":"currency","asset":"XETH","amount":"-8.1498496400","fee":"0.0000000000","balance":"1041.0356565000"},"LZLYUH-UMJGJ-6ZPFHT":{"refid":"TXMKZY-UJRDU-UXA3RQ","time":1440189045.1347,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"20.6917","fee":"0.0331","balance":"197.7665"},"LJT2E4-ZYIQG-JXFUJA":{"refid":"TXMKZY-UJRDU-UXA3RQ","time":1440189045.1333,"type":"trade","aclass":"currency","asset":"XETH","amount":"-16.2926942200","fee":"0.0000000000","balance":"1049.1855061400"},"L6XEVO-XAKIB-2LTPKU":{"refid":"TUQDI7-2A2VX-4J3J6P","time":1440188566.4002,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"36.6992","fee":"0.0587","balance":"177.1079"},"LLLKWK-K6GOA-CYXPQK":{"refid":"TUQDI7-2A2VX-4J3J6P","time":1440188566.3972,"type":"trade","aclass":"currency","asset":"XETH","amount":"-28.8970424100","fee":"0.0000000000","balance":"1065.4782003600"},"LQKFCR-VJBD2-CMKFVJ":{"refid":"TDKDI7-GLJU6-AXPDJI","time":1440188551.6082,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"8.4125","fee":"0.0135","balance":"140.4674"},"LL4EVM-R6P6I-5ZEG4L":{"refid":"TDKDI7-GLJU6-AXPDJI","time":1440188551.6069,"type":"trade","aclass":"currency","asset":"XETH","amount":"-6.6240000000","fee":"0.0000000000","balance":"1094.3752427700"},"L67DZQ-QSNUT-OZJ2RY":{"refid":"T76GH4-6WSNO-BR5C6F","time":1440188544.5309,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"0.0011","fee":"0.0000","balance":"132.0684"},"LDENTJ-UFQWY-MBLXXX":{"refid":"T76GH4-6WSNO-BR5C6F","time":1440188544.5297,"type":"trade","aclass":"currency","asset":"XETH","amount":"-0.0008572300","fee":"0.0000000000","balance":"1100.9992427700"},"LNRMMB-IXCAX-EIFBBQ":{"refid":"T6BPBS-CKEOT-5RV3IV","time":1440184482.1955,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"-599.4872","fee":"0.9592","balance":"132.0673"},"LQIZP4-7IZBC-SJZ7DH":{"refid":"T6BPBS-CKEOT-5RV3IV","time":1440184482.1942,"type":"trade","aclass":"currency","asset":"XETH","amount":"479.5859173900","fee":"0.0000000000","balance":"1101.0001000000"},"LQY46I-YTXVS-VU4KJN":{"refid":"T6ZXO4-PRCTQ-NKWANC","time":1440184480.893,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"-33.1329","fee":"0.0530","balance":"732.5137"},"LD57SD-VVHA3-P3OVT5":{"refid":"T6ZXO4-PRCTQ-NKWANC","time":1440184480.8917,"type":"trade","aclass":"currency","asset":"XETH","amount":"26.5061000000","fee":"0.0000000000","balance":"621.4141826100"},"LXPBFA-Q7D3Z-HKMG6R":{"refid":"TJOUGD-NBNFP-FW32TP","time":1440184480.7624,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"-74.8226","fee":"0.1197","balance":"765.6996"},"L7ZLLC-BYRSL-RWQLRB":{"refid":"TJOUGD-NBNFP-FW32TP","time":1440184480.7612,"type":"trade","aclass":"currency","asset":"XETH","amount":"59.8576000000","fee":"0.0000000000","balance":"594.9080826100"},"LELRRK-L25JD-AABWXB":{"refid":"T7YOUA-GQYLL-3SCZYP","time":1440184475.8516,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"-54.1012","fee":"0.0866","balance":"840.6419"},"LJDBKB-NBAB4-VTXTZE":{"refid":"T7YOUA-GQYLL-3SCZYP","time":1440184475.8497,"type":"trade","aclass":"currency","asset":"XETH","amount":"43.2806000000","fee":"0.0000000000","balance":"535.0504826100"},"LCY4AQ-LPD3L-GPCLUS":{"refid":"TEOPQ4-JYRII-A25DM2","time":1440184474.7433,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"-500.0040","fee":"0.8000","balance":"894.8297"},"LXPOUV-V5PFU-ERXTFI":{"refid":"TEOPQ4-JYRII-A25DM2","time":1440184474.7418,"type":"trade","aclass":"currency","asset":"XETH","amount":"400.0000000000","fee":"0.0000000000","balance":"491.7698826100"},"L7VM2N-BRWCG-7LKV2X":{"refid":"T43EFN-LF4HZ-6MIW5U","time":1440184465.6437,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"-56.4667","fee":"0.0904","balance":"1395.6337"},"LW4ZAV-TU53A-K6XCQV":{"refid":"T43EFN-LF4HZ-6MIW5U","time":1440184465.6424,"type":"trade","aclass":"currency","asset":"XETH","amount":"45.1729986100","fee":"0.0000000000","balance":"91.7698826100"},"LKABL5-DMDOL-H6C3FB":{"refid":"TUIXMX-M7YTO-PIPMZA","time":1440184462.7627,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"-33.0237","fee":"0.0528","balance":"1452.1908"},"LXCL6H-RCUSP-D7X55Q":{"refid":"TUIXMX-M7YTO-PIPMZA","time":1440184462.7614,"type":"trade","aclass":"currency","asset":"XETH","amount":"26.4187840000","fee":"0.0000000000","balance":"46.5968840000"},"LD3CI6-74JHE-A3B23I":{"refid":"TFHB5G-ORDPC-D5N4XY","time":1440184461.7559,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"-23.9727","fee":"0.0384","balance":"1485.2673"},"L72QXW-ALPQT-3DCTKA":{"refid":"TFHB5G-ORDPC-D5N4XY","time":1440184461.7546,"type":"trade","aclass":"currency","asset":"XETH","amount":"19.1780000000","fee":"0.0000000000","balance":"20.1781000000"},"L3AAJW-SARYY-F5X4TP":{"refid":"TWYBFW-2M6VA-XEWWTK","time":1440178999.423,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"-0.3600","fee":"0.0006","balance":"1509.2784"},"L2I46F-QWHPX-AGF2HO":{"refid":"TWYBFW-2M6VA-XEWWTK","time":1440178999.4215,"type":"trade","aclass":"currency","asset":"XETH","amount":"0.2647058900","fee":"0.0000000000","balance":"1.0001000000"},"LUPYKW-SEK6B-YIU6CX":{"refid":"TC4KV7-BEUVG-QMCRXY","time":1440178997.9067,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"-1.0000","fee":"0.0016","balance":"1509.6390"},"LM643W-OFUDM-MQAU4U":{"refid":"TC4KV7-BEUVG-QMCRXY","time":1440178997.9,"type":"trade","aclass":"currency","asset":"XETH","amount":"0.7352941100","fee":"0.0000000000","balance":"0.7353941100"},"LBZCVO-L7PPH-EBRZHO":{"refid":"QCCO54K-2GVGPT-GI3GVP","time":1440159972.123,"type":"deposit","aclass":"currency","asset":"ZEUR","amount":"1400.0000","fee":"0.0000","balance":"1510.6406"},"LJPDVO-FLFWW-BBG5HD":{"refid":"TPCDMG-ZYQYH-N4VHJG","time":1440152868.4889,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"105.1000","fee":"0.1682","balance":"110.6406"},"LU6LCT-3OKIW-XYUWLN":{"refid":"TPCDMG-ZYQYH-N4VHJG","time":1440152868.4876,"type":"trade","aclass":"currency","asset":"XXBT","amount":"-0.5000000000","fee":"0.0000000000","balance":"0.0000000000"},"LSDXQU-LEMRM-MRUUB3":{"refid":"TEY2ZW-LAGP3-PFFTVY","time":1440152630.3183,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"-104.9301","fee":"0.1679","balance":"5.7088"},"L3RGST-ADSPB-J2JD2B":{"refid":"TEY2ZW-LAGP3-PFFTVY","time":1440152630.3167,"type":"trade","aclass":"currency","asset":"XXBT","amount":"0.5000000000","fee":"0.0000000000","balance":"0.5000000000"},"LNTDYS-IX6AB-IAKG6S":{"refid":"TVCJ3B-3UVTL-2UWBVD","time":1440109173.9069,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"1.5951","fee":"0.0042","balance":"110.8068"},"LPVHNX-EDSMO-KAPEYL":{"refid":"TVCJ3B-3UVTL-2UWBVD","time":1440109173.9057,"type":"trade","aclass":"currency","asset":"XETH","amount":"-1.1900000000","fee":"0.0000000000","balance":"0.0001000000"},"LSGVWZ-ZHWCY-OCP4KN":{"refid":"TFNLDH-4ABVJ-EOCGYZ","time":1440096631.2315,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"-1.5470","fee":"0.0040","balance":"109.2159"},"LY4V5N-AB7IY-XCCYRF":{"refid":"TFNLDH-4ABVJ-EOCGYZ","time":1440096631.2303,"type":"trade","aclass":"currency","asset":"XETH","amount":"1.1901000000","fee":"0.0000000000","balance":"1.1901000000"},"LDFHIC-MMPQC-V6MKTF":{"refid":"TJS2DT-S5GDF-746XS4","time":1440089663.9245,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"86.6200","fee":"0.1386","balance":"110.7669"},"L3PQ2T-5MUCI-HJ5YHG":{"refid":"TJS2DT-S5GDF-746XS4","time":1440089663.9232,"type":"trade","aclass":"currency","asset":"XETH","amount":"-71.0000000000","fee":"0.0000000000","balance":"0.0000000000"},"LXRDM2-W7256-BPBXHS":{"refid":"TLZ5PB-MFBNT-LP7TDA","time":1440088940.1484,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"24.0000","fee":"0.0384","balance":"24.2855"},"LKEWIJ-NSQQQ-3K4B5K":{"refid":"TLZ5PB-MFBNT-LP7TDA","time":1440088940.1449,"type":"trade","aclass":"currency","asset":"XETH","amount":"-20.0000000000","fee":"0.0000000000","balance":"71.0000000000"},"LHGXUZ-Q4OSG-PXVBVP":{"refid":"T6ZXLI-Z72TZ-BT5L24","time":1440086465.0907,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"-17.9605","fee":"0.0287","balance":"0.3239"},"LXCZ2J-RW3F3-6EUYKX":{"refid":"T6ZXLI-Z72TZ-BT5L24","time":1440086465.0893,"type":"trade","aclass":"currency","asset":"XETH","amount":"15.4831835500","fee":"0.0000000000","balance":"91.0000000000"},"LM3OJI-HALB4-54W5A2":{"refid":"TZQIMV-HBY7M-LYKNVU","time":1440086255.6758,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"-41.9877","fee":"0.0672","balance":"18.3131"},"LLP673-BMFIV-5C33YR":{"refid":"TZQIMV-HBY7M-LYKNVU","time":1440086255.6729,"type":"trade","aclass":"currency","asset":"XETH","amount":"36.1963000000","fee":"0.0000000000","balance":"75.5168164500"},"LSK7MW-7IQPR-D575DZ":{"refid":"TPVA2G-LYFJ3-4YFXMK","time":1440086175.5102,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"-34.0118","fee":"0.0544","balance":"60.3680"}},"count":"58"}}'
|
39
|
+
http_version:
|
40
|
+
recorded_at: Sun, 23 Aug 2015 01:43:50 GMT
|
41
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.kraken.com/0/private/OpenOrders
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: nonce=943910732411050556
|
9
|
+
headers:
|
10
|
+
Api-Key:
|
11
|
+
- COMPUTED
|
12
|
+
Api-Sign:
|
13
|
+
- COMPUTED
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- cloudflare-nginx
|
21
|
+
Date:
|
22
|
+
- Sun, 23 Aug 2015 01:31:17 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Set-Cookie:
|
30
|
+
- __cfduid=COMPUTED; expires=Mon, 22-Aug-16
|
31
|
+
01:31:16 GMT; path=/; domain=.kraken.com; HttpOnly
|
32
|
+
Vary:
|
33
|
+
- Accept-Encoding
|
34
|
+
Cf-Ray:
|
35
|
+
- COMPUTED
|
36
|
+
body:
|
37
|
+
encoding: UTF-8
|
38
|
+
string: '{"error":[],"result":{"open":{"O5TDV2-WDYB2-6OGJRD":{"refid":null,"userref":null,"status":"open","opentm":1440292821.4839,"starttm":0,"expiretm":0,"descr":{"pair":"ETHEUR","type":"buy","ordertype":"limit","price":"1.19000","price2":"0","leverage":"none","order":"buy
|
39
|
+
1204.00000000 ETHEUR @ limit 1.19000"},"vol":"1204.00000000","vol_exec":"0.00000000","cost":"0.00000","fee":"0.00000","price":"0.00000","misc":"","oflags":"fciq"},"OGAEYL-LVSPL-BYGGRR":{"refid":null,"userref":null,"status":"open","opentm":1440254004.3621,"starttm":0,"expiretm":0,"descr":{"pair":"ETHEUR","type":"sell","ordertype":"limit","price":"1.29000","price2":"0","leverage":"none","order":"sell
|
40
|
+
99.74972000 ETHEUR @ limit 1.29000"},"vol":"99.74972000","vol_exec":"0.00000000","cost":"0.00000","fee":"0.00000","price":"0.00000","misc":"","oflags":"fciq"}}}}'
|
41
|
+
http_version:
|
42
|
+
recorded_at: Sun, 23 Aug 2015 01:31:17 GMT
|
43
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.kraken.com/0/public/Depth?pair=XXBTZEUR
|
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
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- cloudflare-nginx
|
23
|
+
Date:
|
24
|
+
- Sun, 23 Aug 2015 00:53:51 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Set-Cookie:
|
32
|
+
- __cfduid=COMPUTED; expires=Mon, 22-Aug-16
|
33
|
+
00:53:50 GMT; path=/; domain=.kraken.com; HttpOnly
|
34
|
+
Vary:
|
35
|
+
- Accept-Encoding
|
36
|
+
Cf-Ray:
|
37
|
+
- COMPUTED
|
38
|
+
body:
|
39
|
+
encoding: UTF-8
|
40
|
+
string: '{"error":[],"result":{"XXBTZEUR":{"asks":[["204.52893","0.010",1440291148],["204.78790","0.312",1440291132],["204.89900","6.900",1440290177],["204.89984","6.000",1440288765],["204.89990","4.000",1440290298],["204.99999","84.126",1440281705],["205.09182","0.010",1440290950],["205.11000","1.448",1440288270],["205.13234","14.020",1440290357],["205.13533","0.038",1440285722],["205.31900","0.800",1440291137],["205.35823","14.043",1440283650],["205.43000","0.060",1440290430],["205.58437","15.146",1440281393],["205.70710","0.012",1440290950],["205.71000","0.100",1440291016],["205.76000","0.100",1440291042],["205.81076","13.703",1440280899],["205.89000","0.100",1440291045],["206.01000","0.100",1440291048],["206.03740","14.104",1440280898],["206.14000","0.100",1440291051],["206.20000","0.040",1440288527],["206.26429","14.653",1440280898],["206.32422","0.015",1440290950],["206.39000","0.100",1440291054],["206.47000","0.100",1440282383],["206.49143","13.084",1440280897],["206.50000","35.827",1440280888],["206.57422","0.012",1440291149],["206.64000","0.100",1440291057],["206.65000","1.446",1440290597],["206.71882","14.535",1440280895],["206.73000","0.050",1440282676],["206.77509","0.500",1440286761],["206.90000","0.020",1440290601],["206.93939","0.500",1440286760],["206.94319","0.018",1440290951],["206.94646","13.180",1440280895],["207.00000","0.844",1440277836],["207.17435","13.141",1440277422],["207.20000","0.020",1440280576],["207.40250","13.349",1440277429],["207.47291","0.160",1440257712],["207.50000","4.754",1440226510],["207.56402","0.021",1440290951],["207.63090","14.862",1440286712],["207.67884","7.000",1440290078],["207.70000","0.020",1440287651],["207.71000","0.818",1440228268],["207.75000","7.121",1440227351],["207.78000","4.325",1440224071],["207.85955","13.725",1440287425],["207.90000","0.020",1440229373],["208.00000","20.015",1440286340],["208.08845","14.986",1440290070],["208.15000","4.000",1440229379],["208.20000","1.435",1440288271],["208.31760","13.929",1440291217],["208.43000","0.339",1440279781],["208.50000","20.000",1440202692],["208.58000","7.036",1440255089],["208.59000","18.638",1440255121],["208.63997","0.015",1440291149],["208.68000","4.885",1440254960],["208.69000","13.796",1440255025],["208.70000","0.020",1440191892],["208.71000","0.339",1440255187],["208.72000","2.257",1440254992],["208.75000","1.329",1440255410],["208.78000","1.605",1440246055],["208.80000","15.950",1440254831],["208.81000","3.780",1440254928],["208.84000","38.938",1440254896],["208.85000","0.112",1440255251],["208.86000","3.999",1440254799],["208.87000","9.854",1440255599],["208.88000","0.747",1440255442],["208.89589","1.000",1440241806],["208.90000","0.020",1440226285],["208.93000","1.851",1440254767],["208.96000","0.040",1440255315],["208.97000","4.976",1440255506],["209.00000","10.030",1440264220],["209.06000","2.523",1440245958],["209.07000","1.300",1440256903],["209.08000","0.300",1440256744],["209.09000","0.300",1440256777],["209.12000","4.752",1440254348],["209.13000","5.523",1440254736],["209.19000","4.168",1440254703],["209.20000","3.019",1440279190],["209.21000","1.851",1440254604],["209.23000","3.118",1440279202],["209.24000","1.289",1440254636],["209.25000","6.927",1440254671],["209.27000","3.038",1440254284],["209.30000","1.000",1440282675],["209.34000","0.395",1440254478],["209.37000","3.058",1440254221]],"bids":[["204.24000","0.100",1440291016],["204.23010","0.312",1440290699],["204.23000","4.583",1440290967],["204.19000","0.100",1440291019],["204.12114","13.476",1440291170],["204.06000","0.100",1440291022],["203.94000","0.100",1440291025],["203.89686","13.295",1440290069],["203.86495","0.010",1440290951],["203.81000","0.100",1440291027],["203.67282","13.705",1440288150],["203.56000","0.100",1440291030],["203.50000","34.374",1440285747],["203.44903","15.472",1440286711],["203.42000","0.500",1440278496],["203.31000","0.100",1440291033],["203.30000","0.020",1440290540],["203.25335","0.013",1440290952],["203.22549","14.318",1440280377],["203.22000","10.771",1440290564],["203.20000","6.499",1440291231],["203.10002","6.000",1440291231],["203.10000","10.894",1440290819],["203.06000","0.100",1440291036],["203.02030","6.000",1440291231],["203.02028","7.000",1440290243],["203.00221","6.000",1440291232],["203.00219","14.550",1440277420],["203.00000","79.470",1440290648],["202.90000","10.790",1440291232],["202.89014","0.800",1440291138],["202.77914","4.932",1440277416],["202.70000","0.020",1440286613],["202.66631","0.039",1440285722],["202.64359","0.015",1440290952],["202.62000","6.425",1440288752],["202.60000","0.500",1440289904],["202.55633","12.131",1440277365],["202.50000","0.020",1440287143],["202.48046","2.870",1440291152],["202.33376","12.935",1440277781],["202.30000","0.020",1440287146],["202.18000","10.830",1440280417],["202.11143","13.053",1440277802],["202.10000","0.132",1440282877],["202.08000","0.100",1440277586],["202.05000","1.479",1440288269],["202.03566","0.018",1440290952],["202.00000","0.015",1440290816],["201.90000","0.020",1440282821],["201.88935","15.593",1440278077],["201.76358","8.700",1440290169],["201.70000","0.020",1440282806],["201.66751","15.012",1440278088],["201.50000","0.020",1440282772],["201.44591","14.310",1440281394],["201.42956","0.021",1440290952],["201.30000","0.020",1440282759],["201.22472","0.312",1440277220],["201.22456","13.034",1440283652],["201.10000","0.132",1440282747],["201.00345","15.679",1440290358],["200.90000","0.020",1440282695],["200.70000","0.020",1440282679],["200.55000","1.500",1440288269],["200.50000","0.020",1440282665],["200.47886","0.010",1440291150],["200.45010","0.312",1440276597],["200.45000","3.270",1440276576],["200.30000","0.020",1440282654],["200.25035","32.280",1440290174],["200.24000","10.918",1440274850],["200.15000","10.968",1440274982],["200.11000","10.884",1440277121],["200.10000","0.133",1440282643],["200.03000","10.881",1440275027],["200.01000","9.000",1440287265],["200.00000","8.500",1440286745],["199.91000","10.981",1440277021],["199.90000","0.020",1440276202],["199.70000","0.020",1440282472],["199.51000","10.999",1440276586],["199.50000","0.020",1440276756],["199.36344","10.500",1440287418],["199.30000","0.020",1440282375],["199.11000","0.880",1440282443],["199.10000","0.133",1440278655],["199.06000","1.501",1440288268],["199.01000","0.252",1440281291],["199.00000","10.000",1440286968],["198.90000","0.020",1440282429],["198.70000","0.020",1440274450],["198.50000","24.434",1440272119],["198.48084","0.063",1440270660],["198.47407","0.013",1440291150],["198.40000","10.000",1440273340],["198.30000","0.020",1440275135],["198.10000","0.134",1440278635],["198.02500","1.258",1440279177],["198.00000","24.898",1440283525]]}}}'
|
41
|
+
http_version:
|
42
|
+
recorded_at: Sun, 23 Aug 2015 00:53:50 GMT
|
43
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.kraken.com/0/private/QueryLedgers
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: id=LRSNYS-DICDD-3QM34P&nonce=943930440865802504
|
9
|
+
headers:
|
10
|
+
Api-Key:
|
11
|
+
- COMPUTED
|
12
|
+
Api-Sign:
|
13
|
+
- COMPUTED
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- cloudflare-nginx
|
21
|
+
Date:
|
22
|
+
- Sun, 23 Aug 2015 09:52:29 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Set-Cookie:
|
30
|
+
- __cfduid=COMPUTED; expires=Mon, 22-Aug-16
|
31
|
+
09:52:28 GMT; path=/; domain=.kraken.com; HttpOnly
|
32
|
+
Vary:
|
33
|
+
- Accept-Encoding
|
34
|
+
Cf-Ray:
|
35
|
+
- COMPUTED
|
36
|
+
body:
|
37
|
+
encoding: UTF-8
|
38
|
+
string: '{"error":[],"result":{"LRSNYS-DICDD-3QM34P":{"refid":"TGGPX6-6RB25-OBRPHS","time":1440193797.3844,"type":"trade","aclass":"currency","asset":"ZEUR","amount":"1226.9568","fee":"1.9631","balance":"1433.0939"}}}'
|
39
|
+
http_version:
|
40
|
+
recorded_at: Sun, 23 Aug 2015 09:52:29 GMT
|
41
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.kraken.com/0/private/QueryOrders
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: nonce=943911143753050362&txid=OKRRJ6-MH3UH-DV6IKT
|
9
|
+
headers:
|
10
|
+
Api-Key:
|
11
|
+
- COMPUTED
|
12
|
+
Api-Sign:
|
13
|
+
- COMPUTED
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- cloudflare-nginx
|
21
|
+
Date:
|
22
|
+
- Sun, 23 Aug 2015 01:41:44 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Set-Cookie:
|
30
|
+
- __cfduid=COMPUTED; expires=Mon, 22-Aug-16
|
31
|
+
01:41:44 GMT; path=/; domain=.kraken.com; HttpOnly
|
32
|
+
Vary:
|
33
|
+
- Accept-Encoding
|
34
|
+
Cf-Ray:
|
35
|
+
- COMPUTED
|
36
|
+
body:
|
37
|
+
encoding: UTF-8
|
38
|
+
string: '{"error":[],"result":{"OKRRJ6-MH3UH-DV6IKT":{"refid":null,"userref":null,"status":"canceled","reason":"User
|
39
|
+
canceled","opentm":1440236676.6356,"closetm":1440272720.3485,"starttm":0,"expiretm":0,"descr":{"pair":"ETHEUR","type":"buy","ordertype":"limit","price":"1.17008","price2":"0","leverage":"none","order":"buy
|
40
|
+
1200.00000000 ETHEUR @ limit 1.17008"},"vol":"1200.00000000","vol_exec":"0.00000000","cost":"0.00000","fee":"0.00000","price":"0.00000","misc":"","oflags":"fciq"}}}'
|
41
|
+
http_version:
|
42
|
+
recorded_at: Sun, 23 Aug 2015 01:41:44 GMT
|
43
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.kraken.com/0/private/QueryTrades
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: nonce=943927762899308048&txid=THZPTW-BMF6X-VWMN5P
|
9
|
+
headers:
|
10
|
+
Api-Key:
|
11
|
+
- COMPUTED
|
12
|
+
Api-Sign:
|
13
|
+
- COMPUTED
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- cloudflare-nginx
|
21
|
+
Date:
|
22
|
+
- Sun, 23 Aug 2015 08:44:23 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Set-Cookie:
|
30
|
+
- __cfduid=COMPUTED; expires=Mon, 22-Aug-16
|
31
|
+
08:44:22 GMT; path=/; domain=.kraken.com; HttpOnly
|
32
|
+
Vary:
|
33
|
+
- Accept-Encoding
|
34
|
+
Cf-Ray:
|
35
|
+
- COMPUTED
|
36
|
+
body:
|
37
|
+
encoding: UTF-8
|
38
|
+
string: '{"error":[],"result":{"THZPTW-BMF6X-VWMN5P":{"ordertxid":"OK6CDT-GXMY5-JI2GR2","pair":"XETHZEUR","time":1440317999.2062,"type":"buy","ordertype":"limit","price":"1.21985","cost":"6.09925","fee":"0.01586","vol":"5.00000000","margin":"0.00000","misc":""}}}'
|
39
|
+
http_version:
|
40
|
+
recorded_at: Sun, 23 Aug 2015 08:44:23 GMT
|
41
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.kraken.com/0/public/Time
|
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
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- cloudflare-nginx
|
23
|
+
Date:
|
24
|
+
- Sun, 23 Aug 2015 00:49:31 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Set-Cookie:
|
32
|
+
- __cfduid=COMPUTED; expires=Mon, 22-Aug-16
|
33
|
+
00:49:30 GMT; path=/; domain=.kraken.com; HttpOnly
|
34
|
+
Vary:
|
35
|
+
- Accept-Encoding
|
36
|
+
Cf-Ray:
|
37
|
+
- COMPUTED
|
38
|
+
body:
|
39
|
+
encoding: UTF-8
|
40
|
+
string: '{"error":[],"result":{"unixtime":1440290972,"rfc1123":"Sun, 23 Aug
|
41
|
+
15 00:49:32 +0000"}}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Sun, 23 Aug 2015 00:49:30 GMT
|
44
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.kraken.com/0/public/Spread?pair=XXBTZEUR
|
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
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- cloudflare-nginx
|
23
|
+
Date:
|
24
|
+
- Sun, 23 Aug 2015 00:53:53 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Set-Cookie:
|
32
|
+
- __cfduid=COMPUTED; expires=Mon, 22-Aug-16
|
33
|
+
00:53:52 GMT; path=/; domain=.kraken.com; HttpOnly
|
34
|
+
Vary:
|
35
|
+
- Accept-Encoding
|
36
|
+
Cf-Ray:
|
37
|
+
- COMPUTED
|
38
|
+
body:
|
39
|
+
encoding: UTF-8
|
40
|
+
string: '{"error":[],"result":{"XXBTZEUR":[[1440288790,"203.95202","204.89982"],[1440288791,"203.89696","204.89982"],[1440288791,"203.93100","204.89982"],[1440288795,"203.93100","204.88790"],[1440288805,"203.95212","204.88790"],[1440288809,"204.12114","204.88790"],[1440288815,"203.95212","204.88790"],[1440288817,"204.70000","204.88790"],[1440288818,"204.70000","204.89982"],[1440288818,"203.95212","204.89982"],[1440288824,"203.95212","204.89974"],[1440288827,"203.95212","204.68131"],[1440288830,"203.93100","204.68131"],[1440288836,"204.12124","204.68131"],[1440288855,"204.12124","204.68121"],[1440288860,"203.95202","204.68121"],[1440288861,"204.25000","204.68121"],[1440288900,"204.25000","204.89982"],[1440288902,"204.25000","204.68131"],[1440288906,"204.25000","204.68129"],[1440288914,"204.25000","204.68131"],[1440288920,"204.11886","204.11886"],[1440288920,"204.11886","204.68131"],[1440288920,"204.11886","204.11886"],[1440288920,"204.11886","204.68131"],[1440288920,"203.89696","204.68131"],[1440288920,"203.89696","203.89696"],[1440288920,"203.89696","204.68131"],[1440288920,"203.89696","204.89972"],[1440288933,"203.89696","204.78882"],[1440288941,"203.89686","204.78882"],[1440288941,"203.89686","203.89686"],[1440288941,"203.89686","204.78882"],[1440288948,"203.89686","204.89982"],[1440288949,"203.89686","204.78872"],[1440288955,"203.89696","204.78872"],[1440288957,"203.89696","204.68131"],[1440288958,"203.89696","204.49000"],[1440288981,"203.89587","204.49000"],[1440289007,"203.89686","204.49000"],[1440289024,"203.89686","203.89686"],[1440289024,"203.89686","204.49000"],[1440289032,"203.89686","203.89686"],[1440289032,"203.89686","204.49000"],[1440289033,"203.89686","203.89686"],[1440289033,"203.89686","204.49000"],[1440289033,"203.89686","203.89686"],[1440289033,"203.89686","204.49000"],[1440289036,"203.89696","204.49000"],[1440289038,"203.89686","203.89686"],[1440289038,"203.89686","204.49000"],[1440289039,"203.89686","203.89686"],[1440289039,"203.89686","204.49000"],[1440289039,"203.89688","204.49000"],[1440289049,"203.89698","204.49000"],[1440289053,"203.89698","204.89972"],[1440289056,"203.89698","203.97000"],[1440289064,"203.89698","203.89698"],[1440289065,"203.89698","203.97000"],[1440289076,"203.89698","203.89698"],[1440289077,"203.89698","203.97000"],[1440289092,"203.89698","204.68121"],[1440289093,"203.97000","204.68121"],[1440289093,"203.89698","204.68121"],[1440289095,"203.89686","204.68121"],[1440289100,"203.89686","204.68131"],[1440289101,"203.89587","204.68131"],[1440289112,"203.89696","204.68131"],[1440289118,"203.89696","204.78872"],[1440289125,"203.89696","204.78884"],[1440289130,"203.89696","204.68131"],[1440289131,"203.89696","204.68121"],[1440289137,"203.89587","204.68121"],[1440289142,"203.89686","204.68121"],[1440289161,"203.89696","204.68121"],[1440289174,"203.89696","204.78882"],[1440289176,"203.89696","204.23000"],[1440289233,"203.89587","204.23000"],[1440289284,"203.89686","204.23000"],[1440289294,"203.89696","204.23000"],[1440289343,"203.67282","204.23000"],[1440289350,"203.67292","204.23000"],[1440289360,"203.89686","204.23000"],[1440289365,"203.89688","204.23000"],[1440289367,"203.89686","204.23000"],[1440289376,"203.89696","204.23000"],[1440289398,"203.67282","204.23000"],[1440289404,"203.67292","204.23000"],[1440289409,"203.89686","204.23000"],[1440289424,"203.89696","204.23000"],[1440289529,"203.72200","204.23000"],[1440289533,"203.67282","204.23000"],[1440289536,"203.72210","204.23000"],[1440289540,"203.89686","204.23000"],[1440289548,"203.89688","204.23000"],[1440289552,"203.89686","204.23000"],[1440289555,"203.89696","204.23000"],[1440289603,"203.72202","204.23000"],[1440289604,"203.89686","204.23000"],[1440289607,"203.72202","204.23000"],[1440289608,"203.72212","204.23000"],[1440289623,"203.67282","204.23000"],[1440289628,"203.67292","204.23000"],[1440289674,"204.23000","204.23000"],[1440289674,"204.23000","204.27990"],[1440289679,"204.23000","204.28000"],[1440290059,"204.23000","204.41000"],[1440290094,"204.23000","204.51000"],[1440290094,"204.23000","204.53000"],[1440290094,"204.23000","204.66000"],[1440290095,"204.23000","204.86776"],[1440290095,"204.89898","204.89898"],[1440290095,"204.23000","204.89898"],[1440290095,"204.89898","204.89898"],[1440290095,"204.23000","204.89898"],[1440290101,"204.27000","204.89898"],[1440290103,"204.27000","204.89888"],[1440290138,"204.23010","204.89888"],[1440290151,"204.23010","204.78788"],[1440290161,"204.23010","204.78778"],[1440290174,"204.23010","204.89900"],[1440290180,"204.23010","204.89890"],[1440290183,"204.23010","204.78800"],[1440290198,"204.23010","204.89900"],[1440290199,"204.23010","204.78790"],[1440290216,"204.70000","204.78790"],[1440290217,"204.23010","204.78790"],[1440290230,"204.34567","204.78790"],[1440290235,"204.34567","204.78800"],[1440290248,"204.34567","204.89890"],[1440290248,"204.34567","204.78800"],[1440290254,"204.34577","204.78800"],[1440290263,"204.34577","204.89890"],[1440290264,"204.34577","204.78800"],[1440290273,"204.34577","204.78790"],[1440290286,"204.34577","204.89900"],[1440290292,"204.34577","204.89890"],[1440290299,"204.36000","204.89890"],[1440290373,"204.43000","204.89890"],[1440290391,"204.43000","204.78800"],[1440290406,"204.43000","204.89900"],[1440290407,"204.43000","204.78800"],[1440290411,"204.43000","204.78790"],[1440290483,"204.43000","204.89900"],[1440290486,"204.43000","204.88899"],[1440290501,"204.43000","204.89890"],[1440290502,"204.43000","204.89900"],[1440290502,"204.43000","204.88899"],[1440290508,"204.43000","204.88889"],[1440290556,"204.36010","204.88889"],[1440290563,"204.23000","204.88889"],[1440290569,"204.31010","204.88889"],[1440290581,"204.31010","204.77789"],[1440290582,"204.23000","204.77789"],[1440290588,"204.23010","204.77789"],[1440290596,"204.23010","204.88889"],[1440290598,"204.23010","204.77789"],[1440290607,"204.39000","204.77789"],[1440290607,"204.39000","204.77779"],[1440290622,"204.39000","204.78798"],[1440290628,"204.39000","204.89898"],[1440290628,"204.39000","204.78788"],[1440290653,"204.39000","204.78798"],[1440290660,"204.39000","204.89888"],[1440290661,"204.39000","204.78788"],[1440290676,"204.39000","204.89898"],[1440290676,"204.39000","204.78798"],[1440290678,"204.39000","204.78778"],[1440290686,"204.34010","204.78778"],[1440290693,"204.23000","204.78778"],[1440290699,"204.23010","204.78778"],[1440290735,"204.28000","204.78778"],[1440290740,"204.28000","204.78798"],[1440290754,"204.28000","204.89888"],[1440290755,"204.28000","204.78788"],[1440290778,"204.28000","204.78800"],[1440290787,"204.28000","204.89888"],[1440290787,"204.28000","204.78798"],[1440290802,"204.28000","204.89900"],[1440290803,"204.28000","204.78800"],[1440290804,"204.28000","204.78788"],[1440290900,"204.28000","204.67688"],[1440290915,"204.28000","204.89890"],[1440290916,"204.28000","204.78790"],[1440290927,"204.28000","204.67678"],[1440290954,"204.28000","204.78800"],[1440290960,"204.28000","204.78790"],[1440290964,"204.23010","204.78790"],[1440290973,"204.23010","204.78800"],[1440290979,"204.23010","204.89900"],[1440290979,"204.23010","204.89890"],[1440291016,"204.24000","204.89890"],[1440291042,"204.24000","204.78798"],[1440291057,"204.24000","204.89898"],[1440291057,"204.24000","204.78788"],[1440291106,"204.24000","204.78800"],[1440291120,"204.24000","204.89890"],[1440291121,"204.24000","204.78800"],[1440291132,"204.24000","204.78790"],[1440291148,"204.24000","204.52893"]],"last":1440291148}}'
|
41
|
+
http_version:
|
42
|
+
recorded_at: Sun, 23 Aug 2015 00:53:52 GMT
|
43
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.kraken.com/0/public/Ticker?pair=XXBTZEUR,%20XXBTZGBP
|
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
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- cloudflare-nginx
|
23
|
+
Date:
|
24
|
+
- Sun, 23 Aug 2015 00:52:11 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Set-Cookie:
|
32
|
+
- __cfduid=COMPUTED; expires=Mon, 22-Aug-16
|
33
|
+
00:52:10 GMT; path=/; domain=.kraken.com; HttpOnly
|
34
|
+
Vary:
|
35
|
+
- Accept-Encoding
|
36
|
+
Cf-Ray:
|
37
|
+
- COMPUTED
|
38
|
+
body:
|
39
|
+
encoding: UTF-8
|
40
|
+
string: '{"error":[],"result":{"XXBTZEUR":{"a":["204.78800","1","1.000"],"b":["204.24000","1","1.000"],"c":["204.78790","0.18101800"],"v":["51.57752457","4909.96955233"],"p":["204.57146","202.50397"],"t":[74,3233],"l":["203.67282","197.50000"],"h":["204.90670","207.71000"],"o":"203.78392"},"XXBTZGBP":{"a":["178.81600","2","2.000"],"b":["144.58901","2","2.000"],"c":["144.28600","0.05789115"],"v":["0.00000000","0.08645115"],"p":["0.00000","145.17510"],"t":[0,3],"l":["144.28600","144.28600"],"h":["144.28600","148.00000"],"o":"144.28600"}}}'
|
41
|
+
http_version:
|
42
|
+
recorded_at: Sun, 23 Aug 2015 00:52:11 GMT
|
43
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.kraken.com/0/private/TradeBalance
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: nonce=943910732080478634
|
9
|
+
headers:
|
10
|
+
Api-Key:
|
11
|
+
- COMPUTED
|
12
|
+
Api-Sign:
|
13
|
+
- COMPUTED
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- cloudflare-nginx
|
21
|
+
Date:
|
22
|
+
- Sun, 23 Aug 2015 01:31:16 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Set-Cookie:
|
30
|
+
- __cfduid=COMPUTED; expires=Mon, 22-Aug-16
|
31
|
+
01:31:15 GMT; path=/; domain=.kraken.com; HttpOnly
|
32
|
+
Vary:
|
33
|
+
- Accept-Encoding
|
34
|
+
Cf-Ray:
|
35
|
+
- COMPUTED
|
36
|
+
body:
|
37
|
+
encoding: UTF-8
|
38
|
+
string: '{"error":[],"result":{"eb":"1760.4900","tb":"1616.3866","m":"0.0000","n":"0.0000","c":"0.0000","v":"0.0000","e":"1616.3866","mf":"1616.3866"}}'
|
39
|
+
http_version:
|
40
|
+
recorded_at: Sun, 23 Aug 2015 01:31:15 GMT
|
41
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.kraken.com/0/private/TradeVolume
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: nonce=943930453275642101&pair=XETHZEUR
|
9
|
+
headers:
|
10
|
+
Api-Key:
|
11
|
+
- COMPUTED
|
12
|
+
Api-Sign:
|
13
|
+
- COMPUTED
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Server:
|
20
|
+
- cloudflare-nginx
|
21
|
+
Date:
|
22
|
+
- Sun, 23 Aug 2015 09:52:48 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Set-Cookie:
|
30
|
+
- __cfduid=COMPUTED; expires=Mon, 22-Aug-16
|
31
|
+
09:52:47 GMT; path=/; domain=.kraken.com; HttpOnly
|
32
|
+
Vary:
|
33
|
+
- Accept-Encoding
|
34
|
+
Cf-Ray:
|
35
|
+
- COMPUTED
|
36
|
+
body:
|
37
|
+
encoding: UTF-8
|
38
|
+
string: '{"error":[],"result":{"currency":"ZUSD","volume":"3878.8703","fees":{"XETHZEUR":{"fee":"0.2600","minfee":"0.1000","maxfee":"0.2600","nextfee":"0.2400","nextvolume":"10000.0000","tiervolume":"0.0000"}},"fees_maker":{"XETHZEUR":{"fee":"0.1600","minfee":"0.0000","maxfee":"0.1600","nextfee":"0.1400","nextvolume":"10000.0000","tiervolume":"0.0000"}}}}'
|
39
|
+
http_version:
|
40
|
+
recorded_at: Sun, 23 Aug 2015 09:52:48 GMT
|
41
|
+
recorded_with: VCR 2.9.3
|