Click or drag to resize

Instruments

To import the instruments, select the Import => Securities item in the main menu of the application.

hydra import securities

The process of importing instruments

  1. Perform Import from CSV settings.

    • File name - full path to the CSV file.

    • Data directory - the data directory.

    • File mask - the file mask that is used when scanning the directory. For example, candle_*.csv.

    • Column separator - the column separator. Tabulation is labeled TAB.

    • Skip lines - the number of lines from the beginning of the file that you want to skip (if they contain metainformation).

    • Data directory - the folder where the final files in S# format will be saved.

    • Time zone - the time zone.

    • Format - the storage format, to that the data will be imported.

  2. Set the import parameters for the S# fields.

    • S# field - the S# field value. (Instrument, Board, etc.).

    • Mapping - to set matching the column value in the file to the stocksharp type (if necessary).

    • By default - the default field value. For example, it can be used for duplicate field values (Instrument or Board for import of the trades, order books, etc., see Ticks), if there is no the appropriate information in the data file.

    • Format - the data format. Typically used when importing the date and time values (see Ticks).

  3. To preview the data, click the Preview button.

  4. To click the Import button.