Skip to content

Add function “get_crypto_visuals” to timeseries.py#70

Open
invest41 wants to merge 4 commits intorisenW:masterfrom
invest41:master
Open

Add function “get_crypto_visuals” to timeseries.py#70
invest41 wants to merge 4 commits intorisenW:masterfrom
invest41:master

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