Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • predi predi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kjetil Thuen
  • predipredi
  • Issues
  • #4

Closed
Open
Created Nov 27, 2014 by Kjetil Thuen@kjetilMaintainer

Non-voteshare markets

Using the lmsr algorithm, all contracts are actually voteshare contracts. Several contracts are grouped and will always sum up to 100%.

A trick to bypass this and add probability contract is to use an invisible, mirror contract. So when the administrator adds a new probability contract on, say, "Likelihood that the sun will set" with a starting price of 99, an invisible mirror contract "Likelihood that the sun will not set" will be generated with a starting price of 1. The users will not see the second contract.

The data for the contracts needs to have a flag showing whether a contract is a probability contract, the UI needs to hide the mirror contracts and the administration interface needs a switch on the create market page. There should also be some sanity checks preventing the administrator from creating multi contract probability markets.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking