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.89.tar.gz
(135.7 kB
view details)
Built Distribution
jgtpy-0.4.89-py3-none-any.whl
(148.8 kB
view details)
File details
Details for the file jgtpy-0.4.89.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.89.tar.gz
- Upload date:
- Size: 135.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0aedd3b4f1d049d1acabdc37621eb002d6cbc72f68bda566270a7fea9fdf207e |
|
MD5 | 027187051c1b704b70e83b370f496d59 |
|
BLAKE2b-256 | 664f748583f09224c16cb4bc66c2de9780ccc1cc32b5284715ecbb4f488a5fa4 |
File details
Details for the file jgtpy-0.4.89-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.89-py3-none-any.whl
- Upload date:
- Size: 148.8 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 | 6bf67e341f5e010e139203b54d37292d5a2e0350e908b3e8376e87724ed48fd7 |
|
MD5 | 71a28e5f255c3ee1d75bb127f679d505 |
|
BLAKE2b-256 | 7fe4da727cca472915d5e44d4b94165ee291e83b51c022b95351ba512cadebd6 |