Performance
Drawdown
This indicator traces the peak-to-trough decline over a specific period. Commonly quoted as the percentage between the peak and the subsequent trough.
Sources
Parameters:
Name | Type | Description | Default |
---|---|---|---|
close | Series |
| required |
offset | int | Post shift. Default: | None |
Other Parameters:
Name | Type | Description |
---|---|---|
fillna | value |
|
Returns:
Type | Description |
---|---|
DataFrame | 3 columns |
Log Return
Calculates the logarithmic return.
Sources
Parameters:
Name | Type | Description | Default |
---|---|---|---|
close | Series |
| required |
length | int | The period. Default: | None |
cumulative | bool | If True, returns the cumulative returns. Default: | None |
offset | int | Post shift. Default: | None |
Other Parameters:
Name | Type | Description |
---|---|---|
fillna | value |
|
Returns:
Type | Description |
---|---|
Series | 1 column |
Percent Return
Calculates the percent return.
Sources
Parameters:
Name | Type | Description | Default |
---|---|---|---|
close | Series |
| required |
length | int | The period. Default: | None |
cumulative | bool | If True, returns the cumulative returns. Default: | None |
offset | int | Post shift. Default: | None |
Other Parameters:
Name | Type | Description |
---|---|---|
fillna | value |
|
Returns:
Type | Description |
---|---|
Series | 1 column |
NOTICE
Thanks to all those that have sponsored and dontated to the library in the past! Your support has been greatly appreciated!
However, future releases are on definite hold until 100+ donations of $150+ have been received via Buy Me a Coffee.
Help keep this library and application the best in it's class!