PositionOpeningFailEvent

PositionOpeningFailEvent
public event Action<Position> PositionOpeningFailEvent;

This event notifies of an error in opening a position. Typically, this can arise for several reasons. For example, an order is sent during non-trading hours, there are insufficient funds in the account, there is a loss of connectivity with the exchange, among others.

1. Subscribe to the event for the error in opening a position.

2. Create an information message.

3. Send the information to the log.

4. And duplicate it to the user's email.

If you have any difficulties or questions, please write to the support chat. Link