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.3.10.tar.gz
(107.4 kB
view details)
Built Distribution
jgtpy-0.3.10-py3-none-any.whl
(116.5 kB
view details)
File details
Details for the file jgtpy-0.3.10.tar.gz
.
File metadata
- Download URL: jgtpy-0.3.10.tar.gz
- Upload date:
- Size: 107.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ef7abe5b53355f331b33acd0e0a35ccd6e0d243b769d14efa47ae429bacc7f7 |
|
MD5 | 86131c5b1aeac0759e1fe0b4cffe9db0 |
|
BLAKE2b-256 | e47714a0524de412712b0f34f62010fa534f8112995683977f549e16011dbadb |
File details
Details for the file jgtpy-0.3.10-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.3.10-py3-none-any.whl
- Upload date:
- Size: 116.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d99e9cbdfd4f2a9756da86b920cdbf6eb83bb134199ad32ceadbfde6b1c5fb7 |
|
MD5 | aa82c20bebfe773ad2f51fdd94f8ba7a |
|
BLAKE2b-256 | 9600c846017ef6695f73b16d16cca589f525bf58dc85dda6855c676526714d91 |