This is a pretty simple python script that reads your Cargo.json file and extracts data from inara.cz and applies an algorithm to inform you of the top 5 five places to go sell your hard-earned commodities in Elite Dangerous. In the assets below there is LtdMarket.exe which is just LtdMarket.py (found in this repository) compiled into one file using PyInstaller.
When you start it up it will start up Python and import the necessary dependencies and will produce this:
If this window closes immediately it is probably an issue regarding PyInstaller (Python 3.7) or dependencies not running correctly.
From there just hitting enter will cause the code to read the amount of LTDs in your cargo based on the Cargo.json and grab commodity data from Inara. It then applies that data to an approximate formula (this means it is an estimate) developed by NeoTron (see code for credit) to find the top five systems to sell at. And finally spit out results similar to this:
It ranks them in order of best to worse, displays the price per ton, total price, and trade dividends wingmates will receive if they are with you followed by some information regarding the station.
Instead of just hitting enter you also have the option to enter in one to four number amounts, in theory, the amount of LTDs everyone in your wing has. This will behave in much the same way except that it prints out information for each wingmate.
Entering two values will produce a result like this:
In which the values for "1" are the Price/Ton, Total Price, and Trade Dividends are the amount the person possessing the first value will receive and Trade Divs 3 is the trade dividends any extra wingmates (who posses zero LTDs) will receive.
Entering three values will produce a similar result while entering four values won't printout any trade dividends for a fifth wing member (because that is impossible). Examples of these are:
Printing out information for four wing members requires a lot of space horizontally and in order for it to format correctly, you may want to full screen the console window and/or shrink the font on the console window. To change the font right click on the console window header and click properties.
This is compatible with Windows and potentially Mac (I don't have any Apple computers to test this). It may potentially work with Linux as well, ( Again, I don't have a Linux computer to test this ) except it won't be able to read your Cargo.json file so you will have to manually enter your cargo values, this is because Linux stores the Cargo.json file in a different location.
If you don't trust the .exe don't fret, just download Python 3.7, use pip to install the dependencies, and copy-paste the code over and it will run exactly the same way.