-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Improve OpenBB API for investment research reports #1753
Conversation
The image should be good now. Converted to base64 and then rendered the image. also fixed some other HTML stuff |
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.
We'll need to get rid of the .ipynb_checkpoints
that accidentally slipped into the PR
I've left a couple of comments additionally, but nothing critical
@@ -47,11 +48,9 @@ | |||
) | |||
|
|||
# Models | |||
# NOTE: The raw function is used here to point to the commons path where all the |
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 remember why I've implemented it like this 😂
@@ -28,7 +28,7 @@ class ReportController(BaseController): | |||
reports_folder = os.path.dirname(os.path.abspath(__file__)) | |||
|
|||
report_names = [ | |||
notebooks.strip(".ipynb") | |||
notebooks[:-6] |
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.
not critical to me, but why?
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.
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.
argh
@@ -207,7 +186,7 @@ def darkpool_otc( | |||
num: int, | |||
promising: int, | |||
tier: str, |
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.
Is there a way to have a default kwarg for the tier
? It's a string and giving a default kwarg would make it easier to understand what it looks like
@piiq should be good now :) |
@DidierRLopes no, it's not |
…l into darkpoolapi
Should be now @piiq |
Improved a LOT of small things on the API:
@piiq @jose-donato this is silly but how can we have the OpenBB_reports_logo.png image appearing on the report when this is run from the reports controller?