database

package
v0.0.0-...-bd97fab Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Table gets the dynamo table after connection

Functions

func AddStock

func AddStock(input model.NewStock) (*model.Stock, error)

AddStock adds a new stock to dynamoDB

func GetStocksByRange

func GetStocksByRange(input model.StockInput) ([]*model.Stock, error)

GetStocksByRange returns stock data between date range

func GetStocksByTicker

func GetStocksByTicker(symbol string) ([]*model.Stock, error)

GetStocksByTicker returns the stocks by a ticker_symbol

Types

This section is empty.

Jump to

Keyboard shortcuts

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