Free response markets initialize with 0 volume, instead of 100
This commit is contained in:
parent
a373f08b4f
commit
c2320a07be
|
@ -35,8 +35,6 @@ export function getNewContract(
|
|||
? getBinaryCpmmProps(initialProb, ante) // getBinaryDpmProps(initialProb, ante)
|
||||
: getFreeAnswerProps(ante)
|
||||
|
||||
const volume = outcomeType === 'BINARY' ? 0 : ante
|
||||
|
||||
const contract: Contract = removeUndefinedProps({
|
||||
id,
|
||||
slug,
|
||||
|
@ -56,7 +54,7 @@ export function getNewContract(
|
|||
createdTime: Date.now(),
|
||||
closeTime,
|
||||
|
||||
volume,
|
||||
volume: 0,
|
||||
volume24Hours: 0,
|
||||
volume7Days: 0,
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user