Click or drag to resize

How to bulk import instruments from a txt file

ArthaChitra has a import feature which facilates user to append instrumnet from a txt file. This is helpful in case user is appneding a large number of instruments.

How to import a txt/zip file

Please follow the below steps to import a Instrument.txt file into ArthaChitra

  • Download the txt or zip file. If the instrument file is in zip format then extract the txt file.
  • In ArthaChitra Main View menu bar, goto Settings > Instruments > Import
  • In the 'Select file dialog' select the downloaded txt file and click on the Open button
  • Restart ArthaChitra when prompted
Instrument bulk import format

The instrument txt file is a text file separated by ';' (semi-colon - without the ')

The header format for the txt file will be:

@Name;@Description;@InstrumentType;@Exchange;@Currency;@Symbols;@TickSize;@IsWeeklyContract;@Point Value;@Dividends;@Splits;@Rollover

The below table further clarifies the fields.

Field

Type

Description

Name

String

Max length 50

Description

String

Max length 100

Instrument Type

Int32

InstrumentType

Exchange

Int32

Exchange

Currency

Int32

Currency

Connection symbols

String

Connection symbol separated by ',' (comma - without the ')

Tick size

Double

Tick size of the instrument

Is weekly contract

Boolean

For options only

Point value

Double

Point value of the instrument

Dividends

DateTime-Double

Date-Amount (separated by ',' (comma - without the ')

Splits

DateTime-Double

Date-Factor (separated by ',' (comma without the ')

Rollover

String

String value (applicable for Futures scripts only)

Note: Entries begining with '#' (without the ') are treated as comments and will be ignored