--ly is forced to be at least 1, which in turn forces --near to be on, because --ly requires --near.
--ly should be able to be set to 0, meaning do not pass this option.
It is perfectly valid, by the way, to merely 'trade.py olddata' with no options. The only time any olddata options are required is when you want to limit the results list to systems within --ly of a system, which requires requires that system to be set with --near.
--ly is forced to be at least 1, which in turn forces --near to be on, because --ly requires --near.
--ly should be able to be set to 0, meaning do not pass this option.
It is perfectly valid, by the way, to merely 'trade.py olddata' with no options. The only time any olddata options are required is when you want to limit the results list to systems within --ly of a system, which requires requires that system to be set with --near.