Skip to content

grokkos/finnio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

finnio

CLI based application that uses the Finnhub API to perform cool actions πŸ’Ž

Table of Contents

Project Structure

β”œβ”€β”€ Finio                    
β”‚   β”œβ”€β”€ cmd             # cli commands
β”‚   β”œβ”€β”€ internal        # app functionality
β”‚   β”œβ”€β”€ tests           # Testing endpoints
β”‚   └── main            # Run the application

Use The cli

  • Create a .env file based on the .env.example containing your Finnhub's API key
  • Run the following command in order to retrieve the data

go run main.go shares

  • You will get the current price, the previous closing of AAPL&MSFT in your console, your portfolio value and profit-loss accordingly.

Screenshot 2023-01-30 at 02 50 24

Todos

  1. Integration testing the whole flow of the app - from httm requests to calculations.
  2. Concurrent execution of the finnhub API coms calls for Apple and Microsoft.
  3. Dockerize the app.
  4. Set up github actions for CI/CD.

About

CLI based application that uses the Finnhub API to perform cool actions πŸ’Ž

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published