Git Product home page Git Product logo

trade-dangerous's Introduction


TradeDangerous
Copyright (C) Oliver "kfsone" Smith, July 2014
Copyright (C) Bernd 'Gazelle' Gollesch 2016, 2017
Copyright (C) Jonathan 'eyeonus' Jones 2018, 2019

REQUIRES PYTHON 3.4 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.

trade-dangerous's People

Contributors

kfsone avatar bgol avatar maddavo avatar eyeonus avatar orphu avatar sammackrill avatar anothermindbomb avatar tlund avatar tromador avatar ravendt avatar tke avatar wombatfromhell avatar aadler avatar shadowgar avatar falkery avatar kmpm avatar lantrix avatar dry411s avatar mbcx4jrh avatar mseven avatar milindur avatar ryanel avatar neotron avatar fawick avatar freddeschenes avatar skorn avatar mhughes2k avatar dl4ner avatar sebarkh avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.