Enhanced JGTPy CDS, IDS, PDSP Services
Project description
jgtpy (pdsp/ids/cds)
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)
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.5.3.tar.gz
(137.1 kB
view details)
Built Distribution
jgtpy-0.5.3-py3-none-any.whl
(150.7 kB
view details)
File details
Details for the file jgtpy-0.5.3.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.3.tar.gz
- Upload date:
- Size: 137.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13655ae71e606fd76e4b58dd838c69305a54f497674fa929eee546157ce28492 |
|
MD5 | 99af53f476ba92f76dc23876d054cfd3 |
|
BLAKE2b-256 | 6adf99f4345c2ad07fb254687284c05156cea186f6ec9be0fc6b28133380291c |
File details
Details for the file jgtpy-0.5.3-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.3-py3-none-any.whl
- Upload date:
- Size: 150.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6df9fac6c0702989392c8c434feaee3e4022d73d0ac79dd0ad9069b851a7309a |
|
MD5 | 6bfa8a98d42f170fd196ee4d1d03a92c |
|
BLAKE2b-256 | 928cfff8865d6c8084cac306a61498cdb43302a4aea13567398847717227be33 |