コード例 #1
0
 //--------------------------------------------------------------------------------
 public DataSet_tslight() :
     base()
 {
     t_security            = new DataTable_security();
     t_timeframe           = new DataTable_timeframe();
     t_candle              = new DataTable_candle();
     t_my_securities       = new DataTable_security();
     t_my_takingPositions  = new DataTable_order();
     t_my_ClosingPositions = new DataTable_stopOrder();
 }
コード例 #2
0
        void saveMyInstruments()
        {
            DataTable_security newDataTable   = new DataTable_security();
            string             DataTable2file = "";

            foreach (DataRow_security row in DTS.t_my_securities.Rows)
            {
                DataTable2file += row.security_id + ";" + row.security_name + ";" + row.security_code + ";" + row.lotsize + ";" + row.decimals + ";" + row.market + ";" + row.board + "; \n";
            }

            File.WriteAllText("myInstruments.xml", DataTable2file);
        }
コード例 #3
0
 //--------------------------------------------------------------------------------
 internal DataRow_security(global::System.Data.DataRowBuilder rb) :
     base(rb)
 {
     table = (DataTable_security)Table;
 }