# jgtpy (ids)
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)
```
## More
* [DATA](DATA.md)
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/97/67/270a35e44e94888dabe3e47ffb77b37e0ddf88fd381e2b9f235d8e11d370/jgtpy-0.4.54.tar.gz",
"platform": null,
"description": "\n\n# jgtpy (ids)\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## More\n\n* [DATA](DATA.md)\n",
"bugtrack_url": null,
"license": null,
"summary": "Enhanced JGTPy CDS, IDS, PDSP Services",
"version": "0.4.54",
"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": "4766a900d0cf928ac7244f685be9e2a4c052f4377974a74879c3425f44218195",
"md5": "8bbce311852805d3ccb9e1a2bc6143f3",
"sha256": "8beadc6cafb6ca02718fa1cc588a5f298c34a511034ebe9907a45574f7f06e73"
},
"downloads": -1,
"filename": "jgtpy-0.4.54-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8bbce311852805d3ccb9e1a2bc6143f3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 144590,
"upload_time": "2024-06-18T18:19:03",
"upload_time_iso_8601": "2024-06-18T18:19:03.416097Z",
"url": "https://files.pythonhosted.org/packages/47/66/a900d0cf928ac7244f685be9e2a4c052f4377974a74879c3425f44218195/jgtpy-0.4.54-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9767270a35e44e94888dabe3e47ffb77b37e0ddf88fd381e2b9f235d8e11d370",
"md5": "6fd2c6e59ed0a6e3a05ccaa097876a41",
"sha256": "f02ce2d9974865bdfdd3ae2dee7d4eeddf63620e077e2b8928568cdb5b60b034"
},
"downloads": -1,
"filename": "jgtpy-0.4.54.tar.gz",
"has_sig": false,
"md5_digest": "6fd2c6e59ed0a6e3a05ccaa097876a41",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 131821,
"upload_time": "2024-06-18T18:19:08",
"upload_time_iso_8601": "2024-06-18T18:19:08.564792Z",
"url": "https://files.pythonhosted.org/packages/97/67/270a35e44e94888dabe3e47ffb77b37e0ddf88fd381e2b9f235d8e11d370/jgtpy-0.4.54.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-18 18:19:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jgwill",
"github_project": "jgtpy",
"travis_ci": false,
"coveralls": true,
"github_actions": false,
"requirements": [],
"tox": true,
"lcname": "jgtpy"
}