Stock Chart – SMART Trading Strategies https://smarttradingstrategies.com Statistical and Mathematical Approach to Retail Trading Wed, 15 Dec 2021 09:24:11 +0000 en-US hourly 1 https://smarttradingstrategies.com/wp-content/uploads/2021/08/logo-150x150.png Stock Chart – SMART Trading Strategies https://smarttradingstrategies.com 32 32 How to work with financial timeseries in Python https://smarttradingstrategies.com/how-to-work-with-financial-timeseries-in-python/ https://smarttradingstrategies.com/how-to-work-with-financial-timeseries-in-python/#respond Sun, 31 Oct 2021 09:07:50 +0000 https://smarttradingstrategies.com/?p=689 How to export data to separate Excel sheets
How to read from Excel files
How to export data to separate CSV files
How to read tables from HTML pages
How to plot single series stock charts (line graphs, bar charts, candlestick charts) using the cufflinks library
How to plot multiple series stock charts (on the same plot and on separate subplots)
How to plot normalized charts using the cufflinks library
How to plot box plots for each year of stock data]]>
In this Python code sample, we cover the following:

  • How to download stock and option prices from Yahoo Finance
  • How to export data to separate Excel sheets
  • How to read from Excel files
  • How to export data to separate CSV files
  • How to read tables from HTML pages
  • How to plot single series stock charts (line graphs, bar charts, candlestick charts) using the cufflinks library
  • How to plot multiple series stock charts (on the same plot and on separate subplots)
  • How to plot normalized charts using the cufflinks library
  • How to plot box plots for each year of stock data

Link to Code (as HTML file)

pythonfinance1.html

]]>
https://smarttradingstrategies.com/how-to-work-with-financial-timeseries-in-python/feed/ 0