quantopian / zipline

Zipline, a Pythonic Algorithmic Trading Library

Home Page:https://www.zipline.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding custom column to zipline to use it in handle_data

alexandre-dev29 opened this issue · comments

Dear Zipline Maintainers,

Before I tell you about my issue, let me describe my environment:

Environment

  • Python Version: 3.6.5
  • How did you install Zipline: pip

Now that you know a little about me, let me tell you about the issue I am
having:

Description of Issue

I am facing some problem , i am using zipline to backtest data.
with the normal OHLC format everything works fine but I would like to be able to use other columns that are in my csv file apart from the one (open,close, high,low, volum) that zipline offers by default.
I have columns such as Marketcap, ev, pe and I would like to be able to use them in the handle_data function.

Sincerely,
$ alexandre-dev29