Enhanced JGTPy CDS, IDS, PDS 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.2.88.tar.gz
(29.9 kB
view details)
Built Distribution
jgtpy-0.2.88-py3-none-any.whl
(35.7 kB
view details)
File details
Details for the file jgtpy-0.2.88.tar.gz
.
File metadata
- Download URL: jgtpy-0.2.88.tar.gz
- Upload date:
- Size: 29.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cb0713e91385f69c876c27329e8acfdde71ff8c1d4aeae304ee8462231f6ca5 |
|
MD5 | 75aa1dd26338b1d2d2b60bf3c05f77ae |
|
BLAKE2b-256 | b018024198bb5eff3faa7a21843720dd8bc51a3a2a6e8d246e1f101720e0e3b9 |
File details
Details for the file jgtpy-0.2.88-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.2.88-py3-none-any.whl
- Upload date:
- Size: 35.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 686c24240085245b62ca4b6184e555e7451cde734cf026361db720a356ccba12 |
|
MD5 | 40f738d86e0ffb4f168e1794f7497c2a |
|
BLAKE2b-256 | a8deca402a0fca2d6df2553da508f6e046d8094f75d13301ccf120721122e164 |