Skip to main content

Shift Forex Tester data time so that daily candle closes at the right price

Project description

Shift Forex Tester data

$ pip install shift-forex-tester-data
$ shiftdata --help
Usage: shiftdata [OPTIONS] INPUT_FILE OUTPUT_FILE

  Shift Forex Tester data time so that daily candle closes with price at daily closing time.

  INPUT_FILE is Forex Tester exported data with defaut settings, OUTPUT_FILE
  has the same format and can be imported back into Forex Tester with default
  settings.

  Example:

    shiftdata -c 18:00 XAUUSD.csv XAUUSD2.csv
    shiftdata -c 17:00 EURUSD.csv EURUSD2.csv

  In XAUUSD2.csv, 18:00 will be shifted to 00:00 so that after importing into
  Forex Tester, daily candle closing price becomes that of 17:59:59 but the
  closing time becomes 23:59:59. Similarly for EURUSD2.csv but with different
  closing time.

Options:
  --version                Show the version and exit.
  -c, --close TIME         Daily closing time  [required]
  -z, --timezone TIMEZONE  Closing time timezone  [default: America/New_York]
  --include-weekends       Do not remove Saturday and Sunday data
  -h, --help               Show this message and exit.

Development

Development command:

$ bin/dev --help

To enter virtual environment, spawn a subshell:

$ bin/dev run bash
$ dev --help  # no need to type "bin/" in the subshell

To lint code:

$ dev lint

To run unit test:

$ bin/dev run pytest

To build library and upload to PyPI:

$ dev build
$ dev upload

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

shift_forex_tester_data-0.1.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file shift_forex_tester_data-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for shift_forex_tester_data-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4793b651efd5c89d922eb30dbab4f56fe4c5e01533390c85b4f6de44fb4faab0
MD5 2a4ca946303b3b9218b82f0c52d2fa16
BLAKE2b-256 25c71667f48ef1acf49d1e9468539d7f5ab8b28344f56c83b005b04e5859b6f3

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