Skip to main content

freqtrade-delta-exchange

Trade on Delta Exchange with freqtrade. This package plugs Delta into freqtrade — install it and "name": "delta" works in your freqtrade config, just like any built-in exchange.

Works with both Delta International and Delta India, live and demo (paper) accounts.

Install

pip install freqtrade-delta-exchange

That's it — no freqtrade fork or patch needed. To confirm it registered:

freqtrade list-exchanges | grep -i delta

Quick start

You need two files: a config and a secrets file (for your API keys).

1. config.json — trading settings:

{
  "dry_run": true,
  "trading_mode": "futures",
  "margin_mode": "cross",
  "stake_currency": "USD",
  "stake_amount": 100,
  "max_open_trades": 1,
  "timeframe": "1h",
  "exchange": {
    "name": "delta",
    "india": true,
    "sandbox": true,
    "key": "",
    "secret": "",
    "pair_whitelist": ["BTC/USD:USD"],
    "pair_blacklist": []
  },
  "pairlists": [{ "method": "StaticPairList" }]
}

2. delta-secrets.json — your API keys (never commit this file):

{
  "exchange": {
    "key": "YOUR_API_KEY",
    "secret": "YOUR_API_SECRET"
  }
}

3. Run:

freqtrade trade -c config.json -c delta-secrets.json

The 3 settings that matter

Setting Values What it does
exchange.name "delta" Use this adapter.
exchange.india true / false true = Delta India (BTC/USD:USD, settles in USD). false = Delta International (BTC/USDT:USDT, settles in USDT).
exchange.sandbox true / false true = demo account (paper, fake money). false = live account (real money).

Start with "sandbox": true + "dry_run": true. When that works, try "sandbox": true + "dry_run": false to see real orders on your demo dashboard. Only flip sandbox to false when you're ready to go live.

Matching pairs and stake currency

Delta India Delta International
pair_whitelist "BTC/USD:USD" "BTC/USDT:USDT"
stake_currency "USD" "USDT"

Using the wrong pair/currency combo is the most common setup mistake — the pair must match the account type.

API keys & 2FA

Create keys in your Delta account (demo keys from the demo site, live keys from the live site — they are not interchangeable).

If your key has 2FA enabled, add the base32 TOTP secret to the secrets file:

{
  "exchange": {
    "key": "YOUR_API_KEY",
    "secret": "YOUR_API_SECRET",
    "totp_secret": "JGFRS7RYJWMJWDKV"
  }
}

Examples

Ready-made configs live in examples/:

  • delta-india-demo-smoke.config.json — India demo account, 1-minute smoke test
  • delta-india-demo.config.json — India demo account
  • delta-india-live.config.json — India live account

Limitations

  • Funding-rate history is not available on Delta (no API endpoint), so backtests don't back-adjust funding fees.
  • Leverage tiers are not published by Delta; the adapter assumes a flat 0.5% maintenance margin for liquidation estimates.

Metadata

Release files for freqtrade-delta-exchange 0.3.3

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

Source distribution (sdist)

Source distribution for freqtrade-delta-exchange 0.3.3
File Size Uploaded Provenance Actions
freqtrade_delta_exchange-0.3.3.tar.gz 201.4 kB Without provenance Details for freqtrade_delta_exchange-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for freqtrade-delta-exchange 0.3.3
File Interpreter ABI Platform Actions
freqtrade_delta_exchange-0.3.3-py3-none-any.whl Python 3 none any Details for freqtrade_delta_exchange-0.3.3-py3-none-any.whl

Total release size: 217.1 kB

Release files / freqtrade_delta_exchange-0.3.3.tar.gz

Download URL freqtrade_delta_exchange-0.3.3.tar.gz
Size 201.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5b783747b2d82e119ab6aac3bf66db7fd33af7ec57e17f1362597c0aac6b5920
BLAKE2b-256 checksum
How to use checksums
885f04204efe2429f9f2d84df90e21490769436a92f4bbf786c4eb9616b53ca9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / freqtrade_delta_exchange-0.3.3-py3-none-any.whl

Download URL freqtrade_delta_exchange-0.3.3-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b907bac02f8be35794f5469b6ede1f7b0b7bfe66f3af86ae9ab3f2bc4b62244
BLAKE2b-256 checksum
How to use checksums
30e6711995cc919782974634d7c55727ffdb2a3c590d7ac2ecca6338f1c35bd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for freqtrade-delta-exchange 0.3.3

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