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.83.tar.gz
(135.8 kB
view details)
Built Distribution
jgtpy-0.4.83-py3-none-any.whl
(149.0 kB
view details)
File details
Details for the file jgtpy-0.4.83.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.83.tar.gz
- Upload date:
- Size: 135.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f89b611647f0caaa81ccebc7b2a87026e6657249c19b0da4d5bcc4504e383b8 |
|
MD5 | 6a678806df5b8a886c20f4c6b5540af0 |
|
BLAKE2b-256 | 21bcd6f744ce09b0a03ca0c1da3185cf37d0283dcac07c64d2f4a907ba9f8121 |
File details
Details for the file jgtpy-0.4.83-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.83-py3-none-any.whl
- Upload date:
- Size: 149.0 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 | 95bca9818ca0eec818e015a1cdc1d974153787c50a207448c770e8ce3731b059 |
|
MD5 | 4bba391f4150cf3e53cadd11733361bd |
|
BLAKE2b-256 | 9c65e7a18ad1fec5134aa3a6478e0be26edd79539142ddc44b732694b0053bc1 |