tokenPrice = poolValueQuote / tokenTotalSupply
amount owed = liquidity / (entryTokenPrice) * (exitTokenPrice)
isBuy = true
. Similarly, when a trader opens a short, or closes a long, isBuy = false
.isBuy
denotes which direction the market is moving, and scales the board's iv and the listing's vol in that direction. It also denotes whether a fee is charged on top of the blackScholes option price, or removed from. i.e. if the market is paying for the option, the fee should be removed from the price; to pay less out to the trader, as LPs are the ones making the market.