Skip to content

Commit

Permalink
Make AssetPair method list more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenlosenko authored Jul 2, 2018
1 parent b662d4b commit b9b18a9
Showing 1 changed file with 26 additions and 13 deletions.
39 changes: 26 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,19 +111,32 @@ __pywaves.AssetPair(asset1, asset2)__ _Creates a new AssetPair object with 2 Ass

#### methods:
`orderbook()` get order book
`ticker()` get ticker with 24h ohlcv data
`last()` get traded price
`open()` get 24h open price
`high()` get 24h high price
`low()` get 24h low price
`close()` get 24h close price (same as last())
`vwap()` get 24h vwap price
`volume()` get 24h volume
`priceVolume()` get 24h price volume
`trades(n)` get the last n trades
`trades(from, to)` get the trades in from/to interval
`candles(timeframe, n)` get the last n candles in the specified timeframe
`candles(timeframe, from, to)` get the candles in from/to interval in the specified timeframe

`ticker()` get ticker with 24h ohlcv data

`last()` get traded price

`open()` get 24h open price

`high()` get 24h high price

`low()` get 24h low price

`close()` get 24h close price (same as last())

`vwap()` get 24h vwap price

`volume()` get 24h volume

`priceVolume()` get 24h price volume

`trades(n)` get the last n trades

`trades(from, to)` get the trades in from/to interval

`candles(timeframe, n)` get the last n candles in the specified timeframe

`candles(timeframe, from, to)` get the candles in from/to interval in the specified timeframe

### Order Class
__pywaves.Order(orderId, assetPair, address='')__ Creates a new Order object
Expand Down

0 comments on commit b9b18a9

Please sign in to comment.