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.4.80.tar.gz
(134.6 kB
view details)
Built Distribution
jgtpy-0.4.80-py3-none-any.whl
(147.5 kB
view details)
File details
Details for the file jgtpy-0.4.80.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.80.tar.gz
- Upload date:
- Size: 134.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f70f59b7268101f08d2adc17f589d4fac4159107372c59ed86cb42db91ff7e6 |
|
MD5 | a95fc4e81bae2bc3ec830805fb73bb91 |
|
BLAKE2b-256 | 53adaf9f58636672ab987d52f09223a3c0a30be121823a4cfa2d9b49fadd97ea |
File details
Details for the file jgtpy-0.4.80-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.80-py3-none-any.whl
- Upload date:
- Size: 147.5 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 | 8b94f380ce255bd513ffca2257d110fad104b378b41a4137392f898b6ba48571 |
|
MD5 | ed6ebe1c3c0249b158a8bbd32731fbe1 |
|
BLAKE2b-256 | be610a588d4430f20c7c50cbd38e6c55cecb60b8c77e272402dd0eec8f380fa1 |