khoffrath / ga-bitbot

Automatically exported from code.google.com/p/ga-bitbot
GNU General Public License v3.0
0 stars 0 forks source link

orders from a lower priority gene not set if higher priority has no target #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From bcbookie.py

scanning for active bids by priority
e7d28bc6a36b9153cd6921c52a157de7 priority: 2 enabled: 1 target: $0.0 discount: 
100.0
2db7d4cd3d768ddc649200559ebb10bf priority: 5 enabled: 1 target: $64.46417 
discount: 0.0400527213521
active bid received
buy: order validated
buy: order confirmed : 1.00000000 BTC @ $58.04100
main: No GA order available.

Gene e7d2 did not have a valid order target, but the lower priority gene, 2db7, 
did have a valid target.  The lower priority bid was never set, even with the 
lack of higher priority bid.

The one order that was made was set by the constant bid parameter.

My interpretation of the intended functionality would be to take the highest 
priority bid that was valid, in this case, the $64.46417 target since the 
higher priority was $0.00.

Original issue reported on code.google.com by anderson...@gmail.com on 21 Mar 2013 at 1:07

GoogleCodeExporter commented 9 years ago
I'm pretty sure this was my screw-up and can be closed: invalid.

I think I had not yet changed my global_config to up the max bid amount.

Original comment by anderson...@gmail.com on 22 Mar 2013 at 4:49

GoogleCodeExporter commented 9 years ago

Original comment by brian.mo...@gmail.com on 30 Mar 2013 at 4:54