Gets the correct price from a spread price for a position.
Whether the position is long.
Whether the position is being increased.
The market price for the position.
The slippage, as a percentage, to apply to the price.
Generated using TypeDoc
Gets the correct price from a spread price for a position.