Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gary-rafferty/cryptsy
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-rafferty committed Mar 24, 2015
2 parents b8f7eab + 001ca24 commit 71f90ce
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,14 @@ market_ticker.instance_variables # [bid, ask]

```ruby
# Find the orderbook for a market
market_orderbook = Cryptsy::MarketOrderbook.find(2)

market_orderbook.instance_variables # [sellorders, buyorders]
# Available arguments are
# limit: 1-100 (default 100)
# type: 'Buy' or 'Sell' or 'Both' (default Both)
# mine: boolean (default false)
market_orderbook = Cryptsy::MarketOrderbook.find(2)
market_orderbook = Cryptsy::MarkerOrderbook.find(2, limit: 1, type: 'Buy', mine: true)

market_orderbook.instance_variables # [sellorders, buyorders] may only be one or the other depending on method arguments
```

## Contributing
Expand Down

0 comments on commit 71f90ce

Please sign in to comment.