Skip to content

Python wrapper to plot candlestick data using tradingview lightweight charts

License

Notifications You must be signed in to change notification settings

cooltechie007/tradingview-chart-py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tradingview-chart-py

Python wrapper to plot candlestick data using tradingview lightweight charts

Example

import pytvchart as tvc

# plots a candlestick series
tvc.plot_candlestick(ohlc, name='BTCUSDT', date_format='%b %d %Y')

# plots a line series
tvc.plot_line(sma20, name='SMA 20')

# plots another line series
tvc.plot_line(sma100, name='SMA 100')

# plots volume data
tvc.plot_volume(ohlc['volume'])

# plots an event
tvc.plot_event('Dec 02 2011', '314', type='sell')

# plots another event
tvc.plot_event('Sep 14 2011', '366', type='buy')

figure-1

About

Python wrapper to plot candlestick data using tradingview lightweight charts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 74.5%
  • JavaScript 22.6%
  • CSS 1.8%
  • HTML 1.1%