quantproject-developers Mailing List for QuantProject (Page 115)
Brought to you by:
glauco_1
You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(7) |
Nov
(103) |
Dec
(67) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(52) |
Feb
(9) |
Mar
(69) |
Apr
(53) |
May
(80) |
Jun
(23) |
Jul
(24) |
Aug
(112) |
Sep
(9) |
Oct
|
Nov
(58) |
Dec
(93) |
| 2005 |
Jan
(90) |
Feb
(93) |
Mar
(61) |
Apr
(56) |
May
(37) |
Jun
(61) |
Jul
(55) |
Aug
(68) |
Sep
(25) |
Oct
(46) |
Nov
(41) |
Dec
(37) |
| 2006 |
Jan
(33) |
Feb
(7) |
Mar
(19) |
Apr
(27) |
May
(73) |
Jun
(49) |
Jul
(83) |
Aug
(66) |
Sep
(45) |
Oct
(16) |
Nov
(15) |
Dec
(7) |
| 2007 |
Jan
(14) |
Feb
(33) |
Mar
|
Apr
(21) |
May
|
Jun
(34) |
Jul
(18) |
Aug
(100) |
Sep
(39) |
Oct
(55) |
Nov
(12) |
Dec
(2) |
| 2008 |
Jan
(120) |
Feb
(133) |
Mar
(129) |
Apr
(104) |
May
(42) |
Jun
(2) |
Jul
(52) |
Aug
(99) |
Sep
(134) |
Oct
|
Nov
(137) |
Dec
(48) |
| 2009 |
Jan
(48) |
Feb
(55) |
Mar
(61) |
Apr
(3) |
May
(2) |
Jun
(1) |
Jul
|
Aug
(51) |
Sep
|
Oct
(7) |
Nov
|
Dec
|
| 2010 |
Jan
(7) |
Feb
(1) |
Mar
(145) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(8) |
Dec
|
| 2011 |
Jan
(78) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(88) |
Sep
(6) |
Oct
(1) |
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
(1) |
Mar
|
Apr
(6) |
May
(5) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Glauco S. <gla...@us...> - 2005-02-19 15:59:02
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16078/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows Modified Files: NumberWinningLongTrades.cs NumberWinningShortTrades.cs NumberWinningTrades.cs TotalNumberOfLongTrades.cs TotalNumberOfShortTrades.cs Log Message: Added try catch to avoid run time errors when there are no round trades Index: NumberWinningLongTrades.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/NumberWinningLongTrades.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NumberWinningLongTrades.cs 15 Feb 2005 19:09:03 -0000 1.2 --- NumberWinningLongTrades.cs 19 Feb 2005 15:58:52 -0000 1.3 *************** *** 16,21 **** { this.rowDescription = "Number winning long trades"; ! DataRow[] DataRows = summary.AccountReport.RoundTrades.DataTable.Select( "((Trade='Long')and([%Profit] > 0))" ); ! this.rowValue = DataRows.Length; } } --- 16,28 ---- { this.rowDescription = "Number winning long trades"; ! try ! { ! DataRow[] DataRows = summary.AccountReport.RoundTrades.DataTable.Select( "((Trade='Long')and([%Profit] > 0))" ); ! this.rowValue = DataRows.Length; ! } ! catch (Exception ex) ! { ! ex = ex; // to avoid compilation warning; ! } } } Index: NumberWinningShortTrades.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/NumberWinningShortTrades.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NumberWinningShortTrades.cs 15 Feb 2005 19:09:03 -0000 1.2 --- NumberWinningShortTrades.cs 19 Feb 2005 15:58:52 -0000 1.3 *************** *** 16,22 **** { this.rowDescription = "Number winning short trades"; ! DataRow[] DataRows = summary.AccountReport.RoundTrades.DataTable.Select( ! "((Trade='Short')and([%Profit] > 0))" ); ! this.rowValue = DataRows.Length; } } --- 16,29 ---- { this.rowDescription = "Number winning short trades"; ! try ! { ! DataRow[] DataRows = summary.AccountReport.RoundTrades.DataTable.Select( ! "((Trade='Short')and([%Profit] > 0))" ); ! this.rowValue = DataRows.Length; ! } ! catch (Exception ex) ! { ! ex = ex; // to avoid compilation warning; ! } } } Index: TotalNumberOfShortTrades.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/TotalNumberOfShortTrades.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TotalNumberOfShortTrades.cs 15 Feb 2005 19:09:04 -0000 1.2 --- TotalNumberOfShortTrades.cs 19 Feb 2005 15:58:52 -0000 1.3 *************** *** 17,23 **** double totalROA = summary.TotalPnl / ( summary.FinalAccountValue - summary.TotalPnl ); this.rowDescription = "Total # of short trades"; ! DataRow[] DataRows = ! summary.AccountReport.RoundTrades.DataTable.Select( "((Trade='Short')and(ExitPrice is not null))" ); ! this.rowValue = DataRows.Length; } } --- 17,30 ---- double totalROA = summary.TotalPnl / ( summary.FinalAccountValue - summary.TotalPnl ); this.rowDescription = "Total # of short trades"; ! try ! { ! DataRow[] DataRows = ! summary.AccountReport.RoundTrades.DataTable.Select( "((Trade='Short')and(ExitPrice is not null))" ); ! this.rowValue = DataRows.Length; ! } ! catch (Exception ex) ! { ! ex = ex; // to avoid compilation warning; ! } } } Index: TotalNumberOfLongTrades.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/TotalNumberOfLongTrades.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TotalNumberOfLongTrades.cs 15 Feb 2005 19:09:04 -0000 1.2 --- TotalNumberOfLongTrades.cs 19 Feb 2005 15:58:52 -0000 1.3 *************** *** 17,23 **** double totalROA = summary.TotalPnl / ( summary.FinalAccountValue - summary.TotalPnl ); this.rowDescription = "Total # of long trades"; ! DataRow[] DataRows = ! summary.AccountReport.RoundTrades.DataTable.Select( "((Trade='Long')and(ExitPrice is not null))" ); ! this.rowValue = DataRows.Length; } } --- 17,30 ---- double totalROA = summary.TotalPnl / ( summary.FinalAccountValue - summary.TotalPnl ); this.rowDescription = "Total # of long trades"; ! try ! { ! DataRow[] DataRows = ! summary.AccountReport.RoundTrades.DataTable.Select( "((Trade='Long')and(ExitPrice is not null))" ); ! this.rowValue = DataRows.Length; ! } ! catch (Exception ex) ! { ! ex = ex; // to avoid compilation warning; ! } } } Index: NumberWinningTrades.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/NumberWinningTrades.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NumberWinningTrades.cs 15 Feb 2005 19:09:04 -0000 1.2 --- NumberWinningTrades.cs 19 Feb 2005 15:58:52 -0000 1.3 *************** *** 16,21 **** { this.rowDescription = "Number winning trades"; ! DataRow[] DataRows = summary.AccountReport.RoundTrades.DataTable.Select( "([%Profit] > 0)" ); ! this.rowValue = DataRows.Length; } } --- 16,28 ---- { this.rowDescription = "Number winning trades"; ! try ! { ! DataRow[] DataRows = summary.AccountReport.RoundTrades.DataTable.Select( "([%Profit] > 0)" ); ! this.rowValue = DataRows.Length; ! } ! catch (Exception ex) ! { ! ex = ex; // to avoid compilation warning; ! } } } |
|
From: Marco M. <mi...@us...> - 2005-02-15 19:15:50
|
Update of /cvsroot/quantproject/QuantProject/b7_Scripts/TickerSelectionTesting In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24288/b7_Scripts/TickerSelectionTesting Modified Files: RunEfficientCTOPortfolio.cs Log Message: Updated script: added code for serializing final report into a file. Index: RunEfficientCTOPortfolio.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/TickerSelectionTesting/RunEfficientCTOPortfolio.cs,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** RunEfficientCTOPortfolio.cs 12 Feb 2005 19:16:46 -0000 1.12 --- RunEfficientCTOPortfolio.cs 15 Feb 2005 19:15:36 -0000 1.13 *************** *** 98,104 **** this.reportTable = new ReportTable( "Summary_Reports" ); this.startDateTime = new EndOfDayDateTime( ! new DateTime( 1999 , 1 , 1 ) , EndOfDaySpecificTime.FiveMinutesBeforeMarketClose ); this.endDateTime = new EndOfDayDateTime( ! new DateTime( 2004 , 10 , 31 ) , EndOfDaySpecificTime.OneHourAfterMarketClose ); //this.numIntervalDays = 3; } --- 98,104 ---- this.reportTable = new ReportTable( "Summary_Reports" ); this.startDateTime = new EndOfDayDateTime( ! new DateTime( 2004 , 1 , 1 ) , EndOfDaySpecificTime.FiveMinutesBeforeMarketClose ); this.endDateTime = new EndOfDayDateTime( ! new DateTime( 2004 , 1 , 10 ) , EndOfDaySpecificTime.OneHourAfterMarketClose ); //this.numIntervalDays = 3; } *************** *** 204,214 **** //report = new Report( this.account , this.historicalQuoteProvider ); //report.Show("CTO_Portfolio" , this.numIntervalDays , this.endDateTime , "^MIBTEL" ); ! ObjectArchiver.Archive(this.account, ! "C:\\Documents and Settings\\Marco\\Documenti\\ProgettiOpenSource\\Quant\\SavedAccounts\\OpenCloseScripts\\" + ! "From"+this.numberOfEligibleTickers + ! "LiqDays" + this.numDaysForLiquidity + "Portfolio" + ! this.numberOfTickersToBeChosen + "GenNum" + ! this.generationNumberForGeneticOptimizer + ! "PopSize" + this.populationSizeForGeneticOptimizer + ".qP"); } --- 204,221 ---- //report = new Report( this.account , this.historicalQuoteProvider ); //report.Show("CTO_Portfolio" , this.numIntervalDays , this.endDateTime , "^MIBTEL" ); ! string name = "From"+this.numberOfEligibleTickers + ! "LiqDays" + this.numDaysForLiquidity + "Portfolio" + ! this.numberOfTickersToBeChosen + "GenNum" + ! this.generationNumberForGeneticOptimizer + ! "PopSize" + this.populationSizeForGeneticOptimizer; ! AccountReport accountReport = this.account.CreateReport(name,1,this.endDateTime,"^MIBTEL", ! new HistoricalAdjustedQuoteProvider()); ! ObjectArchiver.Archive(accountReport, ! "C:\\Documents and Settings\\Marco\\Documenti\\ProgettiOpenSource\\Quant\\SavedReports\\OpenCloseScripts\\" + ! name + ".rep"); ! ! //ObjectArchiver.Archive(this.account, ! // "C:\\Documents and Settings\\Marco\\Documenti\\ProgettiOpenSource\\Quant\\SavedAccounts\\OpenCloseScripts\\" + ! // name + ".acc"); } |
|
From: Marco M. <mi...@us...> - 2005-02-15 19:14:03
|
Update of /cvsroot/quantproject/QuantProject/b91_QuantProject In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23621/b91_QuantProject Modified Files: Main.cs Log Message: It is now possible to load a serialized report (saved into a file) Index: Main.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b91_QuantProject/Main.cs,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Main.cs 12 Feb 2005 19:16:46 -0000 1.11 --- Main.cs 15 Feb 2005 19:13:42 -0000 1.12 *************** *** 62,65 **** --- 62,66 ---- private System.Windows.Forms.MenuItem menuItemShowReportFromAccount; private System.Windows.Forms.MenuItem menuItemRunReleasingMode; + private System.Windows.Forms.MenuItem menuItemShowSavedReport; /// <summary> /// Required designer variable. *************** *** 110,113 **** --- 111,115 ---- this.menuItemAccountViewer = new System.Windows.Forms.MenuItem(); this.menuItemShowReportFromAccount = new System.Windows.Forms.MenuItem(); + this.menuItemRunReleasingMode = new System.Windows.Forms.MenuItem(); this.menuItem13 = new System.Windows.Forms.MenuItem(); this.menuItem14 = new System.Windows.Forms.MenuItem(); *************** *** 119,123 **** this.menuItem6 = new System.Windows.Forms.MenuItem(); this.menuItem7 = new System.Windows.Forms.MenuItem(); ! this.menuItemRunReleasingMode = new System.Windows.Forms.MenuItem(); // // mainMenu1 --- 121,125 ---- this.menuItem6 = new System.Windows.Forms.MenuItem(); this.menuItem7 = new System.Windows.Forms.MenuItem(); ! this.menuItemShowSavedReport = new System.Windows.Forms.MenuItem(); // // mainMenu1 *************** *** 168,172 **** this.menuItemSavedTests.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemAccountViewer, ! this.menuItemShowReportFromAccount}); this.menuItemSavedTests.Text = "Saved Tests"; // --- 170,175 ---- this.menuItemSavedTests.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemAccountViewer, ! this.menuItemShowReportFromAccount, ! this.menuItemShowSavedReport}); this.menuItemSavedTests.Text = "Saved Tests"; // *************** *** 183,186 **** --- 186,195 ---- this.menuItemShowReportFromAccount.Click += new System.EventHandler(this.menuItemShowReportFromAccount_Click); // + // menuItemRunReleasingMode + // + this.menuItemRunReleasingMode.Index = 2; + this.menuItemRunReleasingMode.Text = "Run (releasing mode)"; + this.menuItemRunReleasingMode.Click += new System.EventHandler(this.menuItemRunReleasingMode_Click); + // // menuItem13 // *************** *** 231,239 **** this.menuItem7.Text = ""; // ! // menuItemRunReleasingMode // ! this.menuItemRunReleasingMode.Index = 2; ! this.menuItemRunReleasingMode.Text = "Run (releasing mode)"; ! this.menuItemRunReleasingMode.Click += new System.EventHandler(this.menuItemRunReleasingMode_Click); // // Principale --- 240,248 ---- this.menuItem7.Text = ""; // ! // menuItemShowSavedReport // ! this.menuItemShowSavedReport.Index = 2; ! this.menuItemShowSavedReport.Text = "Show saved report"; ! this.menuItemShowSavedReport.Click += new System.EventHandler(this.menuItemShowSavedReport_Click); // // Principale *************** *** 315,319 **** //new RunWalkForwardOneRank().Run(); // new RunEfficientCTCPorfolio().Run(); ! new RunOneRank().Run(); // } // catch ( Exception ex ) --- 324,329 ---- //new RunWalkForwardOneRank().Run(); // new RunEfficientCTCPorfolio().Run(); ! //new RunOneRank().Run(); ! new RunEfficientCTOPorfolio("STOCKMI",70,5,30,2,1000).Run(); // } // catch ( Exception ex ) *************** *** 331,338 **** } ! private string getPath() { OpenFileDialog openFileDialog = new OpenFileDialog(); ! openFileDialog.Title = "Select a serialized account please ..."; openFileDialog.Multiselect = false; openFileDialog.CheckFileExists = true; --- 341,348 ---- } ! private string getPath(string dialogTitle) { OpenFileDialog openFileDialog = new OpenFileDialog(); ! openFileDialog.Title = dialogTitle; openFileDialog.Multiselect = false; openFileDialog.CheckFileExists = true; *************** *** 343,347 **** private void menuItemShowReportFromAccount_Click(object sender, System.EventArgs e) { ! string chosenPath = this.getPath(); if(chosenPath != "") ShowReportFromFile.ShowReportFromSerializedAccount(chosenPath); --- 353,357 ---- private void menuItemShowReportFromAccount_Click(object sender, System.EventArgs e) { ! string chosenPath = this.getPath("Select a serialized account please ..."); if(chosenPath != "") ShowReportFromFile.ShowReportFromSerializedAccount(chosenPath); *************** *** 357,362 **** //new RunWalkForwardOneRank().Run(); //new RunEfficientCTCPorfolio().Run(); ! new RunEfficientCTOPorfolio("STOCKMI",100,5,30,10,2500).Run(); ! new RunEfficientCTOPorfolio("STOCKMI",100,5,60,10,2500).Run(); //new RunEfficientCTOPorfolio("STOCKMI",100,5,5,1000).Run(); //new RunEfficientCTOPorfolio("STOCKMI",70,5,10,2500).Run(); --- 367,373 ---- //new RunWalkForwardOneRank().Run(); //new RunEfficientCTCPorfolio().Run(); ! ! //new RunEfficientCTOPorfolio("STOCKMI",100,5,30,10,2500).Run(); ! //new RunEfficientCTOPorfolio("STOCKMI",100,5,60,10,2500).Run(); //new RunEfficientCTOPorfolio("STOCKMI",100,5,5,1000).Run(); //new RunEfficientCTOPorfolio("STOCKMI",70,5,10,2500).Run(); *************** *** 375,378 **** --- 386,396 ---- } + private void menuItemShowSavedReport_Click(object sender, System.EventArgs e) + { + string chosenPath = this.getPath("Select a serialized report please ..."); + if(chosenPath != "") + ShowReportFromFile.ShowReportFromSerializedAccountReport(chosenPath); + } + |
|
From: Marco M. <mi...@us...> - 2005-02-15 19:13:52
|
Update of /cvsroot/quantproject/QuantProject/b7_Scripts/CallingReportsForRunScripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23621/b7_Scripts/CallingReportsForRunScripts Modified Files: ShowReportFromFile.cs Log Message: It is now possible to load a serialized report (saved into a file) Index: ShowReportFromFile.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/CallingReportsForRunScripts/ShowReportFromFile.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ShowReportFromFile.cs 12 Feb 2005 19:13:50 -0000 1.2 --- ShowReportFromFile.cs 15 Feb 2005 19:13:41 -0000 1.3 *************** *** 62,67 **** AccountReport accountReport = (AccountReport)ObjectArchiver.Extract(serializedAccountReportFullPath); ! ///TODO: ... ! } catch(System.Exception ex) --- 62,67 ---- AccountReport accountReport = (AccountReport)ObjectArchiver.Extract(serializedAccountReportFullPath); ! Report report = new Report(accountReport); ! report.Show(); } catch(System.Exception ex) |
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22232/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows Modified Files: AnnualSystemPercentageReturn.cs AverageLongTradePercentageReturn.cs AverageShortTradePercentageReturn.cs AverageTradePercentageReturn.cs BuyAndHoldPercentageReturn.cs LargestLosingTradePercentage.cs LargestWinningTradePercentage.cs MaxEquityDrawDown.cs NumberWinningLongTrades.cs NumberWinningShortTrades.cs NumberWinningTrades.cs ReturnOnAccount.cs SummaryRow.cs TotalCommissionAmount.cs TotalNetProfit.cs TotalNumberOfLongTrades.cs TotalNumberOfShortTrades.cs TotalNumberOfTrades.cs Log Message: Added serializable attribute (to Glauco: remember next time to add this attribute! ) Index: AverageLongTradePercentageReturn.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/AverageLongTradePercentageReturn.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AverageLongTradePercentageReturn.cs 16 Nov 2003 17:18:45 -0000 1.1 --- AverageLongTradePercentageReturn.cs 15 Feb 2005 19:09:02 -0000 1.2 *************** *** 10,14 **** /// Summary description for TotalNumberOfTrades. /// </summary> ! public class AverageLongTradePercentageReturn : SummaryRow { public AverageLongTradePercentageReturn( Summary summary ) --- 10,15 ---- /// Summary description for TotalNumberOfTrades. /// </summary> ! [Serializable] ! public class AverageLongTradePercentageReturn : SummaryRow { public AverageLongTradePercentageReturn( Summary summary ) Index: NumberWinningShortTrades.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/NumberWinningShortTrades.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NumberWinningShortTrades.cs 16 Nov 2003 17:18:45 -0000 1.1 --- NumberWinningShortTrades.cs 15 Feb 2005 19:09:03 -0000 1.2 *************** *** 10,14 **** /// Summary description for TotalNumberOfTrades. /// </summary> ! public class NumberWinningShortTrades : SummaryRow { public NumberWinningShortTrades( Summary summary ) --- 10,15 ---- /// Summary description for TotalNumberOfTrades. /// </summary> ! [Serializable] ! public class NumberWinningShortTrades : SummaryRow { public NumberWinningShortTrades( Summary summary ) Index: TotalNumberOfShortTrades.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/TotalNumberOfShortTrades.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TotalNumberOfShortTrades.cs 16 Nov 2003 17:18:45 -0000 1.1 --- TotalNumberOfShortTrades.cs 15 Feb 2005 19:09:04 -0000 1.2 *************** *** 10,14 **** /// Summary description for TotalNumberOfTrades. /// </summary> ! public class TotalNumberOfShortTrades : SummaryRow { public TotalNumberOfShortTrades( Summary summary ) --- 10,15 ---- /// Summary description for TotalNumberOfTrades. /// </summary> ! [Serializable] ! public class TotalNumberOfShortTrades : SummaryRow { public TotalNumberOfShortTrades( Summary summary ) Index: MaxEquityDrawDown.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/MaxEquityDrawDown.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MaxEquityDrawDown.cs 9 Nov 2003 19:44:40 -0000 1.1 --- MaxEquityDrawDown.cs 15 Feb 2005 19:09:03 -0000 1.2 *************** *** 8,12 **** /// Summary description for TotalNumberOfTrades. /// </summary> ! public class MaxEquityDrawDown : SummaryRow { private Summary summary; --- 8,13 ---- /// Summary description for TotalNumberOfTrades. /// </summary> ! [Serializable] ! public class MaxEquityDrawDown : SummaryRow { private Summary summary; Index: NumberWinningTrades.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/NumberWinningTrades.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NumberWinningTrades.cs 16 Nov 2003 17:18:45 -0000 1.1 --- NumberWinningTrades.cs 15 Feb 2005 19:09:04 -0000 1.2 *************** *** 10,14 **** /// Summary description for TotalNumberOfTrades. /// </summary> ! public class NumberWinningTrades : SummaryRow { public NumberWinningTrades( Summary summary ) --- 10,15 ---- /// Summary description for TotalNumberOfTrades. /// </summary> ! [Serializable] ! public class NumberWinningTrades : SummaryRow { public NumberWinningTrades( Summary summary ) Index: AnnualSystemPercentageReturn.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/AnnualSystemPercentageReturn.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AnnualSystemPercentageReturn.cs 28 Nov 2003 15:49:31 -0000 1.2 --- AnnualSystemPercentageReturn.cs 15 Feb 2005 19:09:02 -0000 1.3 *************** *** 10,13 **** --- 10,14 ---- /// Summary description for TotalNumberOfTrades. /// </summary> + [Serializable] public class AnnualSystemPercentageReturn : SummaryRow { Index: ReturnOnAccount.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/ReturnOnAccount.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ReturnOnAccount.cs 28 Nov 2003 16:12:06 -0000 1.2 --- ReturnOnAccount.cs 15 Feb 2005 19:09:04 -0000 1.3 *************** *** 8,12 **** /// Summary description for TotalNumberOfTrades. /// </summary> ! public class ReturnOnAccount : SummaryRow { public ReturnOnAccount( Summary summary ) --- 8,13 ---- /// Summary description for TotalNumberOfTrades. /// </summary> ! [Serializable] ! public class ReturnOnAccount : SummaryRow { public ReturnOnAccount( Summary summary ) Index: NumberWinningLongTrades.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/NumberWinningLongTrades.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NumberWinningLongTrades.cs 16 Nov 2003 17:18:45 -0000 1.1 --- NumberWinningLongTrades.cs 15 Feb 2005 19:09:03 -0000 1.2 *************** *** 10,14 **** /// Summary description for TotalNumberOfTrades. /// </summary> ! public class NumberWinningLongTrades : SummaryRow { public NumberWinningLongTrades( Summary summary ) --- 10,15 ---- /// Summary description for TotalNumberOfTrades. /// </summary> ! [Serializable] ! public class NumberWinningLongTrades : SummaryRow { public NumberWinningLongTrades( Summary summary ) Index: LargestWinningTradePercentage.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/LargestWinningTradePercentage.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** LargestWinningTradePercentage.cs 16 Nov 2003 17:18:45 -0000 1.1 --- LargestWinningTradePercentage.cs 15 Feb 2005 19:09:03 -0000 1.2 *************** *** 10,14 **** /// Summary description for TotalNumberOfTrades. /// </summary> ! public class LargestWinningTradePercentage : SummaryRow { public LargestWinningTradePercentage( Summary summary ) --- 10,15 ---- /// Summary description for TotalNumberOfTrades. /// </summary> ! [Serializable] ! public class LargestWinningTradePercentage : SummaryRow { public LargestWinningTradePercentage( Summary summary ) Index: TotalNumberOfTrades.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/TotalNumberOfTrades.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TotalNumberOfTrades.cs 9 Nov 2003 19:46:38 -0000 1.1 --- TotalNumberOfTrades.cs 15 Feb 2005 19:09:04 -0000 1.2 *************** *** 8,12 **** /// Summary description for TotalNumberOfTrades. /// </summary> ! public class TotalNumberOfTrades : SummaryRow { public TotalNumberOfTrades( Summary summary ) --- 8,13 ---- /// Summary description for TotalNumberOfTrades. /// </summary> ! [Serializable] ! public class TotalNumberOfTrades : SummaryRow { public TotalNumberOfTrades( Summary summary ) Index: SummaryRow.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/SummaryRow.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SummaryRow.cs 9 Nov 2003 19:43:01 -0000 1.1 --- SummaryRow.cs 15 Feb 2005 19:09:04 -0000 1.2 *************** *** 6,9 **** --- 6,10 ---- /// Summary description for SummaryRow. /// </summary> + [Serializable] public class SummaryRow { Index: TotalNetProfit.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/TotalNetProfit.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TotalNetProfit.cs 10 Nov 2003 21:36:36 -0000 1.1 --- TotalNetProfit.cs 15 Feb 2005 19:09:04 -0000 1.2 *************** *** 8,12 **** /// Summary description for TotalNumberOfTrades. /// </summary> ! public class TotalNetProfit : SummaryRow { public TotalNetProfit( Summary summary ) --- 8,13 ---- /// Summary description for TotalNumberOfTrades. /// </summary> ! [Serializable] ! public class TotalNetProfit : SummaryRow { public TotalNetProfit( Summary summary ) Index: TotalCommissionAmount.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/TotalCommissionAmount.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TotalCommissionAmount.cs 13 Feb 2005 21:00:49 -0000 1.1 --- TotalCommissionAmount.cs 15 Feb 2005 19:09:04 -0000 1.2 *************** *** 11,15 **** /// commission amount. /// </summary> ! public class TotalCommissionAmount : SummaryRow { public TotalCommissionAmount( Summary summary ) --- 11,16 ---- /// commission amount. /// </summary> ! [Serializable] ! public class TotalCommissionAmount : SummaryRow { public TotalCommissionAmount( Summary summary ) Index: TotalNumberOfLongTrades.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/TotalNumberOfLongTrades.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TotalNumberOfLongTrades.cs 16 Nov 2003 17:18:45 -0000 1.1 --- TotalNumberOfLongTrades.cs 15 Feb 2005 19:09:04 -0000 1.2 *************** *** 10,14 **** /// Summary description for TotalNumberOfTrades. /// </summary> ! public class TotalNumberOfLongTrades : SummaryRow { public TotalNumberOfLongTrades( Summary summary ) --- 10,15 ---- /// Summary description for TotalNumberOfTrades. /// </summary> ! [Serializable] ! public class TotalNumberOfLongTrades : SummaryRow { public TotalNumberOfLongTrades( Summary summary ) Index: AverageTradePercentageReturn.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/AverageTradePercentageReturn.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AverageTradePercentageReturn.cs 16 Nov 2003 17:18:45 -0000 1.1 --- AverageTradePercentageReturn.cs 15 Feb 2005 19:09:02 -0000 1.2 *************** *** 10,14 **** /// Summary description for TotalNumberOfTrades. /// </summary> ! public class AverageTradePercentageReturn : SummaryRow { public AverageTradePercentageReturn( Summary summary ) --- 10,15 ---- /// Summary description for TotalNumberOfTrades. /// </summary> ! [Serializable] ! public class AverageTradePercentageReturn : SummaryRow { public AverageTradePercentageReturn( Summary summary ) Index: AverageShortTradePercentageReturn.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/AverageShortTradePercentageReturn.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AverageShortTradePercentageReturn.cs 16 Nov 2003 17:18:45 -0000 1.1 --- AverageShortTradePercentageReturn.cs 15 Feb 2005 19:09:02 -0000 1.2 *************** *** 10,14 **** /// Summary description for TotalNumberOfTrades. /// </summary> ! public class AverageShortTradePercentageReturn : SummaryRow { public AverageShortTradePercentageReturn( Summary summary ) --- 10,15 ---- /// Summary description for TotalNumberOfTrades. /// </summary> ! [Serializable] ! public class AverageShortTradePercentageReturn : SummaryRow { public AverageShortTradePercentageReturn( Summary summary ) Index: LargestLosingTradePercentage.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/LargestLosingTradePercentage.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** LargestLosingTradePercentage.cs 16 Nov 2003 17:18:45 -0000 1.1 --- LargestLosingTradePercentage.cs 15 Feb 2005 19:09:03 -0000 1.2 *************** *** 10,14 **** /// Summary description for TotalNumberOfTrades. /// </summary> ! public class LargestLosingTradePercentage : SummaryRow { public LargestLosingTradePercentage( Summary summary ) --- 10,15 ---- /// Summary description for TotalNumberOfTrades. /// </summary> ! [Serializable] ! public class LargestLosingTradePercentage : SummaryRow { public LargestLosingTradePercentage( Summary summary ) Index: BuyAndHoldPercentageReturn.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows/BuyAndHoldPercentageReturn.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** BuyAndHoldPercentageReturn.cs 9 Jan 2005 22:14:36 -0000 1.3 --- BuyAndHoldPercentageReturn.cs 15 Feb 2005 19:09:03 -0000 1.4 *************** *** 12,16 **** /// Summary description for TotalNumberOfTrades. /// </summary> ! public class BuyAndHoldPercentageReturn : SummaryRow { public BuyAndHoldPercentageReturn( Summary summary , --- 12,17 ---- /// Summary description for TotalNumberOfTrades. /// </summary> ! [Serializable] ! public class BuyAndHoldPercentageReturn : SummaryRow { public BuyAndHoldPercentageReturn( Summary summary , |
|
From: Marco M. <mi...@us...> - 2005-02-15 19:10:04
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/Commissions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22232/b4_Business/a1_Financial/a2_Accounting/Commissions Modified Files: IBCommission.cs IBCommissionManager.cs ZeroCommission.cs ZeroCommissionManager.cs Log Message: Added serializable attribute (to Glauco: remember next time to add this attribute! ) Index: IBCommissionManager.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/Commissions/IBCommissionManager.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** IBCommissionManager.cs 13 Feb 2005 21:09:23 -0000 1.2 --- IBCommissionManager.cs 15 Feb 2005 19:09:01 -0000 1.3 *************** *** 28,32 **** /// A sample Commission Manager /// </summary> ! public class IBCommissionManager : ICommissionManager { public IBCommissionManager() --- 28,33 ---- /// A sample Commission Manager /// </summary> ! [Serializable] ! public class IBCommissionManager : ICommissionManager { public IBCommissionManager() Index: ZeroCommission.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/Commissions/ZeroCommission.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ZeroCommission.cs 13 Feb 2005 20:57:52 -0000 1.1 --- ZeroCommission.cs 15 Feb 2005 19:09:02 -0000 1.2 *************** *** 29,33 **** /// used by an Account if no ICommissionManager is specified /// </summary> ! public class ZeroCommission : Commission { public override double Value --- 29,34 ---- /// used by an Account if no ICommissionManager is specified /// </summary> ! [Serializable] ! public class ZeroCommission : Commission { public override double Value Index: ZeroCommissionManager.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/Commissions/ZeroCommissionManager.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ZeroCommissionManager.cs 13 Feb 2005 20:59:01 -0000 1.1 --- ZeroCommissionManager.cs 15 Feb 2005 19:09:02 -0000 1.2 *************** *** 30,34 **** /// if no ICommissionManager is specified. /// </summary> ! public class ZeroCommissionManager : ICommissionManager { public ZeroCommissionManager() --- 30,35 ---- /// if no ICommissionManager is specified. /// </summary> ! [Serializable] ! public class ZeroCommissionManager : ICommissionManager { public ZeroCommissionManager() Index: IBCommission.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/Commissions/IBCommission.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** IBCommission.cs 13 Feb 2005 21:08:39 -0000 1.2 --- IBCommission.cs 15 Feb 2005 19:09:01 -0000 1.3 *************** *** 28,32 **** /// A sample Commission /// </summary> ! public class IBCommission : Commission { public override double Value --- 28,33 ---- /// A sample Commission /// </summary> ! [Serializable] ! public class IBCommission : Commission { public override double Value |
|
From: Marco M. <mi...@us...> - 2005-02-15 19:10:02
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22232/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables Modified Files: Equity.cs RoundTrades.cs Summary.cs Transactions.cs Log Message: Added serializable attribute (to Glauco: remember next time to add this attribute! ) Index: Summary.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables/Summary.cs,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Summary.cs 13 Feb 2005 21:05:21 -0000 1.11 --- Summary.cs 15 Feb 2005 19:09:05 -0000 1.12 *************** *** 12,15 **** --- 12,16 ---- /// Summary description for Summary. /// </summary> + [Serializable] public class Summary : ReportTable { Index: Equity.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables/Equity.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Equity.cs 1 Aug 2004 00:30:47 -0000 1.2 --- Equity.cs 15 Feb 2005 19:09:04 -0000 1.3 *************** *** 8,12 **** /// Summary description for Equity. /// </summary> ! public class Equity : ReportTable { public static string Date = "Date"; --- 8,13 ---- /// Summary description for Equity. /// </summary> ! [Serializable] ! public class Equity : ReportTable { public static string Date = "Date"; Index: RoundTrades.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables/RoundTrades.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RoundTrades.cs 8 Nov 2003 20:57:16 -0000 1.1 --- RoundTrades.cs 15 Feb 2005 19:09:05 -0000 1.2 *************** *** 8,12 **** /// Summary description for RoundTrades. /// </summary> ! public class RoundTrades : ReportTable { private ReportTable transactionTable; --- 8,13 ---- /// Summary description for RoundTrades. /// </summary> ! [Serializable] ! public class RoundTrades : ReportTable { private ReportTable transactionTable; Index: Transactions.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables/Transactions.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Transactions.cs 13 Feb 2005 21:02:17 -0000 1.2 --- Transactions.cs 15 Feb 2005 19:09:05 -0000 1.3 *************** *** 8,12 **** /// Summary description for Transactions. /// </summary> ! public class Transactions : ReportTable { public Transactions( string reportName , DataTable detailedDataTable ) : --- 8,13 ---- /// Summary description for Transactions. /// </summary> ! [Serializable] ! public class Transactions : ReportTable { public Transactions( string reportName , DataTable detailedDataTable ) : |
|
From: Marco M. <mi...@us...> - 2005-02-15 19:09:53
|
Update of /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22232/b5_Presentation/Reporting/WindowsForm Modified Files: Report.cs Log Message: Added serializable attribute (to Glauco: remember next time to add this attribute! ) Index: Report.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm/Report.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Report.cs 13 Feb 2005 12:15:42 -0000 1.7 --- Report.cs 15 Feb 2005 19:09:05 -0000 1.8 *************** *** 80,83 **** --- 80,90 ---- base.ShowDialog(); } + public new void Show() + { + if(this.accountReport != null) + this.show_populateForm(); + + base.ShowDialog(); + } /// <summary> /// Clears the existing account report, so that a new one can be created |
|
From: Glauco S. <gla...@us...> - 2005-02-13 21:17:11
|
Update of /cvsroot/quantproject/QuantProject In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27845 Modified Files: QuantProject.suo Log Message: Complete commission handling and reporting is available now. Index: QuantProject.suo =================================================================== RCS file: /cvsroot/quantproject/QuantProject/QuantProject.suo,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 Binary files /tmp/cvsvVmHz4 and /tmp/cvsgCUlZP differ |
|
From: Glauco S. <gla...@us...> - 2005-02-13 21:16:24
|
Update of /cvsroot/quantproject/QuantProject/b4_Business In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27475/b4_Business Modified Files: b4_Business.csproj Log Message: - ZeroCommission.cs has been added - ZeroCommissionManager.cs has been added - h5_Reporting\SummaryRows\TotalCommissionAmount.cs has been added Index: b4_Business.csproj =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/b4_Business.csproj,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** b4_Business.csproj 13 Feb 2005 00:46:39 -0000 1.20 --- b4_Business.csproj 13 Feb 2005 21:16:13 -0000 1.21 *************** *** 318,321 **** --- 318,331 ---- /> <File + RelPath = "a1_Financial\a2_Accounting\Commissions\ZeroCommission.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "a1_Financial\a2_Accounting\Commissions\ZeroCommissionManager.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "a1_Financial\a2_Accounting\h5_Reporting\AccountReport.cs" SubType = "Code" *************** *** 393,396 **** --- 403,411 ---- /> <File + RelPath = "a1_Financial\a2_Accounting\h5_Reporting\SummaryRows\TotalCommissionAmount.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "a1_Financial\a2_Accounting\h5_Reporting\SummaryRows\TotalNetProfit.cs" SubType = "Code" |
|
From: Glauco S. <gla...@us...> - 2005-02-13 21:12:30
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25793/b4_Business/a1_Financial/a2_Accounting Modified Files: Account.cs Log Message: The ZeroCommissionManager is used if no other ICommissionManager is specified. Index: Account.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/Account.cs,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Account.cs 13 Feb 2005 00:49:14 -0000 1.15 --- Account.cs 13 Feb 2005 21:12:21 -0000 1.16 *************** *** 124,127 **** --- 124,128 ---- { this.initialize( endOfDayTimer , dataStreamer , orderExecutor ); + this.commissionManager = new ZeroCommissionManager(); this.initialize(); } |
|
From: Glauco S. <gla...@us...> - 2005-02-13 21:11:28
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25388/b4_Business/a1_Financial/a2_Accounting/h5_Reporting Modified Files: AccountReport.cs Log Message: Detailed commissions have been added to the report. Index: AccountReport.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/AccountReport.cs,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** AccountReport.cs 30 Jan 2005 19:57:38 -0000 1.10 --- AccountReport.cs 13 Feb 2005 21:11:19 -0000 1.11 *************** *** 125,130 **** transactions.Columns.Add( "Quantity" , Type.GetType( "System.Int32" ) ); transactions.Columns.Add( "Price" , Type.GetType( "System.Double" ) ); ! transactions.Columns.Add( "TransactionAmount" , Type.GetType( "System.Double" ) ); ! transactions.Columns.Add( "AccountCash" , Type.GetType( "System.Double" ) ); transactions.Columns.Add( "PortfolioValue" , Type.GetType( "System.Double" ) ); transactions.Columns.Add( "AccountValue" , Type.GetType( "System.Double" ) ); --- 125,131 ---- transactions.Columns.Add( "Quantity" , Type.GetType( "System.Int32" ) ); transactions.Columns.Add( "Price" , Type.GetType( "System.Double" ) ); ! transactions.Columns.Add( "TransactionAmount" , Type.GetType( "System.Double" ) ); ! transactions.Columns.Add( "Commission" , Type.GetType( "System.Double" ) ); ! transactions.Columns.Add( "AccountCash" , Type.GetType( "System.Double" ) ); transactions.Columns.Add( "PortfolioValue" , Type.GetType( "System.Double" ) ); transactions.Columns.Add( "AccountValue" , Type.GetType( "System.Double" ) ); *************** *** 156,161 **** dataRow[ "Quantity" ] = transaction.Quantity; dataRow[ "Price" ] = transaction.InstrumentPrice; ! dataRow[ "TransactionAmount" ] = transaction.InstrumentPrice * transaction.Quantity; ! addBalanceItems( transaction.EndOfDayDateTime , dataRow ); detailedDataTable.Rows.Add( dataRow ); } --- 157,164 ---- dataRow[ "Quantity" ] = transaction.Quantity; dataRow[ "Price" ] = transaction.InstrumentPrice; ! dataRow[ "TransactionAmount" ] = transaction.InstrumentPrice * transaction.Quantity; ! if ( transaction.Commission != null ) ! dataRow[ "Commission" ] = transaction.Commission.Value; ! addBalanceItems( transaction.EndOfDayDateTime , dataRow ); detailedDataTable.Rows.Add( dataRow ); } |
|
From: Glauco S. <gla...@us...> - 2005-02-13 21:09:32
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/Commissions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24482/b4_Business/a1_Financial/a2_Accounting/Commissions Modified Files: IBCommissionManager.cs Log Message: Beginning comment has been fixed. Index: IBCommissionManager.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/Commissions/IBCommissionManager.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** IBCommissionManager.cs 13 Feb 2005 00:42:22 -0000 1.1 --- IBCommissionManager.cs 13 Feb 2005 21:09:23 -0000 1.2 *************** *** 2,6 **** QuantProject - Quantitative Finance Library ! ICCommissionManager.cs Copyright (C) 2003 Glauco Siliprandi --- 2,6 ---- QuantProject - Quantitative Finance Library ! IBCommissionManager.cs Copyright (C) 2003 Glauco Siliprandi |
|
From: Glauco S. <gla...@us...> - 2005-02-13 21:08:48
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/Commissions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24109/b4_Business/a1_Financial/a2_Accounting/Commissions Modified Files: IBCommission.cs Log Message: Fixed to handle AddCash transactions and WithDraw transactions. Index: IBCommission.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/Commissions/IBCommission.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** IBCommission.cs 13 Feb 2005 00:42:58 -0000 1.1 --- IBCommission.cs 13 Feb 2005 21:08:39 -0000 1.2 *************** *** 34,39 **** get { ! double returnValue = this.transaction.Quantity * 0.01; ! return Math.Max( returnValue , 1.0 ); } } --- 34,47 ---- get { ! double returnValue; ! if ( ( this.transaction.Type == TransactionType.AddCash ) || ! ( this.transaction.Type == TransactionType.Withdraw ) ) ! returnValue = 0; ! else ! { ! returnValue = this.transaction.Quantity * 0.01; ! returnValue = Math.Max( returnValue , 1.0 ); ! } ! return returnValue; } } |
|
From: Glauco S. <gla...@us...> - 2005-02-13 21:06:51
|
Update of /cvsroot/quantproject/QuantProject/b7_Scripts/SimpleTesting/OneRank In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23314/b7_Scripts/SimpleTesting/OneRank Modified Files: RunOneRank.cs Log Message: Script has been modified to test commissions. Index: RunOneRank.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/SimpleTesting/OneRank/RunOneRank.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** RunOneRank.cs 13 Feb 2005 00:51:05 -0000 1.7 --- RunOneRank.cs 13 Feb 2005 21:06:42 -0000 1.8 *************** *** 59,62 **** --- 59,67 ---- this.historicalQuoteProvider ) , new IBCommissionManager() ); + // this.account = new Account( "MSFT" , historicalEndOfDayTimer , + // new HistoricalEndOfDayDataStreamer( historicalEndOfDayTimer , + // this.historicalQuoteProvider ) , + // new HistoricalEndOfDayOrderExecutor( historicalEndOfDayTimer , + // this.historicalQuoteProvider ) ); OneRank oneRank = new OneRank( account , this.endDateTime ); |
|
From: Glauco S. <gla...@us...> - 2005-02-13 21:05:29
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22767/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables Modified Files: Summary.cs Log Message: Commissions have been added to the report Summary. Index: Summary.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables/Summary.cs,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Summary.cs 9 Jan 2005 23:47:31 -0000 1.10 --- Summary.cs 13 Feb 2005 21:05:21 -0000 1.11 *************** *** 31,34 **** --- 31,35 ---- private TotalNumberOfLongTrades totalNumberOfLongTrades; private TotalNumberOfShortTrades totalNumberOfShortTrades; + private TotalCommissionAmount totalCommissionAmount; public AccountReport AccountReport { *************** *** 99,102 **** --- 100,108 ---- } + public double TotalCommissionAmount + { + get { return (double)this.totalCommissionAmount.rowValue; } + } + private void summary( AccountReport accountReport ) *************** *** 162,167 **** getSummary_setRow( this.totalNumberOfShortTrades , summaryDataTable ); this.numberWinningShortTrades = new NumberWinningShortTrades( this ); ! getSummary_setRow( this.numberWinningShortTrades , summaryDataTable ); ! // getSummary_setRow( summaryDataTable , // new getSummaryTable_setRow( getSummaryTable_setRow_TotalNumberOfShortTrades ) ); // getSummary_setRow( summaryDataTable , --- 168,175 ---- getSummary_setRow( this.totalNumberOfShortTrades , summaryDataTable ); this.numberWinningShortTrades = new NumberWinningShortTrades( this ); ! getSummary_setRow( this.numberWinningShortTrades , summaryDataTable ); ! this.totalCommissionAmount = new TotalCommissionAmount( this ); ! getSummary_setRow( this.totalCommissionAmount , summaryDataTable ); ! // getSummary_setRow( summaryDataTable , // new getSummaryTable_setRow( getSummaryTable_setRow_TotalNumberOfShortTrades ) ); // getSummary_setRow( summaryDataTable , |
|
From: Glauco S. <gla...@us...> - 2005-02-13 21:03:25
|
Update of /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21998/b5_Presentation/Reporting/WindowsForm Modified Files: SummaryTabPage.cs Log Message: Commissions have been added to the report Summary. Index: SummaryTabPage.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm/SummaryTabPage.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SummaryTabPage.cs 6 Aug 2004 13:48:35 -0000 1.2 --- SummaryTabPage.cs 13 Feb 2005 21:03:16 -0000 1.3 *************** *** 38,42 **** private int xForLabels = 17; private int textLabelsWidth = 180; ! private int valueLablesWidth = 50; private int textToValueLabelSpacing = 8; private int valueToTextLabelSpacing = 50; --- 38,42 ---- private int xForLabels = 17; private int textLabelsWidth = 180; ! private int valueLablesWidth = 60; private int textToValueLabelSpacing = 8; private int valueToTextLabelSpacing = 50; *************** *** 52,55 **** --- 52,57 ---- private System.Windows.Forms.Label lblMaxEquityDrawDown; private System.Windows.Forms.Label lblValMaxEquityDrawDown; + private System.Windows.Forms.Label lblTotalCommission; + private System.Windows.Forms.Label lblValTotalCommission; private System.Windows.Forms.Label lblTotalNumberOfTrades; private System.Windows.Forms.Label lblValTotalNumberOfTrades; *************** *** 131,134 **** --- 133,138 ---- this.lblMaxEquityDrawDown = new System.Windows.Forms.Label(); this.lblValMaxEquityDrawDown = new System.Windows.Forms.Label(); + this.lblTotalCommission = new System.Windows.Forms.Label(); + this.lblValTotalCommission = new System.Windows.Forms.Label(); this.lblTotalNumberOfTrades = new System.Windows.Forms.Label(); this.lblValTotalNumberOfTrades = new System.Windows.Forms.Label(); *************** *** 191,195 **** // this.addTextLabel( lblMaxEquityDrawDown , "lblMaxEquityDrawDown" , ! "Max equity drawydown (%):" ); // // lblValMaxEquityDrawDown --- 195,199 ---- // this.addTextLabel( lblMaxEquityDrawDown , "lblMaxEquityDrawDown" , ! "Max equity drawdown (%):" ); // // lblValMaxEquityDrawDown *************** *** 197,200 **** --- 201,213 ---- this.addValueLabel( lblValMaxEquityDrawDown , "lblValMaxEquityDrawDown" ); // + // lblTotalCommission + // + this.addTextLabel( this.lblTotalCommission , "lblTotalCommission" , + "Total Commission Amount:" ); + // + // lblValTotalCommission + // + this.addValueLabel( this.lblValTotalCommission , "lblValTotalCommission" ); + // // lblTotalNumberOfTrades // *************** *** 300,303 **** --- 313,318 ---- this.lblValMaxEquityDrawDown.Text = FormatProvider.ConvertToStringWithTwoDecimals( this.accountReport.Summary.MaxEquityDrawDown ); + this.lblValTotalCommission.Text = + FormatProvider.ConvertToStringWithTwoDecimals( this.accountReport.Summary.TotalCommissionAmount ); this.lblValTotalNumberOfTrades.Text = FormatProvider.ConvertToStringWithTwoDecimals( this.accountReport.Summary.TotalNumberOfTrades ); |
|
From: Glauco S. <gla...@us...> - 2005-02-13 21:02:27
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21564/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables Modified Files: Transactions.cs Log Message: Commissions have been added to the report. Index: Transactions.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/Tables/Transactions.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Transactions.cs 8 Nov 2003 20:58:47 -0000 1.1 --- Transactions.cs 13 Feb 2005 21:02:17 -0000 1.2 *************** *** 24,29 **** transactionsDataTable.Columns.Add( "Quantity" , Type.GetType( "System.Int32" ) ); transactionsDataTable.Columns.Add( "Price" , Type.GetType( "System.Double" ) ); ! transactionsDataTable.Columns.Add( "TransactionAmount" , Type.GetType( "System.Double" ) ); ! transactionsDataTable.Columns.Add( "AccountCash" , Type.GetType( "System.Double" ) ); transactionsDataTable.Columns.Add( "PortfolioValue" , Type.GetType( "System.Double" ) ); transactionsDataTable.Columns.Add( "AccountValue" , Type.GetType( "System.Double" ) ); --- 24,30 ---- transactionsDataTable.Columns.Add( "Quantity" , Type.GetType( "System.Int32" ) ); transactionsDataTable.Columns.Add( "Price" , Type.GetType( "System.Double" ) ); ! transactionsDataTable.Columns.Add( "TransactionAmount" , Type.GetType( "System.Double" ) ); ! transactionsDataTable.Columns.Add( "Commission" , Type.GetType( "System.Double" ) ); ! transactionsDataTable.Columns.Add( "AccountCash" , Type.GetType( "System.Double" ) ); transactionsDataTable.Columns.Add( "PortfolioValue" , Type.GetType( "System.Double" ) ); transactionsDataTable.Columns.Add( "AccountValue" , Type.GetType( "System.Double" ) ); *************** *** 44,49 **** dataRow[ "Quantity" ] = detailedRow[ "Quantity" ]; dataRow[ "Price" ] = detailedRow[ "Price" ]; ! dataRow[ "TransactionAmount" ] = detailedRow[ "TransactionAmount" ]; ! dataRow[ "AccountCash" ] = detailedRow[ "AccountCash" ]; dataRow[ "PortfolioValue" ] = detailedRow[ "PortfolioValue" ]; dataRow[ "AccountValue" ] = detailedRow[ "AccountValue" ]; --- 45,51 ---- dataRow[ "Quantity" ] = detailedRow[ "Quantity" ]; dataRow[ "Price" ] = detailedRow[ "Price" ]; ! dataRow[ "TransactionAmount" ] = detailedRow[ "TransactionAmount" ]; ! dataRow[ "Commission" ] = detailedRow[ "Commission" ]; ! dataRow[ "AccountCash" ] = detailedRow[ "AccountCash" ]; dataRow[ "PortfolioValue" ] = detailedRow[ "PortfolioValue" ]; dataRow[ "AccountValue" ] = detailedRow[ "AccountValue" ]; |
|
From: Glauco S. <gla...@us...> - 2005-02-13 21:00:58
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20904/b4_Business/a1_Financial/a2_Accounting/h5_Reporting/SummaryRows Added Files: TotalCommissionAmount.cs Log Message: Account report Summary Row, containing the total commission amount. --- NEW FILE: TotalCommissionAmount.cs --- using System; using System.Data; using QuantProject.ADT; using QuantProject.Business.Financial.Accounting.Reporting.Tables; using QuantProject.Business.Financial.Instruments; namespace QuantProject.Business.Financial.Accounting.Reporting.SummaryRows { /// <summary> /// Account report Summary Row, containing the total /// commission amount. /// </summary> public class TotalCommissionAmount : SummaryRow { public TotalCommissionAmount( Summary summary ) { this.rowDescription = "Total commission amount"; double avgReturn = (double) summary.AccountReport.TransactionTable.DataTable.Compute( "sum([Commission])" , "true" ); this.rowValue = avgReturn; } } } |
|
From: Glauco S. <gla...@us...> - 2005-02-13 20:59:09
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/Commissions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20094/b4_Business/a1_Financial/a2_Accounting/Commissions Added Files: ZeroCommissionManager.cs Log Message: Commission Manager for Zero value commissions. This is the commission manager used by an Account if no ICommissionManager is specified. --- NEW FILE: ZeroCommissionManager.cs --- /* QuantProject - Quantitative Finance Library ZeroCommissionManager.cs Copyright (C) 2003 Glauco Siliprandi This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ using System; namespace QuantProject.Business.Financial.Accounting.Commissions { /// <summary> /// Commission Manager for Zero value commissions. /// This is the commission manager used by an Account /// if no ICommissionManager is specified. /// </summary> public class ZeroCommissionManager : ICommissionManager { public ZeroCommissionManager() { } public Commission GetCommission( Transaction transaction ) { return new ZeroCommission( transaction ); } } } |
|
From: Glauco S. <gla...@us...> - 2005-02-13 20:58:03
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/Commissions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19530/b4_Business/a1_Financial/a2_Accounting/Commissions Added Files: ZeroCommission.cs Log Message: Zero value commission. This is the commission used by an Account if no ICommissionManager is specified. --- NEW FILE: ZeroCommission.cs --- /* QuantProject - Quantitative Finance Library ZeroCommission.cs Copyright (C) 2003 Glauco Siliprandi This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ using System; namespace QuantProject.Business.Financial.Accounting.Commissions { /// <summary> /// Zero value commission. This is the commission /// used by an Account if no ICommissionManager is specified /// </summary> public class ZeroCommission : Commission { public override double Value { get { return 0.0; } } public ZeroCommission( Transaction transaction ) : base( transaction ) { } } } |
|
From: Glauco S. <gla...@us...> - 2005-02-13 12:15:52
|
Update of /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5238/b5_Presentation/Reporting/WindowsForm Modified Files: Report.cs Log Message: - a new constructor has been added: it takes an AccountReport as argument - the Import method has been commented out Index: Report.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b5_Presentation/Reporting/WindowsForm/Report.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Report.cs 12 Feb 2005 19:10:18 -0000 1.6 --- Report.cs 13 Feb 2005 12:15:42 -0000 1.7 *************** *** 47,50 **** --- 47,55 ---- this.historicalQuoteProvider = historicalQuoteProvider; } + public Report( AccountReport accountReport ) + { + this.accountReport = accountReport; + this.account = this.accountReport.Account; + } /// <summary> *************** *** 82,93 **** this.accountReport = null; } ! ! /// <summary> ! /// Imports an existing account report ! /// </summary> ! public void Import(AccountReport accountReportToBeImported) ! { ! this.accountReport = accountReportToBeImported; ! } } } --- 87,98 ---- this.accountReport = null; } ! ! // /// <summary> ! // /// Imports an existing account report ! // /// </summary> ! // public void Import(AccountReport accountReportToBeImported) ! // { ! // this.accountReport = accountReportToBeImported; ! // } } } |
|
From: Marco M. <mi...@us...> - 2005-02-13 11:45:01
|
Update of /cvsroot/quantproject/QuantDownloader/Downloader/TickerSelectors In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25277/Downloader/TickerSelectors Modified Files: TickerViewer.cs Log Message: Fixed minor bug Index: TickerViewer.cs =================================================================== RCS file: /cvsroot/quantproject/QuantDownloader/Downloader/TickerSelectors/TickerViewer.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** TickerViewer.cs 20 Jan 2005 19:19:08 -0000 1.5 --- TickerViewer.cs 13 Feb 2005 11:44:51 -0000 1.6 *************** *** 417,427 **** dataGrid1TableStyle.MappingName = this.tableTickers.TableName; dataGrid1TableStyle.ColumnHeadersVisible = true; ! dataGrid1TableStyle.ReadOnly = true; ! dataGrid1TableStyle.SelectionBackColor = Color.DimGray ; DataGridTextBoxColumn columnStyle_tiTicker = new DataGridTextBoxColumn(); columnStyle_tiTicker.MappingName = "tiTicker"; columnStyle_tiTicker.HeaderText = "Ticker"; ! columnStyle_tiTicker.TextBox.Enabled = false; columnStyle_tiTicker.NullText = ""; columnStyle_tiTicker.Width = 60; --- 417,427 ---- dataGrid1TableStyle.MappingName = this.tableTickers.TableName; dataGrid1TableStyle.ColumnHeadersVisible = true; ! dataGrid1TableStyle.ReadOnly = false; ! dataGrid1TableStyle.SelectionBackColor = Color.DimGray; DataGridTextBoxColumn columnStyle_tiTicker = new DataGridTextBoxColumn(); columnStyle_tiTicker.MappingName = "tiTicker"; columnStyle_tiTicker.HeaderText = "Ticker"; ! columnStyle_tiTicker.TextBox.Enabled = true; columnStyle_tiTicker.NullText = ""; columnStyle_tiTicker.Width = 60; *************** *** 429,433 **** columnStyle_tiCompanyName.MappingName = "tiCompanyName"; columnStyle_tiCompanyName.HeaderText = "Company Name"; ! columnStyle_tiCompanyName.TextBox.Enabled = false; columnStyle_tiCompanyName.NullText = ""; columnStyle_tiCompanyName.Width = 120; --- 429,433 ---- columnStyle_tiCompanyName.MappingName = "tiCompanyName"; columnStyle_tiCompanyName.HeaderText = "Company Name"; ! columnStyle_tiCompanyName.TextBox.Enabled = true; columnStyle_tiCompanyName.NullText = ""; columnStyle_tiCompanyName.Width = 120; |
|
From: Glauco S. <gla...@us...> - 2005-02-13 00:52:25
|
Update of /cvsroot/quantproject/QuantProject In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21432 Modified Files: QuantProject.suo Log Message: The commission model has been improved. Index: QuantProject.suo =================================================================== RCS file: /cvsroot/quantproject/QuantProject/QuantProject.suo,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 Binary files /tmp/cvsF1l4qe and /tmp/cvsUixz1u differ |
|
From: Glauco S. <gla...@us...> - 2005-02-13 00:51:19
|
Update of /cvsroot/quantproject/QuantProject/b7_Scripts/SimpleTesting/OneRank In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20937/b7_Scripts/SimpleTesting/OneRank Modified Files: RunOneRank.cs Log Message: Now the account is constructed with an IBCommissionManager, in order to handle commissions Index: RunOneRank.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/SimpleTesting/OneRank/RunOneRank.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** RunOneRank.cs 6 Feb 2005 18:11:31 -0000 1.6 --- RunOneRank.cs 13 Feb 2005 00:51:05 -0000 1.7 *************** *** 25,28 **** --- 25,29 ---- using QuantProject.Business.DataProviders; using QuantProject.Business.Financial.Accounting; + using QuantProject.Business.Financial.Accounting.Commissions; using QuantProject.Business.Financial.Ordering; using QuantProject.Business.Scripting; *************** *** 56,60 **** this.historicalQuoteProvider ) , new HistoricalEndOfDayOrderExecutor( historicalEndOfDayTimer , ! this.historicalQuoteProvider ) ); OneRank oneRank = new OneRank( account , this.endDateTime ); --- 57,62 ---- this.historicalQuoteProvider ) , new HistoricalEndOfDayOrderExecutor( historicalEndOfDayTimer , ! this.historicalQuoteProvider ) , ! new IBCommissionManager() ); OneRank oneRank = new OneRank( account , this.endDateTime ); |