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.4.22.tar.gz
(124.1 kB
view details)
Built Distribution
jgtpy-0.4.22-py3-none-any.whl
(136.9 kB
view details)
File details
Details for the file jgtpy-0.4.22.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.22.tar.gz
- Upload date:
- Size: 124.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13a164d7bc30969b422d965ea3ac8495bf3659ece95756e669512bfce281feed |
|
MD5 | 5035c314104164dd66246000f51fcd3a |
|
BLAKE2b-256 | 76d71cffa7671358b7cde9f6c0e81d3b178cf53f4f69b275fdbf1ff80f167eab |
File details
Details for the file jgtpy-0.4.22-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.22-py3-none-any.whl
- Upload date:
- Size: 136.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db0a216f8a0c4f4aa8900000845570b57b187c085f7800dd87b34aa199161a71 |
|
MD5 | f961f0e8554bac63dfc963727b97d4c7 |
|
BLAKE2b-256 | f53c51fcd901f9f62b04f58a8afc04041e1d236f42b4e60d3901b4f3f320bc54 |