Enhanced JGTPy CDS, IDS, PDS Services
Project description
jgtpy (ids)
Enhanced JGTPy CDS, IDS, PDS Services
Installation
pip install -U jgtpy
Example
>>> 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jgtpy-0.2.97.tar.gz
(31.1 kB
view details)
Built Distribution
jgtpy-0.2.97-py3-none-any.whl
(37.1 kB
view details)
File details
Details for the file jgtpy-0.2.97.tar.gz
.
File metadata
- Download URL: jgtpy-0.2.97.tar.gz
- Upload date:
- Size: 31.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5033a1bc67006187f3576c4cd35290d5d0de97410fd4961b91dd62938d76d4d5 |
|
MD5 | f2b48c008071ffa4445feb78afbd0d5d |
|
BLAKE2b-256 | 0c3b66aa063a575d21c2a25ea7398497cc0a14e895cba7498c764df295cb3837 |
File details
Details for the file jgtpy-0.2.97-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.2.97-py3-none-any.whl
- Upload date:
- Size: 37.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e8e03a06c0640e1b5101d8fedd200106cf865532fc7bb0b4fc5f870c6f951e4 |
|
MD5 | eaf17301cd77c567387841ea4f0cdad4 |
|
BLAKE2b-256 | 6f205895efa759d71a955af75db7ea884ade872737c32c78012fbef0f1d98e85 |