Adding new things (see above), namely:
backtraderwas mentioned in
Used in the NinjaTrader Forum as a reference of how to do rollover of futures
Mentioned in the Quantopian Forums
Note that data0 is the master data and sets the time when trades will start
I thought that restriction was removed some time ago in
backtrader. Are you sure?
Good. In any case you may want to have a look at this thread which has been discussing the same topic:
Too late to the party. There was a thread about that topic ... which would have given you the clue you already found.
There was a very similar question a couple of days ago
A quick glance would seem to indicate that your problem is similar but in the other direction. You have
size=0.0008 and the price moves in that range, triggering the up/downs (you have instances of more than one in the same direction)
... 2017-07-04, Close, 1.1352 2017-07-04, Close, 1.1360 2017-07-04, Close, 1.1344 2017-07-04, Close, 1.1360 2017-07-04, Close, 1.1344 2017-07-04, Close, 1.1360 2017-07-04, Close, 1.1344 ...
1.1360 - 1.1352 = 0.0008 which is the size and the rest are above the
size (in absolute value), each time in an opposite directions.
Play with a different size and you will see different results.
A bit of Googling some hours later has uncovered the aforementioned thread with the local file feature:
Yahoo is probably down. There is a thread in the community that explained that in the absence of network connection, the feed would try to fetch a cached version of the data feed using the same name in the local directory (which you obviously don't have)
In any case the
Yahoo API is gone for good (given the glitches that Yahoo introduces in the new downloads, including random reversal of columns close/adjusted close)
Your best bet is to use some other data feed, for example QUANDL
Note: See the top of the forum for properly posting those error traces (else, they are mostly unreadable)