Monday, March 9, 2009

New week... New goals...

Last week trudged by and gouged a deep trench of bone chilling tired into my life. The major system upgrade at work is done (with plenty of little issues left to bug me) and I was also able to get the Trade Finder working. Some highlights include, learning how to index a table, adding error handling to the python script, and seeing the damn thing actually find some decent trades.

Currently the Trade Finder exists as two separate scripts. The Order Importer scours an email account every three minutes and grabs all emails from Eve-Central. These are examined and inserted into the MySQL database along with a few extra fields for if the order is in hisec, the time it was imported, the total value of a buy order and a UID.

The second script is the Trade Finder. Right now I have to hard-code user variables but it searches all of HiSec for the best trades based on the users cargo capacity, capital investment, start location, minimum profit, and maximum number of jumps. The output is an ugly DOS like window with no sorting but it runs in under 20 seconds and finds deals.

The future with contain me learning how to create a python GUI and find a way to host this for my friends to use. There is also questions about creating our own order importer. I'd like to use the EBank method of cache scraping but don't know if it is possible.

No comments:

Post a Comment