hi
many thanks for providing this code!
I ran it and noticed that almost every day it tries to short the JPY futures and it fails to do so:
2007-01-18 23:00 WARN Your order for -26 shares of JEH07 has been partially filled. 1 shares were successfully sold. 25 shares were not filled by the end
2007-01-19 23:00 WARN Your order for -25 shares of JEH07 failed to fill by the end of day and was canceled.
why is that?
is it not liquid enough? for 26 contracts?
and again same problem in 2015
2015-12-01 23:00 WARN Your order for -10 shares of JEZ15 failed to fill by the end of day and was canceled.
2015-12-02 23:00 WARN Your order for -10 shares of JEZ15 failed to fill by the end of day and was canceled.