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

Uploaded Source

Built Distribution

jgtpy-0.2.233-py3-none-any.whl (119.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jgtpy-0.2.233.tar.gz
  • Upload date:
  • Size: 106.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for jgtpy-0.2.233.tar.gz
Algorithm Hash digest
SHA256 ba4e71132d1a1c5fc1fa352e2b774d57fe425ee2a7ee48428b0261dcc50604c5
MD5 b2eae2ad96e70bdbc2cadc9d6957bf75
BLAKE2b-256 4757a8a45a29a1d5449c152c15f06964478425e3e674638f3476a4ccf5a0c943

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jgtpy-0.2.233-py3-none-any.whl
  • Upload date:
  • Size: 119.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for jgtpy-0.2.233-py3-none-any.whl
Algorithm Hash digest
SHA256 8119b6bf8b2578ade2bb79b4bb09edc3a925c27cf4a85c9ce90c4d3fbeac1b7e
MD5 7d4bf75520bca56c31a85537b74f31d2
BLAKE2b-256 e3e4bda96fb100b58ac71be496defdd60cda7781413a557cde43016e3f2154b3

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