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.13.tar.gz
(137.2 kB
view details)
Built Distribution
jgtpy-0.5.13-py3-none-any.whl
(151.0 kB
view details)
File details
Details for the file jgtpy-0.5.13.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.13.tar.gz
- Upload date:
- Size: 137.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8c7823929d3b8d88d459c05f853ac5aaab916b0eeae289b69c2337c3470e551 |
|
MD5 | c8460c6ebfdb10cb0a038bdd684a2d12 |
|
BLAKE2b-256 | 4c0be1cba81522460f71bd8db22664112582f4acb3bf4234fc280dbc02b325b0 |
File details
Details for the file jgtpy-0.5.13-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.13-py3-none-any.whl
- Upload date:
- Size: 151.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 | 7466f906a57dd6f4d087ebb4c47b548a295b615992502ebe45d2eeed9d9ba8da |
|
MD5 | 1944e0b838f8db9517abf9d53b1e5253 |
|
BLAKE2b-256 | 1255a2da3e4023e71d1d8df5dbfaa08b6f765b07e38a2c5eb49be43b788b31df |