Import |
The import tab lets one to import historical data from files. This chapter describes in detail the default files and format which ArthaChitra supports
ArthaChitra lets you import data from text files (*.txt files).
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) |
ArthaChitra appends data in Tick, Minute and Day format. It can import txt files for Tick, Minute and Day data types. The default line format for each data type are stated below.
Tick Data Type:
yyyyMMdd, HHmmss, LTP, Bid, Ask, Volume
Minute Data Type:
yyyyMMdd, HHmmss, Open, High, Low, Close, Volume
Day Data Type:
yyyyMMdd, Open, High, Low, Close, Volume
Note, the lines should be separted by ',' (comma).