Code:
==== CHANGES ====
(New changes occur frequently, I only update with significant releases here)
v7.3.0 Jul 05 2015:
. (ahamid/kfsone) "fromfile" support for command options:
- All commands will now look for a "fromfile" specifying default arguments
for that command .tdrc_{cmd} e.g .tdrc_nav or .tdrc_shipvendor,
- One argument-position per line, "--ly 20" is two lines but "--ly=20" is one,
- The fromfile argument is replaced with the arguments in the file,
- Looks in the current directory and then your user directory,
- You can also use your own fromfile as an argument prefixed with a '+':
trade.py nav +myfrom.txt
. (Fred Deschenes) "buy" now supports categories e.g.
trade.py buy --near sol metals,food
- to find food cartridges, use foodc or "food cartridges",
Jun 20 2015:
. (kfsone) Lots of new systems (until EDSC broke),
. (kfsone) Minor optimizations,
. (kfsone) Tweaks to edscupdate,
v7.2.0 Jun 14 2015:
. (Orphu) Created an import plugin that uses Frontier's Mobile API,
- See README.md for more help,
- Use "trade.py import -P edapi" to get started,
- Able to optionally upload prices it pulls to EDDN:
trade.py imp -P edapi -O eddn
. (maddavo) Fixed/merged lots of new systems,
v7.1.2 Jun 6 2015:
. (Dry411s) Diamondback prices
. (Orphu) Imperial courier price
. (kfsone) Maddavo Data import/refresh
v7.1.1 May 25 2015
. (kfsone) Added "--distance" option to "edscupdate" which shows the 10
closest candidates.
+ (kfsone) Over 500 new core systems
v7.1.0 May 11 2015
. (kfsone) #236 Unicorn (erh, Unicode)
- Added code to trade.py to catch wild unicode errors, esp under windows:
Windows console is NOT utf-8 based, which means that when TD tries to
print a unicode character, an error occurs. I've added code to catch
this early (TradeEnv.uprint) and code to catch it late (trade.py),
- Changed various file openings to "utf-8",
. (gazelle) Changed display of "adding/removing ships" in shipvendor sub-command
. (kfsone) #234 Change display of "adding ship" in maddavo plugin
. (kfsone) Fix submit-distances/edscupdate generating duplicate extra-stars.
v7.0.3 May 09 2015
. (kfsone) "run" command:
- Added "--show-jumps" (aka -J)
- Jumps are no-longer shown by default,
- Request #233 Jumps now include distance
- If start and end station of a hop are in the same system,
display "Supercruise to ..." instead of a jump
- When a hop involves multiple jumps using --show-jumps, it will
tell you the direct and total distances,
. (kfsone) Revamped the intro of the README.md (http://kfs.org/td/source)
. (gazelle) Corrected unicode system names (Argetlamh etc)
v7.0.2 May 05 2015
. (kfsone) Added "--demand" option to "run", filters based on demand.
CAUTION: Items with "?" demand will be ignored when using --demand.
If you want to enter demand values in the update tool, you will
need to use the "--use-demand" (-D) option of "update".
. (kfsone) Fixed #231 Exception when using --quantity in buy/sell
. (kfsone) --supply is now an alias for --quantity in "buy"
. (kfsone) --demand is now an alias for --quantity in "sell"
. (kfsone) Fixed #232 'supply' values ignored by "run"
v7.0.1 May 04 2015
. (kfsone) Minor fixes from forums
. (kfsone) Fixed issue causing some users to get a numpy import error
+ Extra data and Rares
v7.0.0 May 03 2015
CACHE BUILD REQUIRED (trade.py buildcache -fi)
"requests" packages is now required if you want to use "maddavO"s plugin
. (Avi) README.txt has been replaced with README.md
. (kfsone) "import" command (non-plugin behavior)
- Restored the default behavior of forcefully overwriting existing data
with values from the .prices file and deleting items that aren't listed
in the import.
- Added "--merge-import" option: only imports entries that are newer than
existing local data and only removes entries when there is an explicit
entry for it with 0 prices.
- Changed "--reset" to "--reset-all" because it's a scary command,
. (kfsone) Consistency of various commands:
- "demand" refers to what a station will buy,
- "supply" refers to what a station is selling,
- Changed several command options from "--stock" to "--supply",
- "--black-market" is now consistently spelled with a hyphen
(or just --black for short),
- "--bm" now has two hyphens in all uses (it was -bm in some cases),
. (kfsone) "market" command:
- Only show the age of items once,
. (kfsone) "nav" command:
- Fixed --refuel-jumps
- Added --pad-size to limit which stations will be listed/refuelled at,
. (kfsone) "buy" and "sell" commands:
- Added "--black-market" (--bm) option,
- Added "--avoid" option (accepts station and/or system names)
. (kfsone) Performance:
- Re-unified the StationBuying/StationSelling tables into StationItem,
- Added StationBuying and StationSelling views,
- Minor refactor of getTrades to reduce the pathalogical near O(n^2)
behavior it used to match buyers to sellers,
- Improved performance of nav command slightly,
- "import" plugin now uses the "requests" module, which means that
it will automatically download/use compressed .prices files when
they are made available. E.g. maddavo's .prices files now require
upto 5x less bandwidth,
- Added code to allow experimental use of numpy,
See the "CHANGES.txt" file for more updates.