Calculations
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- fintech-quant
Research direction
Start with the PredictIt marketdata endpoints for a market or all markets and determine the inputs represented by N, MP, SP, M, Pᵢ, and Sᵢ. Compare the implemented results with the supplied Risk, MaxShares, Sᵢ, Rᵢ, and Best Return formulas; done means the calculations are defined and produce the expected outputs.
Written by the indexing model from the issue text.
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ᵢ) - .1PᵢSᵢ
Best Return = min(Rᵢ)
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Beakerboy/Pred
-
Fetch Data Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·