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 function “get_crypto_visuals” to timeseries.py #70

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

invest41
Copy link

@invest41 invest41 commented Aug 3, 2021

Utilizing Plotly to make a "Coin-USD" market data Candlestick plot
This PR fixes #68

Required Packages

  • NumPy

  • Pandas

  • Matplotlib

  • yfinance

  • Plotly

  • kaleido

  • Random (Python built-in)


✅ - signifies packages currently in requirements.txt


Updated Packages

-     ppscore==0.0.3
+     ppscore==1.2.0

-     pytest==5.4.3
+     pytest==6.2.4

Function added to timeseries.py

  • get_crypto_visuals


Examples of Valid use

  >>>  from datasist.timeseries import get_crypto_visuals
  
  >>>  get_crypto_visuals("ETH")

  >>>  get_crypto_visuals("ETH", MA=True)

  >>>  get_crypto_visuals("ETH", period="5d", interval="15m",MA=True, days=[5, 20], save_fig=True)

  >>>  get_crypto_visuals("BTC", period="3d", interval="15m", boll=True, boll_sma=26, save_fig=True, img_format='jpeg')




Snippets


Chart with Moving Average Visualized
IMG_9417


Chart with Bollinger band
73E0D157-B139-444B-817A-D734C3D7DB70

@invest41 invest41 changed the title Close: Add a function to timeseries.py, which displays crypto coin market data as a Candlestick Chart #68 Close: Add a function to timeseries.py, which displays crypto coin market data as a Candlestick Chart Aug 3, 2021
@invest41 invest41 changed the title Close: Add a function to timeseries.py, which displays crypto coin market data as a Candlestick Chart Add function “get_crypto_visuals” to timeseries.py Aug 3, 2021
@risenW risenW self-requested a review January 12, 2022 09:25
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.

Add a function to timeseries.py, which displays crypto coin market data as a Candlestick Chart
1 participant