-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for crypto currencies #5
Conversation
README.rst
Outdated
|
||
- Ticker Info: get info about coin<->currency conversion metadata | ||
- Price Quote: get latest OHLC data for given coin | ||
- Price History: get history of coin price |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Price history not supported, don't put it in the README
""" | ||
symbols_df = pd.DataFrame(get_supported_symbols_hitbtc()) | ||
|
||
unique_list = list(symbols_df[key_name].unique()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure there's a test for unsupported key_name
LOGGER = config.LOGGER | ||
HERE = path.abspath(path.dirname(__file__)) | ||
|
||
__all__ = ('get_orderbook_hitbtc', 'get_quote_hitbtc') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add 2 newlines before class
prosper/datareader/coins/prices.py
Outdated
req.raise_for_status() | ||
|
||
data = req.json() | ||
if not symbol: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add comment: why if not symbol
data = req.json() | ||
|
||
return data #return both bids/asks for other steps to clean up later | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a divider between helpers/real funcs
Using hitBTC add support for looking at crypto currencies
.coins
subgrouptickers
: coin + currency FOREX style lookup keys3.7-dev
from travis plan. Pandas vs 3.7 is causing more noise than signal