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.2.237.tar.gz
(108.2 kB
view details)
Built Distribution
jgtpy-0.2.237-py3-none-any.whl
(121.2 kB
view details)
File details
Details for the file jgtpy-0.2.237.tar.gz
.
File metadata
- Download URL: jgtpy-0.2.237.tar.gz
- Upload date:
- Size: 108.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7cf5675743db0907d0eb44003fb06385fafaa1c8b4d770ac8fbbb1edd76e375 |
|
MD5 | e723cc0932885353cc098ec7af716b0c |
|
BLAKE2b-256 | c44dbc4c16fa649a0997b3c35bb598713fc42b278726e7637a9ef9583825a0fb |
File details
Details for the file jgtpy-0.2.237-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.2.237-py3-none-any.whl
- Upload date:
- Size: 121.2 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 | 0876508ba35bad4a983331a85c16f8295c62f5172bb0f99991bffee23618224c |
|
MD5 | 0d7e8730d9e57112628036f9e6e8b349 |
|
BLAKE2b-256 | 3be1ab02d3a599b240566f77750d3f47dcd881fa1d4cabc724f28c0a2e2b86e5 |