Skip to content

Update class + add run examples #5

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

quantomas
Copy link
Contributor

No description provided.

@quantomas
Copy link
Contributor Author

Running version (14.03.2023)

Copy link
Owner

@henrydatei henrydatei left a comment

Choose a reason for hiding this comment

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

Can you please create a new PR for the replacement of the &? Because it is just a hotfix and doesn't introduce new features/functions that have to be tested and discussed about

@@ -772,3 +772,22 @@ def remove_order(self, order_uuid: str):
r.raise_for_status()
raw_json = r.json()
return raw_json


def get_portfolio(self):
Copy link
Owner

Choose a reason for hiding this comment

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

Please wrap the output in a class so you know what to expect (similar to 325ea78)


trades = wf.get_trade_history()

for a in trades:
Copy link
Owner

Choose a reason for hiding this comment

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

Replace a with a better name. Maybe for trade in trades:

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.

2 participants