nexustrader.error¶
NexusTraderError¶
- exception nexustrader.error.EngineBuildError(message)[source]¶
Bases:
NexusTraderError
- exception nexustrader.error.SubscriptionError(message)[source]¶
Bases:
NexusTraderError
- exception nexustrader.error.KlineSupportedError(message)[source]¶
Bases:
NexusTraderError
- exception nexustrader.error.StrategyBuildError(message)[source]¶
Bases:
NexusTraderError
- exception nexustrader.error.OrderError(message)[source]¶
Bases:
NexusTraderError
- exception nexustrader.error.PositionModeError(message)[source]¶
Bases:
NexusTraderError
- exception nexustrader.error.WsRequestNotSentError(message='WebSocket request not sent: connection unavailable')[source]¶
Bases:
NexusTraderErrorRaised when a WebSocket request could not be sent because the socket is not connected.
- exception nexustrader.error.WsAckTimeoutError(oid, timeout)[source]¶
Bases:
NexusTraderErrorRaised when no ACK is received from the exchange within the timeout window.
- exception nexustrader.error.WsAckRejectedError(oid, reason)[source]¶
Bases:
NexusTraderErrorRaised when the exchange explicitly rejects a WebSocket order/cancel request.