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.
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) |