Skip to main content

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.6.tar.gz (137.1 kB view details)

Uploaded Source

Built Distribution

jgtpy-0.5.6-py3-none-any.whl (150.7 kB view details)

Uploaded Python 3

File details

Details for the file jgtpy-0.5.6.tar.gz.

File metadata

  • Download URL: jgtpy-0.5.6.tar.gz
  • Upload date:
  • Size: 137.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for jgtpy-0.5.6.tar.gz
Algorithm Hash digest
SHA256 c26e28b2e1bc29affef441297f5c2cb509a6b2c640f1669a8c401d70d3355bc1
MD5 3724a87a3c3eff78047e5e0494d337f8
BLAKE2b-256 bfdb4fc571d1987791f9a2b132ebcb46af63491a7ed76254d80c92ae75007b05

See more details on using hashes here.

File details

Details for the file jgtpy-0.5.6-py3-none-any.whl.

File metadata

  • Download URL: jgtpy-0.5.6-py3-none-any.whl
  • Upload date:
  • Size: 150.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for jgtpy-0.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 56a1690ffa99a19ae42947ba0d2006c9bafb60af1e899fb7f498d19f316f158c
MD5 99ba471412de188e1ed148453aff2734
BLAKE2b-256 aa7d3fc7780aadc1accc2d74850c0c444a1ff3995a7888e5e6d44ae12edc191e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page