Skip to content

📈🐳Converts Forex historical data to different formats via GitHub Actions

License

Notifications You must be signed in to change notification settings

FX31337/FX-Data-Convert-Action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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/[email protected]

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