taapi

package
v0.0.0-...-7cc6c5f Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkRequestDetailResp

type BulkRequestDetailResp struct {
	Result FibonacciRetracementResp `json:"result"`
	ID     string                   `json:"id"`
}

type BulkRequestResp

type BulkRequestResp struct {
	Data []*BulkRequestDetailResp `json:"data"`
}

type FibonacciRetracementResp

type FibonacciRetracementResp struct {
	Value          float64 `json:"value"`
	Trend          string  `json:"trend"`
	StartPrice     float64 `json:"startPrice"`
	EndPrice       float64 `json:"endPrice"`
	StartTimestamp int64   `json:"startTimestamp"`
	EndTimestamp   int64   `json:"endTimestamp"`
}

type TaApi

type TaApi struct {
	// contains filtered or unexported fields
}

func NewTaApi

func NewTaApi(apiKey string) *TaApi

func (*TaApi) BulkRequest

func (m *TaApi) BulkRequest(tokenSymbol string) (*BulkRequestResp, error)

func (*TaApi) GetEma

func (m *TaApi) GetEma(tokenSymbol string) (*FibonacciRetracementResp, error)

func (*TaApi) GetFibonacciRetracement

func (m *TaApi) GetFibonacciRetracement(tokenSymbol string) (*FibonacciRetracementResp, error)

func (*TaApi) GetRsi

func (m *TaApi) GetRsi(tokenSymbol string) (*FibonacciRetracementResp, error)

func (*TaApi) GetSma

func (m *TaApi) GetSma(tokenSymbol string) (*FibonacciRetracementResp, error)

Jump to

Keyboard shortcuts

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