意外看到EZChart臺灣股市歷史資料 寫一下程式把資料爬出來 static void Main ( string [ ] args ) { var file = File . OpenRead ( @"C:\Program Files (x86)\ezChart\Data\0050.dat" ) ; var size = file . Length ; using ( var br = new BinaryReader ( file ) ) { long readsize = 0 ; while ( size > readsize ) { int date = br . ReadInt32 ( ) ; decimal opening = ( decimal ) br . ReadInt32 ( ) / 100 ; decimal highest = ( decimal ) br . ReadInt32 ( ) / 100 ; decimal lowest = ( decimal ) br . ReadInt32 ( ) / 100 ; decimal closing = ( decimal ) br . ReadInt32 ( ) / 100 ; int volume = br . ReadInt32 ( ) ; Console . WriteLine ( $"date: { date } ,opening: { opening } , highest: { highest } , lowest:...