bmonkaba / ga-bitbot

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

Improving the real life bcbookie performance #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, the bcbookie [and possibly the whole algo] rounds the prices down to 
the 2 decimal places. That may be a sound decision for determining an optimal 
trade strategy, but bcbookie real life performance could be improved by 
increasing the price it buys at by a minimal amount [0.00342 seems to me like a 
good start] and subtracting the same amount from the sell price. That-a-way 
ga-bitbot orders would be performed before other orders rounded up to the 2 
decimal places, resulting in more trades, and the profit/loss calculations of 
the whole system would be affected minimally. Additional advantage would be 
that such orders [made by bcbookie, not by humans/other bots] could easily be 
identified/distinguished when looking at the current order list by one mtgox 
user or the whole mtgox list.

Grateful in advance ;)

Original issue reported on code.google.com by purge...@gmail.com on 25 Feb 2012 at 7:36

GoogleCodeExporter commented 9 years ago
I wrote a nice long winded response but it was lost when I somehow got logged 
out of google.

Anyway, I added a price format variable to global_config.json to adjust the 
systems decimal precision.

examples:

"price_format" : "%.5f" ----> $0.00000

"price_format" : "%.2" ----> $0.00

Original comment by brian.mo...@gmail.com on 29 Feb 2012 at 1:41

GoogleCodeExporter commented 9 years ago

Original comment by brian.mo...@gmail.com on 6 Mar 2013 at 2:10