# jgtfx2console
just getting prices from fxconnect
## Installation
```sh
pip install -U jgtfx2console
```
## Example
```py
>>> import pandas as pd
>>> import jgtfx2console
>>> df=jgtfx2console.getPH('EUR/USD','H4')
>>>
>>> # retrieve 3000 periods and generate from the DF
>>> df=jgtfx2console.getPH('EUR/USD','H4',3000,with_index=False)
>>> dfi=jgtfx2console.createFromDF(df)
>>>
```
## More
### Enhancements Idea
#### -l (for --timeline)
* --@STCGoal An easy way to snap a moment in time and save it to our store.
```sh
jgtfxcli -i "SPX500" -t "H1,H4,H8,D1,W1,M1" -c 500 -l "22101313"
```
```
$JGTPY_DATA/pds NORMAL
$JGTPY_DATA/pdl/ L Item
```
Raw data
{
"_id": null,
"home_page": "https://github.com/jgwill/jgtfx2console",
"name": "jgtfx2console",
"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/66/f1/732c73872cdd4dfd3473ea3b783ffb34a37ed04dbcb37f9ef8cec3c503ef/jgtfx2console-0.5.13.tar.gz",
"platform": null,
"description": "\n\n# jgtfx2console\n\njust getting prices from fxconnect\n\n\n## Installation\n```sh\npip install -U jgtfx2console\n```\n\n## Example\n\n```py\n\n >>> import pandas as pd\n >>> import jgtfx2console\n >>> df=jgtfx2console.getPH('EUR/USD','H4')\n >>>\n >>> # retrieve 3000 periods and generate from the DF\n >>> df=jgtfx2console.getPH('EUR/USD','H4',3000,with_index=False)\n >>> dfi=jgtfx2console.createFromDF(df)\n >>>\n\n```\n\n## More\n\n\n### Enhancements Idea\n\n#### -l (for --timeline)\n\n* --@STCGoal An easy way to snap a moment in time and save it to our store.\n\n```sh\njgtfxcli -i \"SPX500\" -t \"H1,H4,H8,D1,W1,M1\" -c 500 -l \"22101313\"\n\n```\n\n```\n$JGTPY_DATA/pds NORMAL\n$JGTPY_DATA/pdl/ L Item\n\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "PDS Services",
"version": "0.5.13",
"project_urls": {
"Bug Tracker": "https://github.com/jgwill/jgtfx2console/issues",
"Homepage": "https://github.com/jgwill/jgtfx2console"
},
"split_keywords": [
"data"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "307456e368861a0b7df1a4577b551d2799dafb949c8bb276ad8061fbbd796fbd",
"md5": "8da3ada68c9fecf63d2948fd8323c339",
"sha256": "063d942ca81710858473ac3c76ee62c6660137a2f7ee99dc9d86c063a4f1d527"
},
"downloads": -1,
"filename": "jgtfx2console-0.5.13-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8da3ada68c9fecf63d2948fd8323c339",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 14950737,
"upload_time": "2024-08-22T07:40:41",
"upload_time_iso_8601": "2024-08-22T07:40:41.558629Z",
"url": "https://files.pythonhosted.org/packages/30/74/56e368861a0b7df1a4577b551d2799dafb949c8bb276ad8061fbbd796fbd/jgtfx2console-0.5.13-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "66f1732c73872cdd4dfd3473ea3b783ffb34a37ed04dbcb37f9ef8cec3c503ef",
"md5": "c96e9acfda1e67dbeac206b5146be673",
"sha256": "0f812aa2c106ae38d42c8bfb5b86b72a78bcd0f5e87e6f3ea108e7a89d7b601f"
},
"downloads": -1,
"filename": "jgtfx2console-0.5.13.tar.gz",
"has_sig": false,
"md5_digest": "c96e9acfda1e67dbeac206b5146be673",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 14560535,
"upload_time": "2024-08-22T07:40:48",
"upload_time_iso_8601": "2024-08-22T07:40:48.532713Z",
"url": "https://files.pythonhosted.org/packages/66/f1/732c73872cdd4dfd3473ea3b783ffb34a37ed04dbcb37f9ef8cec3c503ef/jgtfx2console-0.5.13.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-22 07:40:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jgwill",
"github_project": "jgtfx2console",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "build",
"specs": []
},
{
"name": "pytz",
"specs": []
},
{
"name": "six",
"specs": []
},
{
"name": "stone",
"specs": []
},
{
"name": "pandas",
"specs": []
},
{
"name": "python-dotenv",
"specs": []
},
{
"name": "tlid",
"specs": []
},
{
"name": "jgtutils",
"specs": []
}
],
"lcname": "jgtfx2console"
}