Skip to main content

TradeHull client library for Delta Exchange India

Project description

Tradehull Delta Exchange

Python client library for Delta Exchange India.

Installation

pip install Tradehull-Delta-Exchange

Login

import Tradehull_Delta_Exchange as TDX

tdx = TDX.login(
    api_key="YOUR_API_KEY",
    api_secret="YOUR_API_SECRET",
)

Get LTP

btc_ltp = tdx.get_ltp("BTCUSD")
print(btc_ltp)

Historical Data

data = tdx.get_chart(
    name="BTCUSD",
    timeframe="15minute",
    days=7,
)
print(data.tail())

Important

This package can place live trading orders. Test carefully before live use.

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

tradehull_delta_exchange-0.1.0.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tradehull_delta_exchange-0.1.0-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

Details for the file tradehull_delta_exchange-0.1.0.tar.gz.

File metadata

  • Download URL: tradehull_delta_exchange-0.1.0.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for tradehull_delta_exchange-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5de5d7275e80b63577d6989b93708fd1d319c506af199bf14c676cbb4ecbe494
MD5 0f8812322663c0b9480b1542b2c7bc2b
BLAKE2b-256 ef0de741526398d459a57d30eafaceefaefe4cc88b15f0a81f7ef0751f11ee7f

See more details on using hashes here.

File details

Details for the file tradehull_delta_exchange-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tradehull_delta_exchange-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 554bdf8330981b3d68abeeeb6e7570821c15b40c48262e49f89f8cd6f3680089
MD5 1c055744a33e7d1f021b76c729d6c499
BLAKE2b-256 47d11ed68d8fd02baf04e663e09aa205087dc6b507a02ad9e0cfa7eeca59efab

See more details on using hashes here.

Supported by

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