Skip to main content

TradeDangerous
Copyright (C) Oliver "kfsone" Smith, July 2014 - 2026
Copyright (C) Bernd 'Gazelle' Gollesch 2016, 2017
Copyright (C) Stefan 'Tromador' Morrell 2025 - 2026
Copyright (C) Jonathan 'eyeonus' Jones 2018 - 2026

REQUIRES PYTHON 3.12 OR HIGHER.


What is Trade Dangerous? Trade Dangerous Crest

TradeDangerous is a set of powerful trading tools for Elite Dangerous, organized around one of the most powerful trade run optimizers available.

The TRO is a heavy hitter that can calculate complex routes with multiple stops while taking into account the profits you make along the route

The price data in TradeDangerous is either manually entered or crowd sourced from a website such as Tromador's Trading Dangerously, often using a plugin such as the included eddblink.

What can it do for me?

You're in a ship with 8 cargo spaces that can make 8.56 ly per jump; you're willing to make upto 2 jumps between stations, and we want to see how much money we can make if in 2 trade stops (hops).

trade.py run --credits 5000 --capacity 8 --ly-per 8.56 --jumps 2 --hops 2

If we ran this, TD would search the galaxy for trade runs. But it could take us days to reach some of them. So lets say we're currently at Kummer City in the Andere system.

trade.py run --from "andere/kummer city"
    --credits 5000 --capacity 8 --ly-per 8.56 --jumps 2 --hops 2

(The above represents a single line)

That's a lot to type. TD is designed to support laziness when it comes to typing, so it allows for all kinds of short-cuts.

trade.py ru
    --fr and/kumm     find a station matching 'kumm' in a
                      system matching 'and'
    --cr 5k           'k', 'm' and 'b' are recognized suffixes
    --cap 8           8 units of cargo
    --ly 8.56         maximum distance *per jump*
    --ju 2            maximum 2 jumps

The default for hops is 2, so I didn't have to include it.

You can also use "=" to connect an option with its values:

trade.py ru --fr=and/kumm --cr=5k --cap=8 --ly=8.56 --ju=2

With the data at the time I write this, this produces:

ANDERE/Kummer City -> ANDERE/Malzberg Vision
  ANDERE/Kummer City: 6 x Titanium, 2 x Polymers,
  G 224-46/Lorrah Dock: 7 x Coltan, 1 x Lepidolite,
  ANDERE/Malzberg Vision +8,032cr (502/ton)

This tells us our overall route (line #1), what load to pick up from the first station, what to sell it for and pick up at the second stop and where to finish and unload for our final profit.

Note that it could have just told us to pick up 6 Titanium (the max we could afford) or 8 Copper (the highest profit we could fill up with), Instead, TD crunched hard numbers and maximized the earnings of every cargo space AND credit.

If you want to give Trade Dangerous a try, look no further than the Setup Guide and the User Guide.

Curious about programming with Trade Dangerous/Python? Take the Python Quick Peek.

AI-assisted development disclosure

Trade Dangerous has been developed partly by humans working without AI assistance and partly with AI assistance under human direction and review. We disclose this so users and contributors can make an informed choice about AI-assisted software.

Metadata

Release files for tradedangerous 13.2.1

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

Source distribution (sdist)

Source distribution for tradedangerous 13.2.1
File Size Uploaded Provenance
tradedangerous-13.2.1.tar.gz 446.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tradedangerous 13.2.1
File Interpreter ABI Platform
tradedangerous-13.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 901.9 kB

Release files / tradedangerous-13.2.1.tar.gz

Download URL tradedangerous-13.2.1.tar.gz
Size 446.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a084a4be9ec40ecb6938742683cfb159956509232b2ec1e042308353d6dbc27c
BLAKE2b-256 checksum
How to use checksums
ccbb1ac705b0cc7f49cd16bcf1bec5dd042830c92eb7a9ef6237d50878ffbdf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tradedangerous-13.2.1-py3-none-any.whl

Download URL tradedangerous-13.2.1-py3-none-any.whl
Size 455.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db84aed8a9149e03aca1661a8e816ca27dd333c68d631bf4de20a84c3a558091
BLAKE2b-256 checksum
How to use checksums
0bc3229b8b66884e948fe6f602f9968d85e131a257f62b75c9e928e657f27477
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for tradedangerous 13.2.1

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.

Release history Release notifications | RSS feed

This release

13.2.1 This release

2 release files No provenance

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