Enhanced JGTPy CDS, IDS, PDSP Services
Project description
jgtpy (pdsp/ids/cds)
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)
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.5.41.tar.gz
(136.9 kB
view details)
Built Distribution
jgtpy-0.5.41-py3-none-any.whl
(150.7 kB
view details)
File details
Details for the file jgtpy-0.5.41.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.41.tar.gz
- Upload date:
- Size: 136.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad8dd321d79f04f8d3861e02a6280871ff0d04daa744b988b88cfd93ec958ccb |
|
MD5 | baaf4e718e2f4c387d125708c6e55f93 |
|
BLAKE2b-256 | 07cf2bc9016691ef8ba91807ce48e093b93073c9f05ee20ec3021a40a900d81a |
File details
Details for the file jgtpy-0.5.41-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.41-py3-none-any.whl
- Upload date:
- Size: 150.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 973eefc600958ba2f27a7da9c0d3eb8681a361cd9ec0486bc5328749f052215a |
|
MD5 | 066911ebc56b1cde6daebe0d3ff41d18 |
|
BLAKE2b-256 | 683b7f325f442a08322c8972379de1645cbacf7bda374d3ceffb37b9eee19be5 |