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

Remove Pre-Roll-Logic from StrategyImpl #236

Merged
merged 1 commit into from
Sep 6, 2018
Merged

Remove Pre-Roll-Logic from StrategyImpl #236

merged 1 commit into from
Sep 6, 2018

Conversation

Shawn8901
Copy link
Contributor

As its a un-needed complexity in a Strategy implementation i would prefer to remove the preroll logic from those.
As its only preventing the signal, i would just move it as gate to the signal publish.
Due this this logic is completely hidden for a strategy, which should not care for those internal logics.

@Shawn8901 Shawn8901 requested a review from notVitaliy as a code owner August 27, 2018 18:19
@codecov-io
Copy link

Codecov Report

Merging #236 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@              Coverage Diff              @@
##              master        #236   +/-   ##
=============================================
  Coverage   86.01896%   86.01896%           
=============================================
  Files             44          44           
  Lines            844         844           
  Branches         116         116           
=============================================
  Hits             726         726           
  Misses           118         118
Impacted Files Coverage Δ
src/strategy/strategies/base-strategy.ts 100% <ø> (ø) ⬆️
src/strategy/strategies/macd/macd.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ba51636...f164688. Read the comment docs.

@notVitaliy
Copy link
Member

That makes sense. I can't merge this in until that gate is put in place though.

@Shawn8901
Copy link
Contributor Author

Which gate are you talking about?

@notVitaliy
Copy link
Member

Don't mind me. Brain farted. Merging now.

@notVitaliy notVitaliy merged commit 41ee4b4 into magic8bot:master Sep 6, 2018
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