Click or drag to resize

ImportBaseTryParseLineAsync Method

Reads the line of the file For tick based data only last, bid and ask price is evaluated. For minute and day data OHLC data is evaluated. Day data also evaluates OI data

Namespace: ArthaChitra.Model.IO
Assembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.3.0
Syntax
C#
public abstract Task<bool> TryParseLineAsync(
	string line,
	out Instrument instrument,
	out DateTime date,
	out TimeSpan time,
	out double open,
	out double high,
	out double low,
	out double close,
	out double bid,
	out double ask,
	out long volume,
	out long oi,
	out string errMsg
)

Parameters

line  String
Line
instrument  Instrument
Instrument for which the quotes are being processed
date  DateTime
Date
time  TimeSpan
Time
open  Double
Open price
high  Double
High price
low  Double
Low price
close  Double
Close price
bid  Double
Bid price, this is for tick based data only
ask  Double
Ask price, this is for tick based data only
volume  Int64
Volume
oi  Int64
Open interest
errMsg  String
Error message

Return Value

TaskBoolean
True if the line is parsed successfully, else false.
See Also