Skip to content

Commit

Permalink
Docs improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNik committed Apr 24, 2021
1 parent 01f3e4b commit 630f3e8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ python_binance.egg-info/
*__pycache__
*.egg-info/
.idea/
venv/
venv*/
12 changes: 9 additions & 3 deletions binance/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,12 @@ def get_server_time(self):
# Market Data Endpoints

def get_all_tickers(self):
"""Latest price for all symbols.
"""Latest price for a symbol or symbols.
https://binance-docs.github.io/apidocs/spot/en/#symbol-price-ticker
https://www.binance.com/restapipub.html#symbols-price-ticker
:param symbol: optional
:type symbol: str
:returns: List of market tickers
Expand All @@ -511,7 +514,10 @@ def get_all_tickers(self):
def get_orderbook_tickers(self):
"""Best price/qty on the order book for all symbols.
https://www.binance.com/restapipub.html#symbols-order-book-ticker
https://binance-docs.github.io/apidocs/spot/en/#symbol-order-book-ticker
:param symbol: optional
:type symbol: str
:returns: List of order book market entries
Expand Down

0 comments on commit 630f3e8

Please sign in to comment.