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 a function to timeseries.py, which displays crypto coin market data as a Candlestick Chart #68

Open
4 of 7 tasks
invest41 opened this issue Jul 28, 2021 · 0 comments · May be fixed by #70
Open
4 of 7 tasks
Assignees

Comments

@invest41
Copy link

invest41 commented Jul 28, 2021

Utilizing Plotly to make a "Coin-USD" market data Candlestick plot

Required Packages

  • NumPy

  • Pandas

  • Matplotlib

  • yfinance

  • Plotly

  • kaleido

  • Random (Python built-in)


✅ - signifies packages currently in requirements.txt

  Default function - get_crypto_visuals
  —————————––––––––––––––––

def get_crypto_visuals(coin, period='5d', interval='15m', MA=False,days=[7,25,99], boll=False, boll_sma=25, save_fig=False, img_format='png'):



“””

  ----------------------SKIPPING PARAMETER DESCRIPTION TO END OF DOCSTRING--------------------
  



  Examples of valid use

    ----------------

  >>>  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("ETH", period="5d", interval="15m", boll=True, boll_sma=26, save_fig=True, img_format='jpeg')

”””

-------Main Code goes here-------

End Result Snippet

ETH

@invest41 invest41 linked a pull request Aug 3, 2021 that will close this issue
7 tasks
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 a pull request may close this issue.

1 participant