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.236.tar.gz
(108.2 kB
view details)
Built Distribution
jgtpy-0.2.236-py3-none-any.whl
(121.2 kB
view details)
File details
Details for the file jgtpy-0.2.236.tar.gz
.
File metadata
- Download URL: jgtpy-0.2.236.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 | 5bb1dc005459503170a6aac61e3bd897daa3d8a5c22893bf7eb8fb9bc4656494 |
|
MD5 | 6d4869f0c0da056f8685231a34b49cfb |
|
BLAKE2b-256 | 8f95d78c38d1de4d00dbb86729a6bc95e3ff03c2ead63cbfe381957f19ca7534 |
File details
Details for the file jgtpy-0.2.236-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.2.236-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 | cf829fc51d6938943ebdd28eae4d8824560bc75c74eec53b378fe0c3ec674c74 |
|
MD5 | 40dc9bcf0b7caf5cc6ff78513ca32106 |
|
BLAKE2b-256 | 6046255dab00a14d613b8facaf8cbc07fd5f45645002b39f93e61a5fd5445b31 |