What steps will reproduce the problem?
1. invoke bfceed_synch.py -d
2. invoke gal.py
3. Load archived gene database? (y/n) y
What is the expected output? What do you see instead?
Expected:
update: current price 6.770 @ Fri Jan 6 15:15:22 2012
checking open orders
checking held positions
main: Availble Funds (USDS,BTCS) :(u'100.0093', u'50')
main: No GA order available.
sleeping...
Seen:
update: current price 6.750 @ Fri Jan 6 14:58:07 2012
checking open orders
checking held positions
main: Availble Funds (USDS,BTCS) :(u'100.0093', u'50')
Traceback (most recent call last):
File "bcbookie.py", line 482, in <module>
commit = ((t['target'] - t['buy']) * 0.8) + t['buy'] #commit sell order at 80% to target
KeyError: 'target'
What version of the product are you using? On what operating system?
Version: Git Clone w/ revisions
OS: Ubuntu 10.4_x86_64 w/ python2.7
Please provide any additional information below.
If you load archived gene database files previous to bcfeed_synch.py -d data,
this error pops up. Boot strapping data and selecting no on load archived gene
database stops the error from happening.
Original issue reported on code.google.com by dgravi...@gmail.com on 6 Jan 2012 at 10:28
Original issue reported on code.google.com by
dgravi...@gmail.com
on 6 Jan 2012 at 10:28