Note: This package is experimental and is not ready for production use.
package main
import (
"context"
"log"
"github.com/kostaspt/go-tradingview"
)
func main() {
c := tradingview.NewClient(nil)
analysis, err := c.GetAnalysis(context.Background(), "crypto", []string{"BINANCE:BTCEUR"}, tradingview.DefaultInterval)
if err != nil {
panic(err)
}
log.Printf("%#v", analysis)
}
- Based on python-tradingview-ta