Trade-Dangerous icon indicating copy to clipboard operation
Trade-Dangerous copied to clipboard

TODO: Trade command 2.0

Open kfsone opened this issue 2 months ago • 7 comments

What happened?

Easy one for anyone looking to dabble in helping, but also a todo for myself. Add to backlog.

  • Rename it to "direct" (because it pays no attention to routing/etc),
  • Add a summary header (so if you go away and come back you can tell at a glance what system it was when you only gave it a station name, haha; getting old sucks)
  • Allow a system on either side, e.g.
trade direct reorte/ "/aham lin" --limit 5   # all stations in reorte to abraham lincoln in sol, e.g

would show you the best trade(s) you can make between two systems, such as if you're planning a trip that already requires 10+ jumps and you just want a chance to make some money at the end,

  • In multi-station mode, --best flag:
    • --best=per-station: list only the best trade at each station,
    • --best=per-item: list only the best station<->station trade for each item,
    • --best=station: list only the items at the station with the best trade,
  • Add --age
  • Allow --local flag to show you the best in-system trades:
$ trade direct Reorte/ --local
From: REORTE/  To: REORTE/ (local)
From         Item   To Station  Gain       Cost   Value
-------------------------------------------------------
Davies High  Gold   Davies Low  +12,000cr   300  12,300
...

Reproduction steps

n/a

Backend

SQLite

Logs / output

n/a

Environment

n/a

kfsone avatar Dec 11 '25 07:12 kfsone