/FX-Data-Generate-Action

:chart_with_upwards_trend:🐳Generates dummy Forex historical data via GitHub Actions

Primary LanguagePythonMIT LicenseMIT

FX Data Generate 🐳 Action

Tag Status Status Status Channel Edit

This GitHub Action generates dummy Forex historical data in CSV format.

By default it generates the file in CSV format.

To convert CSV file to different formats, use FX-Data-Convert-Action action.

Usage

For full documentation, please read: GitHub Actions Documentation.

Latest release

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

Specific release

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

Note: Check Releases for more details.

Latest development version

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

Overriding default inputs

uses: fx31337/fx-data-generate-action@master
with:
    Pattern: 'zigzag'

Inputs

File Inputs

OutputFile

The CSV filename to generate data to. Default: data.csv.

Date Inputs

StartDate

Starting date (in yyyy.mm.dd format). Default: 2020.01.01.

EndDate

Ending date (in yyyy.mm.dd format). Default: 2020.01.31.

Price Inputs

StartPrice

Starting bid price. Default: 1.00.

EndPrice

Ending bid price. Default: 2.00.

Digits

Decimal digits of prices. Default: 5.

Spread

Spread between prices (in points).

Modeling Inputs

Density

Data points per minute.

Pattern

Modeling pattern to use. Default: none.

Supported patterns:

  • none
  • curve
  • random
  • wave
  • zigzag

Volatility

Volatility factor. Default: 1.0.

Other Inputs

CmdArgs

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

Related actions

Support