Skip to content

Parsing market position data #71

Answered by obi-ewan
bryantanjw asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @bryantanjw

outcomeMaxExposure - this is the maximum amount of stake risked by the user for a given market
marketOutcomeSums - user's total market position for each outcome, i.e. how much they will profit or risk if the individual market outcomes are a win or loss
offset - amount which will be deducted from winnings during settlement, or stake refunded during bet cancellation. A non zero offset means you have used your market position to place bets without risking any more stake (this one is a bit confusing and we should have better documentation for)
outcomePositions - this should be a mapping of market outcome title -> market outcome sum, but it doesn't seem to be populating in your…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by bryantanjw
Comment options

You must be logged in to vote
3 replies
@obi-ewan
Comment options

@bryantanjw
Comment options

@obi-ewan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants