In-Development TradeDangerous: power-user trade optimizer

Hi NE1 - its working fine for me. I've just updated the database and run a short loop command and it all works fine for me.

"D:\Trade\trade.py" run --fr="GUUGUYNI/Shen Terminal" --cap=224 --ins=3631890 --cr=33998010 --ly=16.14 --empty=22.84 --gpt=350 --mgpt=4500 --supply=340 --hops=4 --jum=2 --avoid="alioth,slaves,facece" --loop -J --no-planet -vv

Have you updated from the wrong branch?
 
I got this from the TCE thread.


HYDROGEN PEROXIDE
LIQUID OXYGEN
INSULATING MEMBRANE
ADVANCED MEDICINES
LITHIUM HYDROXIDE
LOW TEMPERATURE DIAMOND
METHANE CLATHRATE
CONDUCTIVE FABRICS
MILITARY GRADE FABRICS
WATER
CMM COMPOSITE
ENERGY GRID ASSEMBLY
HN SHOCK MOUNT
HEATSINK INTERLINK
MAGNETIC EMITTER COIL
POWER CONVERTER
PRASEODYMIUM
SAMARIUM
BROMELLITE
METHANOL MONOHYDRATE
HARDWARE DIAGNOSTIC SENSOR
MEDICAL DIAGNOSTIC EQUIPMENT
MICRO CONTROLLERS
EMERGENCY POWER CELLS
EXHAUST MANIFOLD
SURVIVAL EQUIPMENT
ION DISTRIBUTOR
RADIATION BAFFLE

I'll visit a few markets and see if I can find what categories they are in.....
 
Oh, and we passed 2 Million prices today!

Database currently holds 50642 Stations in 19098 Systems, 33810 Commodities Markets in 15034 Systems, 2001537 Prices
 
Different Spelling Commodities

Trade Dangerous cant read EDMC downloads, because there are some different spellings:


(these are the ones i found in Meliontit/Abe Hub)

Newest item.csv (and spelling in game, of course) / EDMC station.prices downloads
Animal Meat / Animalmeat
CMM Composite / C M M Composite
HN Shock Mount / H N Shock Mount
Methanol Monohydrate / Methanol Monohydrate Crystals
Hardware Diagnostic Sensor / Diagnostic Sensor


Is there a way to handle this (and to use EDMC)?

greetings
 
Last edited:
Trade Dangerous cant read EDMC downloads, because there are some different spellings:


(these are the ones i found in Meliontit/Abe Hub)

Newest item.csv (and spelling in game, of course) / EDMC station.prices downloads
Animal Meat / Animalmeat
CMM Composite / C M M Composite
HN Shock Mount / H N Shock Mount
Methanol Monohydrate / Methanol Monohydrate Crystals
Hardware Diagnostic Sensor / Diagnostic Sensor


Is there a way to handle this (and to use EDMC)?

greetings

You could try getting the latest Corrections.csv file during a maddavo import - eg:
trade import -P maddavo -O Corrections
The corrections file contains those item mappings above - I saw them yesterday morning.

But, I'm not sure why you'd need to import prices from EDMC. EDMC transmits data to EDDN, and MMS listens to EDDN. So when you do a maddavo import then the prices get into your database. Alternately if you are using TD alot then try using the edapi plugin - eg:
trade import -P edapi -O eddn
That will import the prices from the current station immediately and send them to EDDN - all in the one command. It's a bit less hassle than using EDMC and then importing the file it makes.

Cheers,
Maddavo
 
You could try getting the latest Corrections.csv file during a maddavo import - eg:
trade import -P maddavo -O Corrections
The corrections file contains those item mappings above - I saw them yesterday morning.

But, I'm not sure why you'd need to import prices from EDMC. EDMC transmits data to EDDN, and MMS listens to EDDN. So when you do a maddavo import then the prices get into your database. Alternately if you are using TD alot then try using the edapi plugin - eg:
trade import -P edapi -O eddn
That will import the prices from the current station immediately and send them to EDDN - all in the one command. It's a bit less hassle than using EDMC and then importing the file it makes.

Cheers,
Maddavo

thanks for your answer and tips,

when i import the EDMC.prices i can at least use TD for now, for i can handcorrect the file before.


with the
..import -P maddavo -O Corrections
..import -P edapi -O eddn

i get the following output:

C:\Windows\system32>trade.py import -P edapi -O eddn
@OKUA'GSA/Poyser's Folly
<tradedb.Station object at 0x00000000060D5E88>
WARNING: import.prices:29 ERROR Unrecognized item name: "ANIMALMEAT"
WARNING: import.prices:45 ERROR Unrecognized item name: "C M M COMPOSITE"
WARNING: import.prices:63 ERROR Unrecognized item name: "SKIMER COMPONENTS"
NOTE: Import complete: 3 new and 75 updated items over 1 stations in 1 systems
Posting prices to EDDN...
Posting outfitting to EDDN...
 
thanks for your answer and tips,

when i import the EDMC.prices i can at least use TD for now, for i can handcorrect the file before.


with the
..import -P maddavo -O Corrections
..import -P edapi -O eddn

i get the following output:

C:\Windows\system32>trade.py import -P edapi -O eddn
@OKUA'GSA/Poyser's Folly
<tradedb.Station object at 0x00000000060D5E88>
WARNING: import.prices:29 ERROR Unrecognized item name: "ANIMALMEAT"
WARNING: import.prices:45 ERROR Unrecognized item name: "C M M COMPOSITE"
WARNING: import.prices:63 ERROR Unrecognized item name: "SKIMER COMPONENTS"
NOTE: Import complete: 3 new and 75 updated items over 1 stations in 1 systems
Posting prices to EDDN...
Posting outfitting to EDDN...

Ah - I think I may have edited my edapi_plug.py file. Find the section in the file and replace with below:

Code:
# TD has different names for these.
comm_correct = {
    'Agricultural Medicines': 'Agri-Medicines',
    'Animalmeat': 'Animal Meat',
    'Atmospheric Extractors': 'Atmospheric Processors',
    'Auto Fabricators': 'Auto-Fabricators',
    'Basic Narcotics': 'Narcotics',
    'Bio Reducing Lichen': 'Bioreducing Lichen',
    'C M M Composite': 'CMM Composite',
    'Hafnium178': 'Hafnium 178',
    'Hazardous Environment Suits': 'H.E. Suits',
    'Heliostatic Furnaces': 'Microbial Furnaces',
    'Marine Supplies': 'Marine Equipment',
    'Meta Alloys': 'Meta-Alloys',
    'Mu Tom Imager': 'Muon Imager',
    'Non Lethal Weapons': 'Non-Lethal Weapons',
    'S A P8 Core Container': 'SAP 8 Core Container',
    'Skimer Components': 'Skimmer Components',
    'Terrain Enrichment Systems': 'Land Enrichment Systems',
    'U S S Cargo Ancient Artefact': 'Ancient Artefact',
    'U S S Cargo Experimental Chemicals': 'Experimental Chemicals',
    'U S S Cargo Military Plans': 'Military Plans',
    'U S S Cargo Prototype Tech': 'Prototype Tech',
    'U S S Cargo Rebel Transmissions': 'Rebel Transmissions',
    'U S S Cargo Technical Blueprints': 'Technical Blueprints',
    'U S S Cargo Trade Data': 'Trade Data',
}
 
Another one for your items.csv Maddavo.....

Machinery - Reinforced Mounting Plate. Found it at a surface industrial port (Busch Holdings in Ekhi system)
 
Ah - thanks. And I think there are also a few more coming through...
TELEMETRY SUITE
NANOBREAKERS
POWER TRANSFER CONDUITS (Need to check as I have had reports of ENERGY TRANSFER CONDUITS)
MODULAR TERMINALS
ARTICULATION MOTORS

EDIT: Ah no, POWER TRANSFER CONDUITS is right. It's ENERGY GRID ASSEMBLY that might be POWER GRID ASSEMBLY.
- - - - - Additional Content Posted / Auto Merge - - - - -

and this:

[SIZE=-1]JADEITE

[/SIZE]
 
Last edited:
After some quick research I've found a heap more items and added them to the Items.csv file.

Could someone please confirm via screenshot whether there is an item that is called "ENERGY GRID ASSEMBLY" OR "POWER GRID ASSEMBLY".
 
After some quick research I've found a heap more items and added them to the Items.csv file.

Could someone please confirm via screenshot whether there is an item that is called "ENERGY GRID ASSEMBLY" OR "POWER GRID ASSEMBLY".

the item is "ENERGY GRID ASSEMBLY" (no screenshot, but iam shure, for i corrected it a few times)
 
Here's the screenshot:
tb4EBF1.jpg
 
TD or/and python obstinately refuses to work

latest pythonversion
correct TD-install
correct paths
multiple tries in many constellations
nothing works

the only output(with all commands!):

C:\Users\Gerhard\OneDrive\Dokumente\REPOS\TradeDangerous_280516\trade.py:
TradeDangerous provides a set of trade database facilities for Elite:Dangerous.


Usage: C:\Users\Gerhard\OneDrive\Dokumente\REPOS\TradeDangerous_280516\trade.py <command>

Where <command> is one of:

buildcache Build TradeDangerous cache file from sources
buy Find places to buy a given item within range of a given
station.
export CSV exporter for TradeDangerous database.
import TD data import system. On its own, this command lets you
merge station prices from a '.prices' file (entries in the
file that are older than your local data are not loaded).
local Calculate local systems.
market Lists items bought/sold at a given station.
nav Calculate a route between two systems.
olddata Show oldest data in database.
rares Find rares near your current local.
run Calculate best trade run.
sell Find places to sell a given item within range of a given
station.
shipvendor List, add or update available ships to a station
station Add (or update) a station entry
trade Find places to buy a given item within range of a given
station.
update Update prices for a station.

For additional help on a specific command, such as 'update' use
C:\Users\Gerhard\OneDrive\Dokumente\REPOS\TradeDangerous_280516\trade.py update -h


perhaps a tiny, wily problem,
the whole internet seems not to know;)

therefore here maybe someone can help

thankyou very much




 
Back
Top Bottom