Customizing Insurances

Restricting Direction

Every Easy Insurace checks every position. Long and Short. If we want to restrict a insurance to only work when the position is long we can do that by checking the current position direction and setting the result based on that.

Last updated