Skip to content

kumaarpranv/go-stocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-stocks

This is a go project with real-time processing pipeline using go concurrency to check latest price data of a ticker from yahoo finance, and if there's a 5% increase/decrease will send mail to specified mail through SMTP.


create creds.env

EMAIL=<your gmail>
PASSWORD=<gmail app password>

To get App password, go to Google account settings -> Security -> Select app -> "Other (Custom name)" and enter a name for the app (e.g. "Golang SMTP").

do

go get -u github.com/joho/godotenv
go get -u github.com/shopspring/decimal
go get -u github.com/tidwall/gjson

then

go run main.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages