No project description provided
Project description
Welcome to the crypto_market_wrapper package! This package allows users to retrieve various types of data about cryptocurrency listed on the Binance exchange.
With this package, users can access:
- Recent Trades List
- Aggregate Trades List
- Candlestick Data
- UIKlines data
- Current Average Price
- 24hr Ticker Price Change Statistics
- Symbol Order Book Ticker
Install
pip install crypto_market_wrapper
Import
from crypto_market_wrapper import crypto
Symbols
The function provides a DataFrame of valid cryptocurrency symbols.
Returns:
DataFrame: Symbols
crypto.GET_SYMBOLS()
Recent Trades List
The function provides a DataFrame containing a list of recent trades.
Args:
SYMBOL (str, optinal): Defaults to "BTCUSDT"
Returns:
DataFrame: Recent Trades List
crypto.GET_RECENT_TRADES_LIST()
Aggregate Trades List
The function provides a DataFrame containing an aggregate list of trades
Args:
SYMBOL (str, optinal): Defaults to "BTCUSDT".
Returns:
DataFrame: Aggregate Trades List
crypto.GET_AGGREGATE_TRADES_LIST()
Candlestick Data
The function provides a DataFrame containing candlestick data.
Args:
SYMBOL (str, optinal): Defaults to "BTCUSDT".
INTERVAL (str, optinal): Defaults to "1h".('1s','1m','3m','5m','15m','30m','1h','2h','4h','6h','8h','12h','1d','3d','1w','1M')
LIMIT (int, optional): A valid symbol is required(1000). Defaults to 500.
Returns:
DataFrame: Candlestick Data
crypto.GET_CANDLESTICK_DATA()
UIKlines data
The function provides a DataFrame containing candlestick data.
Args:
SYMBOL (str, optional): Defaults to "BTCUSDT".
INTERVAL (str, optional): Defaults to "1h".('1s','1m','3m','5m','15m','30m','1h','2h','4h','6h','8h','12h','1d','3d','1w','1M')
LIMIT (int, optional): A valid limit is required(1000). Defaults to 500.
Returns:
DataFrame: UIKlines
crypto.GET_UIKLINES()
Current Average Price
The function provides a dictionary containing the current average price
Args:
SYMBOL (str, optinal): Defaults to "BTCUSDT".
Returns:
Dict: Current Average Price
crypto.GET_CURRENT_AVERAGE_PRICE()
24hr Ticker Price Change Statistics
The function provides a DataFrame containing 24-hour ticker price change statistics.
Args:
SYMBOLS (list, optional): A valid symbol is required. Defaults to ["BTCUSDT"].
Returns:
DataFrame: 24hr Ticker Price Change Statistics
crypto.GET_TICKER_PRICE_CHANGE_24H()
Symbol Order Book Ticker
The function provides a DataFrame containing order book ticker data.
Args:
SYMBOLS (list, optional): Defaults to ["BTCUSDT"].
Returns:
DataFrame: Order Book Ticker
crypto.GET_SYMBOL_ORDER_BOOK_TICKER()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for crypto-market-wrapper-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f47b29e4943b8e56d0935c640bd8f5eb39938752609013765b6b2f7706255a7 |
|
MD5 | 5b3a7ecfd019a78be8a96fa1e5881d3c |
|
BLAKE2b-256 | 7e37b1e4155277e3dd95c25a7269e7e9c0cf2e98867408761dfa8536892114fe |
Hashes for crypto_market_wrapper-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15a789bde711c7290ffe898f18d9de10e37675537a01ea9509fb682ad34a41b2 |
|
MD5 | b671e232c23b4923324925bfb8f68b10 |
|
BLAKE2b-256 | 7ec537ba657b649b5a01ae11c3929772dfaf8ac09cf0a821eef03b6c724dc203 |