# jgtpy (pdsp/ids/cds)
Enhanced JGTPy CDS, IDS, PDS Services
## Installation
```sh
pip install -U jgtpy
```
## Example
```py
>>> import pandas as pd
>>> import jgtpy
>>> df=jgtpy.getPH('EUR/USD','H4')
>>>
>>> # retrieve 3000 periods and generate from the DF
>>> df=jgtpy.getPH('EUR/USD','H4',3000,with_index=False)
>>> dfi=jgtpy.createFromDF(df)
>>>
>>> # Create with Timerange
>>> start="11.17.2022 00:00:00"
>>> end="11.25.2022 00:00:00"
>>> df=jgtpy.createByRange("USD/CAD","m15",start,end)
>>>
>>> # offsets date for retreival
>>> dtfirst_with_offset=jgtetl.svc_offset_dt_by_tf(dtfirst,ctx.timeframe)
>>> df=createByRange(ctx.instrument,ctx.timeframe,dtfirst_with_offset,dtlast)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/jgwill/jgtpy",
"name": "jgtpy",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "data",
"author": "GUillaume Isabelle",
"author_email": "Guillaume Isabelle <jgi@jgwill.com>",
"download_url": "https://files.pythonhosted.org/packages/7e/da/8a4e163cf8a93b778552f771a091950c2daf383f7e1e412be2bb03940a27/jgtpy-0.5.100.tar.gz",
"platform": null,
"description": "\n\n# jgtpy (pdsp/ids/cds)\n\nEnhanced JGTPy CDS, IDS, PDS Services\n\n\n## Installation\n```sh\npip install -U jgtpy\n```\n\n## Example\n\n```py\n\n >>> import pandas as pd\n >>> import jgtpy\n >>> df=jgtpy.getPH('EUR/USD','H4')\n >>>\n >>> # retrieve 3000 periods and generate from the DF\n >>> df=jgtpy.getPH('EUR/USD','H4',3000,with_index=False)\n >>> dfi=jgtpy.createFromDF(df)\n >>>\n >>> # Create with Timerange\n >>> start=\"11.17.2022 00:00:00\"\n >>> end=\"11.25.2022 00:00:00\"\n >>> df=jgtpy.createByRange(\"USD/CAD\",\"m15\",start,end)\n >>>\n >>> # offsets date for retreival\n >>> dtfirst_with_offset=jgtetl.svc_offset_dt_by_tf(dtfirst,ctx.timeframe)\n >>> df=createByRange(ctx.instrument,ctx.timeframe,dtfirst_with_offset,dtlast)\n\n```\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Enhanced JGTPy CDS, IDS, PDSP Services",
"version": "0.5.100",
"project_urls": {
"Bug Tracker": "https://github.com/jgwill/jgtpy/issues",
"Homepage": "https://github.com/jgwill/jgtpy"
},
"split_keywords": [
"data"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9a7a88b12e5df363d701e9faf3dcd5a9da987bea196378cbefcc9844bf781b01",
"md5": "7f1cbadbe7b73990d27edd674f2a2ef1",
"sha256": "9d3d00dbc7012f581ccc4dfc3c7ad08bc5bdc3ecf6b3b90c24e7068883be261e"
},
"downloads": -1,
"filename": "jgtpy-0.5.100-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7f1cbadbe7b73990d27edd674f2a2ef1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 156335,
"upload_time": "2024-10-17T14:33:06",
"upload_time_iso_8601": "2024-10-17T14:33:06.468475Z",
"url": "https://files.pythonhosted.org/packages/9a/7a/88b12e5df363d701e9faf3dcd5a9da987bea196378cbefcc9844bf781b01/jgtpy-0.5.100-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7eda8a4e163cf8a93b778552f771a091950c2daf383f7e1e412be2bb03940a27",
"md5": "497ea9e3f25a1e4127e2557b8d79a42b",
"sha256": "1555b2cdd497b505acdaeea29f4615902786b1b2a52fa70364a2f60eb5b40c8c"
},
"downloads": -1,
"filename": "jgtpy-0.5.100.tar.gz",
"has_sig": false,
"md5_digest": "497ea9e3f25a1e4127e2557b8d79a42b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 140458,
"upload_time": "2024-10-17T14:33:09",
"upload_time_iso_8601": "2024-10-17T14:33:09.410461Z",
"url": "https://files.pythonhosted.org/packages/7e/da/8a4e163cf8a93b778552f771a091950c2daf383f7e1e412be2bb03940a27/jgtpy-0.5.100.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-17 14:33:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jgwill",
"github_project": "jgtpy",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [
{
"name": "certifi",
"specs": []
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.3.2"
]
]
},
{
"name": "cycler",
"specs": [
[
"==",
"0.11.0"
]
]
},
{
"name": "dropbox",
"specs": [
[
"==",
"11.36.2"
]
]
},
{
"name": "fonttools",
"specs": [
[
"==",
"4.38.0"
]
]
},
{
"name": "forexconnect",
"specs": [
[
"==",
"1.6.43"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.4"
]
]
},
{
"name": "jgtapy",
"specs": [
[
"==",
"1.9.12"
]
]
},
{
"name": "kaleido",
"specs": [
[
"==",
"0.2.1"
]
]
},
{
"name": "kiwisolver",
"specs": [
[
"==",
"1.4.5"
]
]
},
{
"name": "matplotlib",
"specs": [
[
"==",
"3.5.3"
]
]
},
{
"name": "numpy",
"specs": [
[
"==",
"1.21.6"
]
]
},
{
"name": "packaging",
"specs": [
[
"==",
"23.2"
]
]
},
{
"name": "pandas",
"specs": [
[
"==",
"1.3.5"
]
]
},
{
"name": "Pillow",
"specs": [
[
"==",
"9.5.0"
]
]
},
{
"name": "plotly",
"specs": [
[
"==",
"5.18.0"
]
]
},
{
"name": "ply",
"specs": [
[
"==",
"3.11"
]
]
},
{
"name": "pyparsing",
"specs": [
[
"==",
"3.1.1"
]
]
},
{
"name": "python-dateutil",
"specs": [
[
"==",
"2.8.2"
]
]
},
{
"name": "python-dotenv",
"specs": [
[
"==",
"0.21.1"
]
]
},
{
"name": "pytz",
"specs": [
[
"==",
"2023.3.post1"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.31.0"
]
]
},
{
"name": "six",
"specs": [
[
"==",
"1.16.0"
]
]
},
{
"name": "stone",
"specs": [
[
"==",
"3.3.1"
]
]
},
{
"name": "tenacity",
"specs": [
[
"==",
"8.2.3"
]
]
},
{
"name": "typing_extensions",
"specs": [
[
"==",
"4.7.1"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"2.0.7"
]
]
},
{
"name": "mplfinance",
"specs": [
[
"==",
"0.12.10b0"
]
]
}
],
"tox": true,
"lcname": "jgtpy"
}