How to develop an Instrument Definition Import Type |
InstrumentDefinitionImportBase lets the user define the instrument definition which can be then imported to ArthaChitra.
The import instrument definition feature (Settings > Import > Instrument Definition) will first give user an option to choose a file which contains the instrument definition. User has to parse the lines (from the selected file) using the TryParseLine(String, IEnumerableInstrumentDefinition) and define the instrument definition.
User can further pre-define the FileExtension, IsMultiselect etc and can further filter what file to choose etc.