abhinavm24 / monkeybeat

Generate a random stock portfolio and find out if it beats the markets!

Home Page:https://monkeybeat.market

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

monkeybeat

Generate an equi-weighted portfolio of 10 stocks randomly selected from an index and see if it beats the underlying index!

Visit https://monkeybeat.market and have fun!

Local Setup

  • Clone the repo locally
  • Run docker-compose up to start a local instance of Clickhouse DB.
  • Run make schema which creates the database/tables.
  • Run make seed which loads the database with initial data of last 3 years of a stock's closing price in DB.
  • Run make fresh which builds the binary and runs it.

NOTE: If you don't have clickhouse-client on the local machine, you can use:

alias clickhouse-client="docker exec -it clickhouse clickhouse-client"

Contributors

About

Generate a random stock portfolio and find out if it beats the markets!

https://monkeybeat.market

License:MIT License


Languages

Language:Go 47.6%Language:HTML 24.0%Language:CSS 9.4%Language:Shell 8.6%Language:Python 8.3%Language:Makefile 2.0%