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.75.tar.gz
(138.2 kB
view details)
Built Distribution
jgtpy-0.5.75-py3-none-any.whl
(152.5 kB
view details)
File details
Details for the file jgtpy-0.5.75.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.75.tar.gz
- Upload date:
- Size: 138.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11867a99d897c2313bbdfd9d007bddf078cfb02915a98a9d7a626a3aae7de5a8 |
|
MD5 | c1e22d696b78cb9d841a7578d2ed18e9 |
|
BLAKE2b-256 | c29476bd822e4d8591bf4bccae1c8e09b5750cc3ada52614198598431e059271 |
File details
Details for the file jgtpy-0.5.75-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.75-py3-none-any.whl
- Upload date:
- Size: 152.5 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 | adc8060a63cfaf5ccaa2c245799453a118fc1c325c39f0e7570095af3e10d508 |
|
MD5 | 33038dce8892930179e7bd62c41e15e6 |
|
BLAKE2b-256 | b505936605dfdd5959bdbddd954616f67a0511286ba71aa4caa0f64a0b5c8860 |