Release Trade Dangerous (Est. 2015) Power user's highly configurable trade optimizer

I also get a similar error about that rescue ship. On my system, running the same command again after getting the error seems to work. I don’t know why, but it is definitely quicker than running the clean command every day
 
eyeonus - i constantly get errors when using tradedangerous.
most of them are like this:
C:\python3.7.4\Scripts\trade: D:\games\_utils\_elited\TDHelper-v3.1.1.0\data\TradeDangerous.prices:4985377 ERROR Second occurrance of station "HR 1183/RESCUE SHIP - ARC'S FAITH", previous entry at line 4985266.
usually about 90% of them....
is there something im doing wrong?
the only way to fix this - is to completely redownload the DB "clean" and start over.
which is obviously not a good thing to have to do every single day....
I also used to use the TDH. Unfortunately, it no longer seems to be updated with the development of TD. I recommend that you use TD via the console/PowerShell.
Yes, it is a bit tedious to type in the commands, but you can help yourself by making a note of the most important commands via Notes or Stickies and then simply copying them.
When I play ED now, the first actions are: Open PowerShell, check for updates from TD (pip install --upgrade tradedangerous), import the latest listings (trade import -P eddblink -O listings , yes currently 2x see last post) and then execute a command like RUN, BUY, SELL ect. I wrote down the commands on a stickie with a link to ED's wiki. See screenshot.
Translated with DeepL.com (free version)
1715499493956.png

small correction to the stickie: the argument -c (--color) for the two commands market and trade can be omitted. -c is not implemented for this.
 
Last edited:
eyeonus - i constantly get errors when using tradedangerous.
most of them are like this:
C:\python3.7.4\Scripts\trade: D:\games\_utils\_elited\TDHelper-v3.1.1.0\data\TradeDangerous.prices:4985377 ERROR Second occurrance of station "HR 1183/RESCUE SHIP - ARC'S FAITH", previous entry at line 4985266.
I've had a look in the data and we do have two copies of this station in the data, which likely is causing the problem. I didn't realise you were using TDH, you've had good advice in that regard above.
 
I also used to use the TDH. Unfortunately, it no longer seems to be updated with the development of TD. I recommend that you use TD via the console/PowerShell.
Yes, it is a bit tedious to type in the commands, but you can help yourself by making a note of the most important commands via Notes or Stickies and then simply copying them.
When I play ED now, the first actions are: Open PowerShell, check for updates from TD (pip install --upgrade tradedangerous), import the latest listings (trade import -P eddblink -O listings , yes currently 2x see last post) and then execute a command like RUN, BUY, SELL ect. I wrote down the commands on a stickie with a link to ED's wiki. See screenshot.
Translated with DeepL.com (free version)
View attachment 392696
small correction to the stickie: the argument -c (--color) for the two commands market and trade can be omitted. -c is not implemented for this.
Just wanted to say thanks for the feedback and great suggestions - unfortunately you posted a SCREENSHOT rather than a TEXT PASTE of your command list though :)
Would've been nice to just copy/paste your text! :)
Sad that TDH doesnt work anymore :(
Pretty crazy such an awesome tool doesnt have a GUI. Such a waste.... (as an engineer I dont mind using CLI - but.... 90% of people wont, and then this awesome tool is severely underused)
 
Code:
pip install --upgrade tradedangerous || trade import -P edmc_batch -O folder=C:\Users\UserName\Desktop\TDH\EDMC-Daten || trade import -P eddblink -O listings
https://github.com/eyeonus/Trade-Dangerous/wiki/Command-Line-Options#import-sub-command-and-plugins

Python (for instance):
trade run --cap 220 --cr 100000000 --ly 16.16 --emp 22.03 --from "System/Station" --fc=N --hops 2 --jum 4 -MD=1 --pad ML --progress -c -vv
Type-9 (for instance):
trade run --cap 648 --cr 50000000 --ly 19.29 --emp 30.14 --from "System/Station" --fc=N --hops 3 --jum 5 --demand 2600 -MD=1 --pad L --progress -c -vv
https://github.com/eyeonus/Trade-Dangerous/wiki/Command-Line-Options#run-sub-command

trade sell --near (System) --ly 40 --limit=20 --fc=N --pad ML -P "Bauxite" (ich verkaufe)
https://github.com/eyeonus/Trade-Dangerous/wiki/Command-Line-Options#sell-sub-command

trade buy --near amber --ly 40 --limit 20 --age 3 --fc N -P "Bauxite"
https://github.com/eyeonus/Trade-Dangerous/wiki/Command-Line-Options#buy-sub-command

trade station -v "Chias Vega/Creamer Dock"
https://github.com/eyeonus/Trade-Dangerous/wiki/Command-Line-Options#station-sub-command

trade market -B "Amber/Felice Plant" -vvv
https://github.com/eyeonus/Trade-Dangerous/wiki/Command-Line-Options#market-sub-command

trade trade "Amber/Felice Plant" "Chias Vega/Creamer Dock" -vvv
https://github.com/eyeonus/Trade-Dangerous/wiki/Command-Line-Options#trade-sub-command

Ok, you are right ! 😊
 
....
Pretty crazy such an awesome tool doesnt have a GUI. Such a waste.... (as an engineer I dont mind using CLI - but.... 90% of people wont, and then this awesome tool is severely underused)
It does have a GUI, it just isn't very good currently. You can run it by typing tradegui

If you have any ability to help make it better, I for one would certainly appreciate it.
 
It does have a GUI, it just isn't very good currently. You can run it by typing tradegui

If you have any ability to help make it better, I for one would certainly appreciate it.
I would like to help. But I don't know how. I have no idea about Python or similar programming languages. 😞
 
Hey Tromador. The server seems stuck again! Can you give it your usual kick, please? Unless your new server doesn't like that!
yep, was thinking my internet was bugging off there for a bit! but eh... nope :)
is there an alternate source for updating DB btw?
I use: trade import -P eddblink -O listings -vv
Any better way to update, or alternatives?
 
The server should be back up in a day or so, we're having to wait for the on-site people to have time to reboot it.

In the meantime, you can use the Spansh plugin: trade import -P spansh -O maxage=30 (The maxage (= skip entries more than N days old) parameter is not required but is highly recommended.)

The Spansh plugin will import from the Spansh data, which is dumped once a day, so there's no equivalent to 'live-listings' on Trom's server. If you absolutely must have up to the minute updates, you can get the TD listener, place it in your TD folder and run it in the background, but do not ask me for help, as the listener is intended solely for server use, not client. (Which is also why I'm not providing a link to it.)
 
Last edited:
yep, was thinking my internet was bugging off there for a bit! but eh... nope :)
is there an alternate source for updating DB btw?
I use: trade import -P eddblink -O listings -vv
Any better way to update, or alternatives?
ok - I found the command info page and imported spansh data.
import -P spansh
just a quick question: are spansh data and eddblink data different formats? ie: are they compatible? or do I have to -clean and only use either spansh OR eddblink?
 
The server should be back up in a day or so, we're having to wait for the on-site people to have time to reboot it.

In the meantime, you can use the Spansh plugin: trade import -P spansh -O maxage=30 (The maxage (= skip entries more than N days old) parameter is not required but is highly recommended.)

The Spansh plugin will import from the Spansh data, which is dumped once a day, so there's no equivalent to 'live-listings' on Trom's server. If you absolutely must have up to the minute updates, you can get the TD listener, place it in your TD folder and run it in the background, but do not ask me for help, as the listener is intended solely for server use, not client. (Which is also why I'm not providing a link to it.)
haha, omg :D
I already ran it before seeing your reply.... yeh, that took awhile.... :)
 
ok - I found the command info page and imported spansh data.
import -P spansh
just a quick question: are spansh data and eddblink data different formats? ie: are they compatible? or do I have to -clean and only use either spansh OR eddblink?
They are perfectly compatible. The import formats are indeed different, but they both convert their respective sources into the native internal format of TD, so there's no worries about incompatibility.

Oh, if you have EDMC, you can turn on the option to export prices files and use the edmc_batch plugin to import your own data that you generate by using EDMC whilst flying around.
https://github.com/eyeonus/Trade-Dangerous/wiki/Plugin-Options#edmc_batch
 
Last edited:
Back
Top Bottom