Double counting in updateMarketPositionOnSplit: If there are multiple FPMMs for a condition, we run updateMarketPositionsFromSplit twice inflating valueBought and valueSold
Bug in timesBD: If price=0.5 and amount=20000000000, splitValue will somehow equal 1 which is absurd. This will deflate valueBought and will overstate profit for accounts
updateMarketPositionsFromSplit
twice inflatingvalueBought
andvalueSold
timesBD
: If price=0.5 and amount=20000000000,splitValue
will somehow equal 1 which is absurd. This will deflatevalueBought
and will overstate profit for accounts