importjava.io.BufferedWriter;importjava.io.File;importjava.io.FileWriter;importjava.io.IOException;publicclassHomework01{publicstaticvoidmain(String[] args)throwsIOException{String filePath ="c:\\mydir";File file =newFile(filePath);if(!file.exists()){if(file.mkdirs())System.out.println(filePath +" has been created successfully..");elseSystem.out.println(filePath +" was fail to be created..");}else{System.out.println(filePath +" has already existed..");}String destfile = filePath +"\\hello.txt";File file1 =newFile(destfile);if(!file1.exists()){if(file1.createNewFile()){BufferedWriter bufferedWriter =newBufferedWriter(newFileWriter(file1));bufferedWriter.write("hello, world~~ 韩顺平教育");bufferedWriter.close();System.out.println(destfile +" has been created successfully..");}else{System.out.println(destfile +" has already existed..");}}else{System.out.println(destfile +" has already existed..");}}}
仅用于记录当天的市场情况,用于统计交易策略的适用情况,以便程序回测 短线核心:不参与任何级别的调整 昨日回顾: 方法一:指标选股 select * from dbo.ResultAll where 入选类型 like %指标选股% and 入选日期=20240103;方法二:趋势选股法 1、最低价持续3日上涨 2、均价…