Skip to content

Commit

Permalink
Added documentation for ticker method
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed Mar 3, 2018
1 parent 3d57db8 commit beefc18
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,22 @@ foreach($pairs as $pair) {
}
```

#### Get ticker information
https://www.kraken.com/help/api#get-ticker-info

```php
$pairs = $client->getTicker(string|array $pair) : Butschster\Kraken\Objects\TickerCollection;

foreach($pairs as $pair) {
$pair->name();
$pair->askPrice();
$pair->askWholeLotVolume();
$pair->askLotVolume();
$pair->askLotVolume();
...
}
```

#### Get account balance
https://www.kraken.com/help/api#get-account-balance

Expand Down

0 comments on commit beefc18

Please sign in to comment.