Skip to content

ITU-mikcl/go_quant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Quant

A CLI tool written in Go that calculates the 10-year Total Return and Annualized Sharpe Ratio for a given stock symbol using the Alpaca Markets API.

Setup

Configure Environment Variables:

Create a .env file in the root directory, and add your Alpaca credentials to the file:

APCA_API_KEY_ID=your_key_here
APCA_API_SECRET_KEY=your_secret_here

Usage

Run the program by passing a stock ticker as the first argument:

go run main.go GOOGL

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages