Utilities

The utils module provides utility functions and classes used throughout the keeks package.

exception keeks.utils.RuinError[source]

Bases: Exception

Exception raised when a bankroll experiences a drawdown exceeding the maximum allowed limit.

This exception is typically raised by the BankRoll class when a withdrawal would cause the bankroll to drop below the configured maximum drawdown threshold.

Exceptions

exception keeks.utils.RuinError[source]

Bases: Exception

Exception raised when a bankroll experiences a drawdown exceeding the maximum allowed limit.

This exception is typically raised by the BankRoll class when a withdrawal would cause the bankroll to drop below the configured maximum drawdown threshold.