README.md in kraken_client-1.1.4 vs README.md in kraken_client-1.1.5
- old
+ new
@@ -63,11 +63,11 @@
## Installation
Add this line to your application's Gemfile:
```ruby
-gem 'kraken_client'
+gem 'kraken_client', '~> 1.1.5'
```
And then execute:
$ bundle
@@ -169,35 +169,35 @@
```
##### Ticker Information
```ruby
-ticker_data = client.public.ticker('XLTCXXDG, ZUSDXXVN')
+ticker_data = client.public.ticker('ETHXBT, XBTLTC')
```
##### Order Book
Get market depth information for given asset pairs
```ruby
-depth_data = client.public.order_book('LTCXRP')
+depth_data = client.public.order_book('ETHXBT')
```
##### Trades
Get recent trades
```ruby
-trades = client.public.trades('LTCXRP')
+trades = client.public.trades('ETHXBT')
```
##### Spread
Get spread data for a given asset pair
```ruby
-spread = client.public.spread('LTCXRP')
+spread = client.public.spread('ETHXBT')
```
#### Private Endpoints ####
@@ -291,10 +291,10 @@
There are 4 required parameters for buying an order. The example below illustrates the most basic order. Please see the [Kraken documentation](https://www.kraken.com/help/api#add-standard-order) for the parameters required for more advanced order types.
```ruby
# buying 0.01 XBT (bitcoin) for XRP (ripple) at market price
opts = {
- pair: 'XBTXRP',
+ pair: 'ETHXBT',
type: 'buy',
ordertype: 'market',
volume: 0.01
}