Open Kiminaka opened 6 years ago
anyone?
I'm also having trouble with no transactions recorded when using custom bundle. Whenever I backtest with the same code and quantopian-quadl bundle instead, it works.
I'm having the same issue as well with a custom bundle. This applies primarily for non-standard symbols. In my case it was BRK.A because the . interferes with the custom bundle ingestion so I changed the symbol to BRK-A. For some reason, it works with order()
Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment
$ pip freeze
or$ conda list
Now that you know a little about me, let me tell you about the issue I am having:
order_target_percent
doesn't execute ordersDescription of Issue
I was trying to follow Zipline's moving average crossover example with a custom csv dataset that's been already put into a custom data bundle using
register
andcsvdir.csvdir_equities
. I usedorder_target_percent(context.asset, 1.0)
ororder_target_percent(context.asset, 0.0)
to order an asset and the code went through seemed successfully but when I take a look at the performance result, it didn't execute any orders.What did you expect to happen? I expected
order_target_percent
function to execute to order the target asset when dual moving averages cross.What happened instead? order_target_percent doesn't execute orders when dual moving averages cross.
Here is how you can reproduce this issue on your machine:
code
price data set example (csv)
Sincerely,
$ whoami