Name | KPIs JSON |
Version |
0.1
JSON |
| download |
home_page | |
Summary | Key Performance Indicator and Backtesting |
upload_time | 2023-01-31 18:03:03 |
maintainer | |
docs_url | None |
author | Rakshit Maggon |
requires_python | >=3.6 |
license | MIT |
keywords |
backtesting
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
Key Performance Indicator and Backtesting
Usage:
- Measuring expected performance of a trading strategy by testing it on historical data.
- Measure both risk and return characterstics of the statergy.
- History Repeats Itself - Historical performance forecasts future performance.
Popular performance measures include
- Cumulative Annual Growth Rate
- Annualized Voltility
- Sharpe Ratio
- Sortino Ratio
- Maximum Drawdown
- Calmar Ratio
Installation
```
pip install KPIs
```
Importing Methods
```
from KPIs import(
CAGR,
Volatility,
SharpeRatio,
Sortino,
MaxDrawdown,
Calmar,
)
```
Calling a function
```
CAGR_Value=CAGR(ticker)
print("Cumulative annual growth rate of {} = {}".format(ticker,CAGR_Value))
```
Example
```
from KPIs import(
CAGR,
)
ticker="AMZN"
CAGR_Value=CAGR(ticker)
print("Cumulative annual growth rate of {} = {}".format(ticker,CAGR_Value))
```
Note
- I have tried to implement all key performance measures, will be updating with more methods soon. Thanks for your patience.
Change Log
==========
0.1
----------
-First Release
Raw data
{
"_id": null,
"home_page": "",
"name": "KPIs",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "Backtesting",
"author": "Rakshit Maggon",
"author_email": "rakshitmaggon70@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/14/6d/145c805fde9b3b993ed5086216ff63cfd455ec0dbd6efa908dc1249e1680/KPIs-0.1.tar.gz",
"platform": null,
"description": "Key Performance Indicator and Backtesting\r\n\r\nUsage:\r\n\r\n- Measuring expected performance of a trading strategy by testing it on historical data.\r\n- Measure both risk and return characterstics of the statergy.\r\n- History Repeats Itself - Historical performance forecasts future performance.\r\n\r\nPopular performance measures include \r\n\r\n- Cumulative Annual Growth Rate\r\n- Annualized Voltility\r\n- Sharpe Ratio\r\n- Sortino Ratio\r\n- Maximum Drawdown\r\n- Calmar Ratio\r\n\r\nInstallation\r\n\r\n ```\r\n pip install KPIs\r\n ```\r\n\r\nImporting Methods\r\n\r\n ```\r\nfrom KPIs import(\r\n CAGR,\r\n Volatility,\r\n SharpeRatio,\r\n Sortino,\r\n MaxDrawdown,\r\n Calmar,\r\n)\r\n ```\r\n\r\nCalling a function\r\n\r\n ```\r\n CAGR_Value=CAGR(ticker)\r\n print(\"Cumulative annual growth rate of {} = {}\".format(ticker,CAGR_Value))\r\n ```\r\n\r\nExample\r\n\r\n```\r\nfrom KPIs import(\r\n CAGR,\r\n)\r\n\r\nticker=\"AMZN\"\r\nCAGR_Value=CAGR(ticker)\r\nprint(\"Cumulative annual growth rate of {} = {}\".format(ticker,CAGR_Value))\r\n```\r\n\r\nNote \r\n- I have tried to implement all key performance measures, will be updating with more methods soon. Thanks for your patience.\r\n\r\nChange Log \r\n==========\r\n\r\n0.1\r\n----------\r\n-First Release\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Key Performance Indicator and Backtesting",
"version": "0.1",
"split_keywords": [
"backtesting"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "146d145c805fde9b3b993ed5086216ff63cfd455ec0dbd6efa908dc1249e1680",
"md5": "28131aec33cc3be4c29863b9e894ecc3",
"sha256": "262d6c8bf241624c7a267b86f0b1fe5b50b0d1ee81523a438659c28d202b8350"
},
"downloads": -1,
"filename": "KPIs-0.1.tar.gz",
"has_sig": false,
"md5_digest": "28131aec33cc3be4c29863b9e894ecc3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3193,
"upload_time": "2023-01-31T18:03:03",
"upload_time_iso_8601": "2023-01-31T18:03:03.652428Z",
"url": "https://files.pythonhosted.org/packages/14/6d/145c805fde9b3b993ed5086216ff63cfd455ec0dbd6efa908dc1249e1680/KPIs-0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-31 18:03:03",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "kpis"
}