Public Bar readbarmin (binaryreader br, int instrumentid, long size)
{
int date = br. ReadUInt16 ();
int min = br. ReadUInt16 ();
Stock 2, Treasury repurchase 3, 300ETF is 4-bit
Double open = convert.todouble (Convert.todecimal (BR). Readsingle ()));
Double high = convert.todouble (Convert.todecimal (BR). Readsingle ()));
Double low = convert.todouble (Convert.todecimal (BR). Readsingle ()));
Double close = convert.todouble (Convert.todecimal (BR). Readsingle ()));
Double amount = convert.todouble (Convert.todecimal (BR). Readsingle ())); Turnover not saved
int vol = br. ReadInt32 ();
int reserve = Br. ReadInt32 (); Reserved words
int year = date/2048 + 2004;
int month = date% 2048/100;
int day = date% 2048 100;
int HH = MIN/60;
int mm = min% 60;
if ((HH = = 9) && (mm = = 1 | | mm = = 5))
{
Daym = day;
Momm = month;
}
if ((hh>20) && (hh<24))
{
Day=daym;
month = Momm;
}
DateTime closedatatime = new DateTime (year, month, day, HH, MM, 0);
DateTime opendatetime = Closedatatime.addseconds (-size);
C # Method of reading the historical data of Tongda letter