Skip to main content

A library for better communication with HitBTC Exchange API

Project description

A library for better communication with HitBTC Exchange API (HitBTC API Documentation)

Installation:

pip install HitBTCMonster

Example:

API

from HitBTCMonster.api.core import HitBTC
from HitBTCMonster.api.market import Market
from HitBTCMonster.api.trading import Trading

CORE = HitBTC(
    public='YOUR_PUBLIC_KEY_HERE',
    secret='YOUR_SECRET_KEY_HERE',
)
MARKET = Market(CORE)
TRADING = Trading(CORE)

# do stuff

WebSocket

from HitBTCMonster.wss.core import HitBTC
from HitBTCMonster.wss.market import Market
from HitBTCMonster.wss.trading import Trading

CORE = HitBTC(
    public='YOUR_PUBLIC_KEY_HERE',
    secret='YOUR_SECRET_KEY_HERE',
)
MARKET = Market(CORE)
TRADING = Trading(CORE)

# do stuff

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

HitBTCMonster-0.0.2.tar.gz (4.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page