Skip to content

Commandline tool to compute and plot betting size on Manifold. Based on PyManifold.

License

Notifications You must be signed in to change notification settings

sonofhypnos/PlotKelly

 
 

Repository files navigation

plotKelly

This shell tool is based on the PyManifold project. Displays a plot on how much you should bet on a manifold market given a subjective crecedence range. The betsize is calculated through the kelly criterion. If you have never heard about it, I recommend learning more about it. Here's some random article on it I enjoyed. Quickly hacked together. If I am still using this in the future I might merge pull requests.

install

Should work on linux and possibly macOS as long as git and python>=3.8 (including virtualenvironment for your python) are installed.

run:

git clone --depth 1 --recurse-submodules https://github.com/sonofhypnos/PlotKelly
cd PlotKelly
chmod +x install.sh
./install.sh

./install creates a virtualenvironment and uses poetry to install dependencies.

Usage

run plot_kelly.sh and supply url, your bankroll on Manifold, upper, lower %-bounds for the plot and crecedence percentages.

Example:

./plot_kelly.sh https://manifold.markets/IsaacKing/will-systemic-poverty-be-eliminated 800 1 100

example

TODO

  • Add different markets?
  • add plot for regular kelly formulam (even though is boring/linear)
  • figure out implications that lending has on this.
  • better explanation in the readme

Running Tests

$ poetry run pytest

About

Commandline tool to compute and plot betting size on Manifold. Based on PyManifold.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.5%
  • Shell 1.5%