indiastocks

package module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCompanyList

func GetCompanyList() (list []string)

GetCompanyList returns the list of all the companies tracked via indianstocks

Types

type StockMovingAverage

type StockMovingAverage map[int]movingAverageValue

StockMovingAverage holds Moving average for 5,10,15,20,50,100,200 days

func GetMovingAverage

func GetMovingAverage(company string) (StockMovingAverage, error)

GetMovingAverage returns the 5,10,20,50,100,200 days moving average

type StockPivotLevels

type StockPivotLevels map[string]pivotPointsValue

StockPivotLevels stores pivote levels for various types

func GetPivotLevels

func GetPivotLevels(company string) (StockPivotLevels, error)

GetPivotLevels returns the important pivot levels of company given in order R1, R2, R3, Pivot, S1, S2, S3

type StockPrice

type StockPrice struct {
	BSE symbolPriceValue
	NSE symbolPriceValue
}

StockPrice holds current price, previous close, open, variation, percentage, volume for stock for BSE and NSE

func GetPrice

func GetPrice(company string) (StockPrice, error)

GetPrice returns current price, previous close, open, variation, percentage and volume for company

type StockTechnicals

type StockTechnicals map[string]technicalValue

StockTechnicals holds stock technical analysis

func GetTechnicals

func GetTechnicals(company string) (StockTechnicals, error)

GetTechnicals returns the technical valuations of a company with indications

type StocksInfo

type StocksInfo map[string]stockURLValue

StocksInfo holds the information related to datasource for companies

Jump to

Keyboard shortcuts

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