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.78.tar.gz
(138.2 kB
view details)
Built Distribution
jgtpy-0.5.78-py3-none-any.whl
(152.5 kB
view details)
File details
Details for the file jgtpy-0.5.78.tar.gz
.
File metadata
- Download URL: jgtpy-0.5.78.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 | f5b4e5bce309097ed2e7bf2147863cb630397603cc2672d549c29d7fe22222ec |
|
MD5 | 2d0fb6e78b8db3fe48a56cc521782aac |
|
BLAKE2b-256 | c8cef5cff8f28a9de50a3ee4733e51ca46f2b131724717a337a19726fbda512a |
File details
Details for the file jgtpy-0.5.78-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.5.78-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 | 46ff830d22ae5d814f8e1be216c3b18ca3f65afc9df72ba334b3262175c50631 |
|
MD5 | b2a4b442c22e4943811e66af835d1097 |
|
BLAKE2b-256 | 9fb44dfd996d9fca045c41f68993555936faeaabc385fbd882608cf2cea7ed15 |