README.md in kraken_client-1.1.5 vs README.md in kraken_client-1.2
- old
+ new
@@ -22,10 +22,11 @@
* [Requests](#requests)
* [Public Endpoints](#public-endpoints)
* [Asset Info](#asset-info)
* [Asset Pairs](#asset-pairs)
* [Ticker Information](#ticker-information)
+ * [OHLC Data](#ohlc-data)
* [Order Book](#order-book)
* [Trades](#trades)
* [Spread](#spread)
* [Private Endpoints](#private-endpoints)
* [Balance](#balance)
@@ -169,13 +170,19 @@
```
##### Ticker Information
```ruby
-ticker_data = client.public.ticker('ETHXBT, XBTLTC')
+ticker_data = client.public.ticker('ETHXBT, LTCXBT')
```
+##### OHLC Data
+
+```ruby
+ohlc_data = client.public.ohlc(pair: 'XXBTZEUR', last: '1499436000', interval: '60')
+```
+
##### Order Book
Get market depth information for given asset pairs
```ruby
@@ -303,10 +310,11 @@
```
##### Cancel Order
```ruby
-client.private.cancel_order("UKIYSP-9VN27-AJWWYC")
+Same as with `add_order`, but the only required parameter is `txid`, refering to the order identifier.
+client.private.cancel_order(txid: "UKIYSP-9VN27-AJWWYC")
```
## Donations
If you like the work that has been done, do not hesitate in paying me a Coffee, I'd gladly accept it :)