Beakerboy / Beakerboy/Pred

Calculations

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

https://www.predictit.org/api/marketdata/markets/[ID]

or

https://www.predictit.org/api/marketdata/all

N = count options
MP = max(Pᵢ ) : max "No" price
SP = ΣPᵢ : sum of No's
Risk = 0.9*(N-SP-1)-0.1*MP

MaxShares = ⌊850/M⌋
Sᵢ = ⌊MS*(M+9)/(Pᵢ+9)⌋
Rᵢ = .9*(ΣSᵢ-PTxS - Sᵢ) - .1*Pᵢ*Sᵢ

Best Return = min(Rᵢ)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.