Skip to content

Latest commit

 

History

History
131 lines (85 loc) · 3.37 KB

README.md

File metadata and controls

131 lines (85 loc) · 3.37 KB

FX Data Convert 🐳 Action

Tag Status Status Status Status Channel Edit

This GitHub Action allows Forex historical data to be converted to different formats.

Supported formats:

  • CSV
  • HST (historical data, e.g. OHLC values)
  • HST v509 (older version)
  • FXT (tick data for MetaTrader 4)
  • HCC (tick data for MetaTrader 5)

Usage

For full documentation, please read: GitHub Actions Documentation.

Latest release

uses: fx31337/fx-data-convert-action@v1

Specific release

uses: fx31337/fx-data-convert-action@v1.0.0

Note: Check Releases for more details.

Latest development version

uses: fx31337/fx-data-convert-action@master

Specifying inputs

Example:

uses: fx31337/fx-data-convert-action@master
with:
    InputFile: 'myfile.csv'
    OutputFormat: 'fxt'

Inputs

Main Inputs

InputFile

The CSV filename to convert from.

OutputFormat

The format of the file to convert to.

Supported output formats: fxt, hst and hcc.

ModelingMode

Mode of modeling price (for FXT format only).

Supported modes:

  • 0 - Every tick (default)
  • 1 - Control points
  • 2 - Open prices

Pair

Symbol pair code (e.g. EURUSD, default: FOOBAR).

Other Inputs

CmdArgs

Extra arguments to pass to the script. Default: -v (for verbose output).

OptVerbose

Specifies level of verbosity (0-2).

Supported levels are:

  • 0 - no output
  • 1 - standard messages
  • 2 - debug messages
  • 3 - trace messages

Support