Test whether your risk taking is optimal for the long run. Also includes the optimal solution according to Kelly Criterion for comparison.
Uses Typescript, React, Chart.js and unocss. Uses Vite for building and development.
Live here: https://emrergin.github.io/kelly/.
setParameter(5)
console.log(parameter)
- may not always log
$5$ , since state parameters are only set at the beginning of the next render. - I learned how to build files with vite that does not need any serving.
- One way to go would be just changing
<script type="module">
into<script defer>
manually. A gist is here: - The other would be to use https://github.com/richardtallent/vite-plugin-singlefile plugin.
- One way to go would be just changing