Skip to main content

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

usage

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

usage

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

usage

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

usage

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

usage

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

usage

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

usage

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

usage

crypto.GET_SYMBOL_ORDER_BOOK_TICKER()

Metadata

Release files for crypto-market-wrapper 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crypto-market-wrapper 0.4.0
File Size Uploaded Provenance
crypto-market-wrapper-0.4.0.tar.gz 4.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for crypto-market-wrapper 0.4.0
File Interpreter ABI Platform
crypto_market_wrapper-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / crypto-market-wrapper-0.4.0.tar.gz

Download URL crypto-market-wrapper-0.4.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
05453f1d486e42c21c6a12e8029e8240bb334b1c7fd7cd81d53f5863173d5800
BLAKE2b-256 checksum
How to use checksums
ef9d53ba4b3935b724c74f796efaed81b2608e4645e7ea65011f45143805f98e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.14 CPython/3.11.1 Linux/6.0.15-300.fc37.x86_64

Release files / crypto_market_wrapper-0.4.0-py3-none-any.whl

Download URL crypto_market_wrapper-0.4.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
867b05ffbcb375efac39c1db0f04019828ce6ea67ffd8eaced8f49329afa1612
BLAKE2b-256 checksum
How to use checksums
7a844e00d4c87d39f09db35fd5ce3f5b7bf1cc700e53868a1dbba82200193310
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.14 CPython/3.11.1 Linux/6.0.15-300.fc37.x86_64

Security for crypto-market-wrapper 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page