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

Add clenow and demark to SDK #3525

Merged
merged 6 commits into from
Nov 22, 2022
Merged

Add clenow and demark to SDK #3525

merged 6 commits into from
Nov 22, 2022

Conversation

montezdesousa
Copy link
Contributor

Description

This PR fixes #3490

  • Adds some examples

SDK:
from openbb_terminal.sdk import openbb
df = openbb.stocks.load("AAPL")

openbb.ta.demark(df["Close"])
openbb.ta.demark_chart(df)

openbb.ta.clenow(df["Close"])
openbb.ta.clenow_chart(df["Close"])

@reviewpad reviewpad bot added the feat XS Extra small feature label Nov 22, 2022
@montezdesousa montezdesousa changed the title Sdk ta Add clenow and demark to SDK Nov 22, 2022
@montezdesousa montezdesousa added the bug Fix bug label Nov 22, 2022
@montezdesousa montezdesousa marked this pull request as ready for review November 22, 2022 13:13
Copy link
Contributor

@Chavithra Chavithra left a comment

Choose a reason for hiding this comment

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

It seems to work on my computer.

Do you know why we have this message?

c:\Users\MY_USER\miniconda3\envs\openbb-terminal\lib\site-packages\numpy\_distributor_init.py:30: UserWarning: loaded more than 1 DLL from .libs:
c:\Users\MY_USER\miniconda3\envs\openbb-terminal\lib\site-packages\numpy\.libs\libopenblas.FB5AE2TYXYH2IJRDKGDGQ3XBKLKTF43H.gfortran-win_amd64.dll
c:\Users\MY_USER\miniconda3\envs\openbb-terminal\lib\site-packages\numpy\.libs\libopenblas.XWYDX2IKJW2NMTWSFYNGFUWKQU3LYTCZ.gfortran-win_amd64.dll
  warnings.warn("loaded more than 1 DLL from .libs:"

@montezdesousa
Copy link
Contributor Author

It seems to work on my computer.

Do you know why we have this message?

c:\Users\MY_USER\miniconda3\envs\openbb-terminal\lib\site-packages\numpy\_distributor_init.py:30: UserWarning: loaded more than 1 DLL from .libs:
c:\Users\MY_USER\miniconda3\envs\openbb-terminal\lib\site-packages\numpy\.libs\libopenblas.FB5AE2TYXYH2IJRDKGDGQ3XBKLKTF43H.gfortran-win_amd64.dll
c:\Users\MY_USER\miniconda3\envs\openbb-terminal\lib\site-packages\numpy\.libs\libopenblas.XWYDX2IKJW2NMTWSFYNGFUWKQU3LYTCZ.gfortran-win_amd64.dll
  warnings.warn("loaded more than 1 DLL from .libs:"

never seen this warning before, related to @piiq portfolio optimization issue yesterday?

@piiq
Copy link
Contributor

piiq commented Nov 22, 2022

It's related to libfortran disapearing from numpy? Try a fresh env and clean pip cache before installing please

@jmaslek jmaslek merged commit fb42272 into main Nov 22, 2022
@jmaslek jmaslek deleted the sdk_ta branch November 22, 2022 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug feat XS Extra small feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] SDK openbb.ta is missing functions: clenow, demark
4 participants