# 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/ce/f8/52bfd5c2a12cf7cb0f6cd30ddf676b249b652e408dee741d966eb9bd2bf7/jgtpy-0.5.98.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.98",
"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": "b8a14c4d87a9b405cb3a84fa83da684c38386c17bb66f5c2e4be650dcfff07a4",
"md5": "9e3102b56efbc1c589cd44a25703d8bc",
"sha256": "4d23d79a90ebd72be5ed53ff4ee1d39b8822924aed5f5678941b84287c298a08"
},
"downloads": -1,
"filename": "jgtpy-0.5.98-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9e3102b56efbc1c589cd44a25703d8bc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 156324,
"upload_time": "2024-09-11T23:27:17",
"upload_time_iso_8601": "2024-09-11T23:27:17.873422Z",
"url": "https://files.pythonhosted.org/packages/b8/a1/4c4d87a9b405cb3a84fa83da684c38386c17bb66f5c2e4be650dcfff07a4/jgtpy-0.5.98-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cef852bfd5c2a12cf7cb0f6cd30ddf676b249b652e408dee741d966eb9bd2bf7",
"md5": "c7e10622f693c208913770681c2faf40",
"sha256": "a050260efc38b4890ab79132eec63bc960e0dec2ba730615d1e913b78ac4ccb5"
},
"downloads": -1,
"filename": "jgtpy-0.5.98.tar.gz",
"has_sig": false,
"md5_digest": "c7e10622f693c208913770681c2faf40",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 140440,
"upload_time": "2024-09-11T23:27:20",
"upload_time_iso_8601": "2024-09-11T23:27:20.193535Z",
"url": "https://files.pythonhosted.org/packages/ce/f8/52bfd5c2a12cf7cb0f6cd30ddf676b249b652e408dee741d966eb9bd2bf7/jgtpy-0.5.98.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-11 23:27:20",
"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"
}