Skip to content
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

Use fixtures in test algo #2165

Merged
merged 9 commits into from
May 1, 2018
Merged

Use fixtures in test algo #2165

merged 9 commits into from
May 1, 2018

Conversation

ssanderson
Copy link
Contributor

No description provided.

Scott Sanderson added 3 commits May 1, 2018 12:04
SIM_PARAMS_DATA_FREQUENCY = 'daily'
DATA_PORTAL_USE_MINUTE_DATA = False

# FIXME: This currently uses benchmark returns from the trading
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is in service of a larger PR that aims to eventually kill TradingEnvironment entirely, so in the interest of changing as little as possible here, I'm not changing this behavior.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ehebert ehebert self-requested a review May 1, 2018 21:04
Copy link
Contributor

@ehebert ehebert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👍 on being consistent with how test algorithms are created and invoked.

SIM_PARAMS_DATA_FREQUENCY = 'daily'
DATA_PORTAL_USE_MINUTE_DATA = False

# FIXME: This currently uses benchmark returns from the trading
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ssanderson ssanderson merged commit 7a6b14b into master May 1, 2018
@ssanderson ssanderson deleted the use-fixtures-in-test-algo branch May 1, 2018 22:40
@coveralls
Copy link

coveralls commented May 1, 2018

Coverage Status

Coverage increased (+0.05%) to 87.163% when pulling f595446 on use-fixtures-in-test-algo into 5579b04 on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants