Thursday, February 26, 2009

A small setback and then Victory!

Hey, why are all my orders set as bids? I had a mistake in how the script assigned whether an order was a bid (buy order) or not (a sell order). The problem was case sensitivity. I was looking for ALL CAPS so assigned everything as a sell order. This was fixed and I'm rebuilding the database one more time (no way to tell what the existing orders were)! So far it has 10,000 orders.

Cracked the 'getting stuff out of python' problem and was able to write the Trade Finder script in under an hour. Having the Google Docs file was great. This let me get my ideas down and in a decent form so once I figured it out just needed to add a few lines and correct for typos.

Still plenty to be done though. I currently have to hard code my cargo capacity, ISK reserves, and Profit Expectations. Plus the output is just a list of those trades that match or exceed my expectations. So it needs love and attention on the input and output side, but the engine looks like it is humming along.

Might test it in the morning and see how long it takes to crack a larger database.

Tomorrow I'm gonna go watch Whitney's play with some of the crew, so we'll see if I get to the code.

No comments:

Post a Comment