-
Notifications
You must be signed in to change notification settings - Fork 2
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
Drafting updates to template #65
Conversation
Commit messages should be all lowercase in the first line and say what you changed, not what you did |
Other than that looks good |
c8d5408
to
ea55085
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #65 +/- ##
========================================
- Coverage 1.02% 0.99% -0.04%
========================================
Files 10 11 +1
Lines 391 403 +12
========================================
Hits 4 4
- Misses 387 399 +12 ☔ View full report in Codecov by Sentry. |
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.
Good code
Also very good commit messages
web/public/template.py
Outdated
@@ -23,12 +23,15 @@ def place_market_order(side: str, ticker: str, quantity: float, price: float) -> | |||
class Strategy: | |||
"""Template for a strategy.""" | |||
|
|||
def __init__(self) -> None: | |||
def __init__(self, holdings) -> None: |
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.
Type hints pls
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.
I don't know what the type of holdings is
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.
@stevenewald steev we need halp
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.
remove it we dont need it
tried fixing linter issue fixed linter issue
Rebasing... Fixed rebase issues Fixing rebase
48904c3
to
ba734e6
Compare
8f3bc7d
to
8937384
Compare
8937384
to
5e84f0b
Compare
Will merge once we complete initial run of nutc |
Will reopen this later. This will make old submissions not work so it'll be harder to test on prev results. We will use this, just not for a month or so. |
Work in progress updates to the template, there are some blanks to be filled in including types, docstrings, etc.