Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Add allPrices endpoint, and all_prices method #26

Merged
merged 1 commit into from
Jul 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/binance/client/rest/endpoints.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class REST
klines: 'v1/klines',
twenty_four_hour: 'v1/ticker/24hr',
price: 'v3/ticker/price',
all_prices: 'v3/ticker/allPrices',
book_ticker: 'v3/ticker/bookTicker',

# Account API Endpoints
Expand Down
3 changes: 3 additions & 0 deletions lib/binance/client/rest/methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ class REST
# #price
{ name: :price, client: :public,
action: :get, endpoint: :price },
# #all_prices
{ name: :all_prices, client: :public,
action: :get, endpoint: :price },
# #book_ticker
{ name: :book_ticker, client: :public,
action: :get, endpoint: :book_ticker },
Expand Down