-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAINT: Add equity to naming of bar data classes. #1311
Conversation
cc: @llllllllll @jbredeche @yankees714 @yankees714 is this compatible with changes you are making to the minute bar readers? Let me know what I can do to make this collide too much with your work. Once this is greenlit, I will do the appropriate replacement of class and method names in our internal repos. |
Just noticed this name |
45525bc
to
9b3538f
Compare
#1311 (comment) was addressed with a fixup. |
@@ -636,7 +636,7 @@ def convert_col(col): | |||
table.flush() | |||
|
|||
|
|||
class BcolzMinuteBarReader(object): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will the future reader be a different class?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Talked offline with @llllllllll. Going to roll back the part of this PR which creates separate reader classes, in favor of one class which uses parameters. The WithBcolzEquityMinuteBarReader
and WithBcolzFutureMinuteBarReader
fixtures will be responsible for setting the respective minutes per day values.
9b3538f
to
f286518
Compare
Pushed fixups addressing all comments. Going to merge once checks pass again, and a corresponding internal branch has been crafted. |
1 similar comment
In preparation of adding futures, add equity to the names of both the classes and methods for writing bcolz data. Futures data will use a different minutes per day with a separate reader. This change will allow both equity and futures fixtures to be side by side. Also, break out the method which generates the dataframes and trading days member into fixtures (`EquityMinuteBarData` and `EquityDailyBarData`) on which the `*BarReader` fixture depends. This fixture is separated out to enable reader/writers in different formats to use the same data setup. (There is internal code which needs to write minute and daily bar data in a database format.)
f286518
to
51eda06
Compare
In preparation of adding futures, add equity to the names of both the
classes and methods for writing bcolz data. Futures data will use a
different minutes per day with a separate reader. This change will allow
both equity and futures fixtures to be side by side.
Also, break out the method which generates the dataframes and trading
days member into fixtures (
EquityMinuteBarData
andEquityDailyBarData
) on which the*BarReader
fixture depends. Thisfixture is separated out to enable reader/writers in different formats
to use the same data setup. (There is internal code which needs to write
minute and daily bar data in a database format.)