tokenPrice = poolValueQuote / tokenTotalSupply
isBuy = true. Similarly, when a trader opens a short, or closes a long,
isBuy = false.
isBuydenotes 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 and taking on risk.
minCollateralcollateral for the options they have shorted. This minCollateral value changes over time and with spot price movements - and is determined via black scholes using a static IV value (which increases closer to expiry). This means the collateral level needs to be maintained, as if the value ever drops below the minCollateral requirements, the position can be forcibly closed by a liquidator. This will cause the position to be closed at an inflated iv value - and then also a portion of remaining collateral to be taken from the trader.