Stop-loss price at which to close the trade. This variable is writable. By assigning it a new price value, you create or modify the existing SL order. By assigning it `None`, you cancel it.
(self)
| 699 | |
| 700 | @property |
| 701 | def sl(self): |
| 702 | """ |
| 703 | Stop-loss price at which to close the trade. |
| 704 | |
| 705 | This variable is writable. By assigning it a new price value, |
| 706 | you create or modify the existing SL order. |
| 707 | By assigning it `None`, you cancel it. |
| 708 | """ |
| 709 | return self.__sl_order and self.__sl_order.stop |
| 710 | |
| 711 | @sl.setter |
| 712 | def sl(self, price: float): |
nothing calls this directly
no test coverage detected