Click or drag to resize

How to import data

ArthaChitra lets you import historical data from external sources like csv or txt files. You can import data from other formats also as ArthaChitra exposes the Import type object and you can further custom code it. For details on how to custom code an import type object please refer here.

How to import data from text files

ArthaChitra lets you import data from text files (*.txt files).

  • In ArthaChitra Main View goto Settings > Import > Data
  • In the Data Import View, Select the type of data you want to import
  • Click on the OK Button
  • In the select file dialog, browse to the files you want to import
  • Click Ok
Instrument Name format

ArthaChitra will parse the instrument name from the text file name (which is being imported) itself. Below are the naming conventions for different data types

Instrument Type

Format

Example

Index

^<instrument name><space><exchange>

^NIFTY (note the ^ prefix)

Stock

<instrument name><space><exchange>

RELIANCE NSE

Futures

<instrument name><space><month in MM format><space><year in yyyy format><space><exchange>

NIFTY 08 2015 NSE

Options

<instrument name><space><month in MM format><space><year in yyyy format><space><strike price><space><exchange>

NIFTY 08 2015 8200 Call NSE

Weekly Options

<instrument name><space><date in ddMMMyyyy format><space><strike price><space><exchange>

NIFTY 08MAY2022 17000 Call NSE

Forex

$<instrument name><space><exchange>

$USDINR (note the $ prefix)