WhoCalledMe
QuantConnect.Logging.WhoCalledMe
Bases: Object
Provides methods for determining higher stack frames
get_method_name
get_method_name(frame: int = 1) -> str
Gets the method name of the caller
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
frame
|
int
|
The number of stack frames to retrace from the caller's position |
1
|
Returns:
| Type | Description |
|---|---|
str
|
The method name of the containing scope 'frame' stack frames above the caller. |