Skip to content

tinh98/tradingview-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tradingview bot is a telegram bot to help gather chart from tradingview and send to group.

Table of Contents

Demo

This project is also work in telegram as bot @tradingview_awesome_bot. Please feel free to try it.

Usage

Trigger by $SYMBOL

Send stock symbol to bot and bot will return chart.

Example for query Apple

$AAPL

Trigger by bot commands

  • chart1d - 查询股票图表(1天)
  • chart1m - 查询股票图表(1个月)
  • chart3m - 查询股票图表(3个月)
  • chart1y - 查询股票图表(1年)

[ chart1d | chart1m | chart3m | chart1y ] SYMBOL

Example for query Apple

/chart1d AAPL

Require

Build

make
./tradingview-bot-linux

Notice

  • You must make sure img directory is existed. All the chart got from tradingview will temporarily stored in img for 20 seconds and then be deleted.
  • Make sure you have your bot token in variable token

About

Query TradingView chart by stock symbol.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 85.1%
  • HTML 11.7%
  • Makefile 3.2%