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.224.tar.gz
(43.1 kB
view details)
Built Distribution
jgtpy-0.2.224-py3-none-any.whl
(52.8 kB
view details)
File details
Details for the file jgtpy-0.2.224.tar.gz
.
File metadata
- Download URL: jgtpy-0.2.224.tar.gz
- Upload date:
- Size: 43.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 979da8b436dd567fff266a511ff8f518805429d5a7dd02f1e4ad8fca5626fc66 |
|
MD5 | d82516514833d6dc432a9c4f345352f9 |
|
BLAKE2b-256 | 7b6613f4a544dbbf780b88dc6c7e14376a4fc95d55c8f6a45f45db8ec48d49e5 |
File details
Details for the file jgtpy-0.2.224-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.2.224-py3-none-any.whl
- Upload date:
- Size: 52.8 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 | 81a58dc2e1dceacacb9926cd4e1aa5653be242cac1aa8f0139366dde65adecf5 |
|
MD5 | c77d35a73930b277beaf6afd5e02477f |
|
BLAKE2b-256 | 0fd8dc6058897ab2655b58fbdfe68684572a1d6209da12244909ed9de28342d3 |