tradingview

package
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: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Time1D  = "|1D"
	Time1M  = "|1M"
	Time3M  = "|3M"
	Time1Y  = "|12M"
	Time5Y  = "|60M"
	TimeAll = "|ALL"
)

Variables

This section is empty.

Functions

func SearchAndSendStockImage

func SearchAndSendStockImage(b *tb.Bot, m *tb.Message, symbol, timeRange string, delFile, technicalAnalysis bool)

Types

type StockImageOptions

type StockImageOptions struct {
	Symbol      string
	Description string
	Time        string

	// BinaryPath the path to your capture-website binary. REQUIRED
	//
	// Must be absolute path e.g /usr/local/bin/capture-website
	BinaryPath string

	Input             string
	Output            string
	Dir               string
	Html              string
	Format            string
	Width             int
	Height            int
	Delay             int
	Overwrite         bool
	Darkmode          bool
	TechnicalAnalysis bool
}

func (*StockImageOptions) CountdownToDel

func (s *StockImageOptions) CountdownToDel()

func (*StockImageOptions) FileName

func (s *StockImageOptions) FileName() string

func (*StockImageOptions) FilePath

func (s *StockImageOptions) FilePath() string

func (*StockImageOptions) GenerateImage

func (s *StockImageOptions) GenerateImage() error

Jump to

Keyboard shortcuts

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