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

Drafting updates to template #65

Closed
wants to merge 10 commits into from
Closed

Drafting updates to template #65

wants to merge 10 commits into from

Conversation

andrlime
Copy link
Contributor

Work in progress updates to the template, there are some blanks to be filled in including types, docstrings, etc.

@egelja
Copy link
Member

egelja commented Nov 26, 2023

Commit messages should be all lowercase in the first line and say what you changed, not what you did

@egelja
Copy link
Member

egelja commented Nov 26, 2023

Other than that looks good

@andrlime andrlime force-pushed the al-template-changes branch from c8d5408 to ea55085 Compare November 29, 2023 03:28
@andrlime andrlime marked this pull request as ready for review November 29, 2023 03:28
Copy link

codecov bot commented Nov 29, 2023

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (12fed97) 1.02% compared to head (dbf59a8) 0.99%.
Report is 154 commits behind head on main.

❗ Current head dbf59a8 differs from pull request most recent head d73af5c. Consider uploading reports for the commit d73af5c to get more accurate results

Files Patch % Lines
wrapper/src/pywrapper/pywrapper.hpp 0.00% 4 Missing ⚠️
wrapper/src/rabbitmq/rabbitmq.cpp 0.00% 2 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

Copy link
Member

@egelja egelja left a 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

@@ -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:
Copy link
Member

Choose a reason for hiding this comment

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

Type hints pls

Copy link
Contributor Author

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

Copy link
Member

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

Copy link
Collaborator

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

wrapper/src/pywrapper/pywrapper.cpp Outdated Show resolved Hide resolved
wrapper/src/rabbitmq/rabbitmq.cpp Outdated Show resolved Hide resolved
@stevenewald
Copy link
Collaborator

Will merge once we complete initial run of nutc

@stevenewald
Copy link
Collaborator

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.

@stevenewald stevenewald deleted the al-template-changes branch July 12, 2024 23:02
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.

4 participants