Re: [Quantproject-developers] Re: [Quantproject-developers] QuantProject/b7_Scripts/CallingReports
Brought to you by:
glauco_1
|
From: Glauco S. <gl...@my...> - 2005-02-06 20:07:48
|
At 08:50 PM 2/6/2005 +0100, you wrote: >E' che io ho SEMPRE usato il tortoise per fare i commit ... Ho ipotizzato che ci siano casini quando aggiungi una cartella. Quando aggiungi un file in una cartella che e' presente nel mio CVS locale, il file vien giu', ma se il file nuovo e' in una cartella nuova, allora ci sono casini. E' solo un'ipotesi "a naso"... >----- Original Message ----- >From: "Glauco Siliprandi" <gl...@my...> >To: <qua...@li...> >Sent: Saturday, February 05, 2005 7:05 PM >Subject: [Quantproject-developers] Re: [Quantproject-developers] >QuantProject/b7_Scripts/CallingReportsForRunnedScripts >ShowReportFromFile.cs,NONE,1.1 > > >> >>Tanto per cambiare... questo, l'update, non me lo tira giu'. >> >>Posso chiederti se hai usato il Tortoise? Mi sbagliero', ma c'e' qualche >>incompabilita'. >> >>At 12:07 AM 2/4/2005 +0000, you wrote: >>>Update of >>>/cvsroot/quantproject/QuantProject/b7_Scripts/CallingReportsForRunnedScripts >>>In directory >>>sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6108/b7_Scripts/CallingReportsForRunnedScripts >>> >>>Added Files: >>> ShowReportFromFile.cs >>>Log Message: >>>Added ShowReportFromFile class to view report from file (containing at the >>>moment only serialized account). >>>The Class Position in scripts project is just temporary >>> >>>--- NEW FILE: ShowReportFromFile.cs --- >>>/* >>>QuantProject - Quantitative Finance Library >>> >>>ShowReportFromFile.cs >>>Copyright (C) 2003 >>>Marco Milletti >>> >>>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; >>>using QuantProject.Scripts; >>>using QuantProject.Business.Timing; >>>using QuantProject.Business.Financial.Accounting; >>>using QuantProject.Business.DataProviders; >>>using QuantProject.ADT.FileManaging; >>>using QuantProject.Presentation.Reporting.WindowsForm; >>> >>> >>>namespace QuantProject.Scripts.CallingReportsForRunnedScripts >>>{ >>> public class ShowReportFromFile >>> { >>> public ShowReportFromFile() >>> { >>> >>> } >>> >>> >>> public static void ShowReportFromSerializedAccount(string >>>serializedAccountFullPath) >>> { >>> try >>> { >>> Account account = >>>(Account)ObjectArchiver.Extract(serializedAccountFullPath); >>> >>> Report report = new Report(account, new >>>HistoricalAdjustedQuoteProvider()); >>> report.Show("CtcPortfolio",3, >>> new EndOfDayDateTime(new >>>DateTime(2000,1,20), EndOfDaySpecificTime.MarketClose), "^MIBTEL"); >>> >>> } >>> catch(System.Exception ex) >>> { >>>System.Windows.Forms.MessageBox.Show(ex.ToString()); >>> } >>> } >>> } >>>} >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>>Tool for open source databases. Create drag-&-drop reports. Save time >>>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>_______________________________________________ >>>Quantproject-developers mailing list >>>Qua...@li... >>>https://lists.sourceforge.net/lists/listinfo/quantproject-developers >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>Tool for open source databases. Create drag-&-drop reports. Save time >>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>_______________________________________________ >>Quantproject-developers mailing list >>Qua...@li... >>https://lists.sourceforge.net/lists/listinfo/quantproject-developers > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >Tool for open source databases. Create drag-&-drop reports. Save time >by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >Download a FREE copy at http://www.intelliview.com/go/osdn_nl >_______________________________________________ >Quantproject-developers mailing list >Qua...@li... >https://lists.sourceforge.net/lists/listinfo/quantproject-developers |