> For the complete documentation index, see [llms.txt](https://docs.minerva.money/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.minerva.money/tokenomics/mlp/mlp-price.md).

# MLP Price

* Buy price: `mlpManager.getPrice(true)`
* Sell price: `mlpManager.getPrice(false)`

Since there might be a spread for token pricing, passing in `true` into the `getPrice` function returns the maximum price at that point in time, while passing in false returns the minimum price.

For the calculation of pending PnL for shorts the `mlpManager.shortsTracker.globalShortAveragePrices` value should be used instead of `vault.globalShortAveragePrices`.
