Enhanced JGTPy CDS, IDS, PDSP 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.3.2.tar.gz
(110.4 kB
view details)
Built Distribution
jgtpy-0.3.2-py3-none-any.whl
(124.3 kB
view details)
File details
Details for the file jgtpy-0.3.2.tar.gz
.
File metadata
- Download URL: jgtpy-0.3.2.tar.gz
- Upload date:
- Size: 110.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab45d761af40443431d207d8650c1769a2c633d6f1f9996048c2934bd775602d |
|
MD5 | 8d20dff9a933dd7595764f6f60cb6258 |
|
BLAKE2b-256 | 76f14ecdf4bb177a6f99cad96a5f3b880cfcd153c4b65a3dd565707ad734ca73 |
File details
Details for the file jgtpy-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.3.2-py3-none-any.whl
- Upload date:
- Size: 124.3 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 | bd365b9599eea61aca74ad8812fa7b242afba775c8caade46dcd4b2ce5d89c4f |
|
MD5 | 322a4671d1ef529bf7b0c9f768dd61dc |
|
BLAKE2b-256 | d790750250e934dd69cba33fdbc2a7d52e67c3cf2f103707ed7594851b2122c4 |