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.92.tar.gz
(139.9 kB
view details)
Built Distribution
jgtpy-0.5.92-py3-none-any.whl
(155.1 kB
view details)
File details
Details for the file jgtpy-0.5.92.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.92.tar.gz
- Upload date:
- Size: 139.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94b764c40f657776dd8b5dcbe81ba6bc6eb3ac4667734c0dc41dae542679a8ae |
|
MD5 | 9928eb03a53f539efeccf2d0c85a425a |
|
BLAKE2b-256 | 995cb168d95f984e7f92bedf02614387b7475559fa815890dd5aa9f29d5e25bb |
File details
Details for the file jgtpy-0.5.92-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.92-py3-none-any.whl
- Upload date:
- Size: 155.1 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 | 3d3801a93ac8f6ea340df31f7d67f0e8140226b311cf0745c668b80d1a06b704 |
|
MD5 | 649303011ea74e1e9f27432b8a5bea88 |
|
BLAKE2b-256 | ea6aee50fd6e5a84c9804b958d65e491296d038fe3e35bd34e8d5e80a88f03a7 |