tradingview-bot

command module
v0.0.0-...-802c3ec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL