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.93.tar.gz
(140.0 kB
view details)
Built Distribution
jgtpy-0.5.93-py3-none-any.whl
(155.2 kB
view details)
File details
Details for the file jgtpy-0.5.93.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.93.tar.gz
- Upload date:
- Size: 140.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d297836cccbcc1089794278c7edc5e84defe4f5dc43aa42b40130f5469c2e071 |
|
MD5 | 6ec4a452fbb2e7fc7421f5e2296c2578 |
|
BLAKE2b-256 | 8327d23f6c85025b1447628dfac6ab427aeed34543fba0eaeba657d42c2222c9 |
File details
Details for the file jgtpy-0.5.93-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.93-py3-none-any.whl
- Upload date:
- Size: 155.2 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 | d848b7bff80daf4f848b26032a46618248c056a2d56aaa1448594f7ff294d8f9 |
|
MD5 | d0b531f59c2f8fc25304709a89553c07 |
|
BLAKE2b-256 | 4f0ccc4db9419ca6f9fe1d98fa3d0267fd844131bce1794d73976e7eab2e5edd |