Samuel Cutler
Yeah I don't have the TimeSpan at all, I'm assuming TimeSpan goes into the initilize function. I noticed only 2 orders come back as filled. I don't think the TimeSpan is needed at all for Market orders, also according to QC from an old post there is a default timeout of 5 seconds which should be more than enough, when you set your brokeragetype properly to GDAX it also makes sure you have the cash/coins for the order supposedly at least.
Yes I believe in should be under liquidate(), as anything outside of the if statement won't apply, and that is the only place I can see as order logic.
But Again I've let it out completely and my orders are going through fine as Market orders.
Thushara Silva
1. How do you know it did not get filled? It's a Market order unless the order didn't make it to GDAX.
2. Could be a margin issue, try lowering it lower than .998 because fees are probably not covering the order, I have mine set to .01 as an experiment and every order since last night has went through fine with no amount errors. You have to calculate what percentage fee GDAX charges on orders (0.3 %) which means you should probably lower margin to cover it, to say something like .997 as a bare minimum.
3. I am ignoring the log times for now also, as they are completely off. Unrealized profits seem off too, seems like live trading stats have been completely neglected for the most part, so I am ignoring majority of them.
Been running since 6AM I'll let you know if i run into any issues