Discover Packages
github.com/mr-karan/monkeybeat
command
module
Version:
v0.0.0-...-3bdfe52
Opens a new window with list of versions in this module.
Published: Nov 22, 2022
License: MIT
Opens a new window with license information.
Imports: 24
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
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
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.