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.3.34.tar.gz
(110.9 kB
view details)
Built Distribution
jgtpy-0.3.34-py3-none-any.whl
(120.4 kB
view details)
File details
Details for the file jgtpy-0.3.34.tar.gz
.
File metadata
- Download URL: jgtpy-0.3.34.tar.gz
- Upload date:
- Size: 110.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15a49b2bba655bc4be7b6e6f768c606ca31e1497d583697540e668d6618811c7 |
|
MD5 | c8240b4ef8a8a9792c65d8d7a0e1d9e1 |
|
BLAKE2b-256 | 52f54187d5088142c87ce12cdbe377a7b649b91131ad3bd4c31a3fd5493479ef |
File details
Details for the file jgtpy-0.3.34-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.3.34-py3-none-any.whl
- Upload date:
- Size: 120.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fecd4f470bf59e67958bd295c6406e8574b9ac0f5c78a2d93ba5f867b4adc92d |
|
MD5 | b05a42f71127a461c14879d84851ebc9 |
|
BLAKE2b-256 | e83b53a6eb5a858086db204d19b2ac0274fb350cae01b2223eed5e124c4b30c4 |