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.51.tar.gz
(137.0 kB
view details)
Built Distribution
jgtpy-0.5.51-py3-none-any.whl
(150.8 kB
view details)
File details
Details for the file jgtpy-0.5.51.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.51.tar.gz
- Upload date:
- Size: 137.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 | 1dc6c80396d0d81cec467c6a4c84cb5026f481618d7936724491490de09371e2 |
|
MD5 | 7a95515aff87c393a2bd16a660ad2d07 |
|
BLAKE2b-256 | d01e788deb8f982092ba459c433608f02bf147d53fca6a327b04244064a580f8 |
File details
Details for the file jgtpy-0.5.51-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.51-py3-none-any.whl
- Upload date:
- Size: 150.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 | 591a9e3bac9ec7839ff3fea06431580932a72aa4db30ccf19c080f91018466ca |
|
MD5 | 3f821b62a526d867bdcdd4bb84a00ddc |
|
BLAKE2b-256 | 759652fe62d60585cb62280278407c0d1496c3df9d1b549d0a745a25a6c4e0a3 |