Enhanced JGTPy CDS, IDS, PDS Services
Project description
jgtpy
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.1.49.tar.gz
(39.0 kB
view details)
Built Distribution
jgtpy-0.1.49-py3-none-any.whl
(47.1 kB
view details)
File details
Details for the file jgtpy-0.1.49.tar.gz
.
File metadata
- Download URL: jgtpy-0.1.49.tar.gz
- Upload date:
- Size: 39.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0cdb54facf0ea70d245121e6493c0b73e75232ad3fb4f901a4e72364aacf769 |
|
MD5 | 3baa90300c0756badd3a5c2f87b97165 |
|
BLAKE2b-256 | bf8cb98ca34ca3a998ef401836377dc462ac9913f6ee7aea872529f44bd6adcf |
File details
Details for the file jgtpy-0.1.49-py3-none-any.whl
.
File metadata
- Download URL: jgtpy-0.1.49-py3-none-any.whl
- Upload date:
- Size: 47.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13323015ada565595fe4d15224bbdd7e43dbe119b7dd90e809042b98a338aa2b |
|
MD5 | a51fe787f3e307b72aa55939b5ecda1d |
|
BLAKE2b-256 | 5b41c6937e9135cbee8bab21dc757fe400241c7262f8bff36314286165560d68 |