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.4.70.tar.gz
(134.0 kB
view details)
Built Distribution
jgtpy-0.4.70-py3-none-any.whl
(147.0 kB
view details)
File details
Details for the file jgtpy-0.4.70.tar.gz
.
File metadata
- Download URL: jgtpy-0.4.70.tar.gz
- Upload date:
- Size: 134.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 763e33628a4588726cd5cd3fc2f1783dd9e493a43395cc3177018c4f195d0c00 |
|
MD5 | bf95c4e97209e4e0f9c26abaed7c6c1b |
|
BLAKE2b-256 | 779f5338b64602912024bf1433d83533d0b2eb4363a165cb50b888baabdfed59 |
File details
Details for the file jgtpy-0.4.70-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.4.70-py3-none-any.whl
- Upload date:
- Size: 147.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba55fbfe48f62417eba26336a65a77cd150d89bb461e45c75d0aa581f1348a39 |
|
MD5 | 98194057f0c5ac6c17f47b468e299e37 |
|
BLAKE2b-256 | ff9687788ae9f42ac0c338cea5ad08c82c3be30d3297e0541d405c5afc91de55 |