Skip to main content

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

Uploaded Source

Built Distribution

jgtpy-0.4.30-py3-none-any.whl (136.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jgtpy-0.4.30.tar.gz
Algorithm Hash digest
SHA256 bf0663ecb2105eed87b5c4680ca2ec6eea47193760e15d5a6b00f8c96abf1cd3
MD5 1f5d6910281f3285044118f4eef04848
BLAKE2b-256 3eabe2cebdcece7f032f6a678de01bb6aa8dd3060d9d32a5cc3245bf24a7587d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jgtpy-0.4.30-py3-none-any.whl
Algorithm Hash digest
SHA256 d42bc062bf4f7ac4875fd8b574c9ee5426a7ba0cc3d656b33a377c68ac26d5a6
MD5 70418d5c10f61f0e26f934e2502fc4d4
BLAKE2b-256 2139533d823e905fb70e93be9fe947a665d58163c71aba85f2b61b4811433c82

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