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 instruments import process

  1. To perform Import settings from CSV.

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

    • Offset - the number of lines from the beginning of the file that should be missed (if they contain metainformation).

    • Path - the full path to the CSV file.

    • o Columns separator - the columns separator. Tabulation is labeled TAB.

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

    • Time zone - the time zone.

  2. To set the import parameters for the S# fields.

    • Number - to specify the index number of the column in the CSV file. If the field is not used, or if the field value is set by default, then leave the (–1) value.

      Note Note

      The numbering starts with 0.

    • Mapping - to set matching the column value in the file to the stocksharp type (if necessary). For example, the following figure shows how to set the matching between the "instrument type" column values and the corresponding enumeration in stocksharp.

    • By default - the default field value. For example, it can be used for duplicate field values (Security 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 date format. Typically used when importing the date and time values (see Ticks).

  3. To click the Import button.