You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(148) |
Jun
(48) |
Jul
(107) |
Aug
(292) |
Sep
(301) |
Oct
(530) |
Nov
(142) |
Dec
(37) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
|
Feb
|
Mar
(4) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Carlos <ma...@us...> - 2007-10-01 22:45:37
|
Update of /cvsroot/tail/Tail/src/java/net/sf/tail/report/html In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv11670/src/java/net/sf/tail/report/html Modified Files: CompleteHtmlGenerator.java Log Message: Commit com o caso do empate entre os criterions... E também um novo método de geração de report em html... Index: CompleteHtmlGenerator.java =================================================================== RCS file: /cvsroot/tail/Tail/src/java/net/sf/tail/report/html/CompleteHtmlGenerator.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CompleteHtmlGenerator.java 25 Sep 2007 00:04:23 -0000 1.4 --- CompleteHtmlGenerator.java 1 Oct 2007 22:45:39 -0000 1.5 *************** *** 51,54 **** --- 51,58 ---- public File generate() throws IOException { + return generate(report.getFileName()); + } + + public File generate(String fileName) throws IOException { File img; StringBuffer htmlCode; *************** *** 65,69 **** htmlCode = reportGenerator.generate(report, criteria, img.getAbsolutePath(), urls); ! return createHTML(report.getFileName(), htmlCode); } --- 69,73 ---- htmlCode = reportGenerator.generate(report, criteria, img.getAbsolutePath(), urls); ! return createHTML(fileName, htmlCode); } |
|
From: Márcio V. d. S. <mv...@us...> - 2007-10-01 21:46:34
|
Update of /cvsroot/tail/TailS/src/java/net/sf/tails/swing/frame/report In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv22290/src/java/net/sf/tails/swing/frame/report Added Files: NewReportFrame.form Log Message: --- NEW FILE: NewReportFrame.form --- <?xml version="1.0" encoding="UTF-8" ?> <Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> <NonVisualComponents> <Component class="javax.swing.ButtonGroup" name="buttonGroup1"> </Component> </NonVisualComponents> <Properties> <Property name="defaultCloseOperation" type="int" value="3"/> </Properties> <SyntheticProperties> <SyntheticProperty name="formSizePolicy" type="int" value="1"/> </SyntheticProperties> <AuxValues> <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> </AuxValues> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jTabbedPane1" alignment="1" pref="400" max="32767" attributes="0"/> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Component id="jTabbedPane1" pref="327" max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Container class="javax.swing.JTabbedPane" name="jTabbedPane1"> <AccessibilityProperties> <Property name="AccessibleContext.accessibleName" type="java.lang.String" value="Default Report"/> </AccessibilityProperties> <Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/> <SubComponents> <Container class="javax.swing.JPanel" name="jPanel2"> <Constraints> <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> <JTabbedPaneConstraints tabName="Default Report"> <Property name="tabTitle" type="java.lang.String" value="Default Report"/> </JTabbedPaneConstraints> </Constraint> </Constraints> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="1" attributes="0"> <Component id="jButton4" linkSize="2" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="jButton3" linkSize="2" min="-2" max="-2" attributes="0"/> </Group> <Component id="jScrollPane2" alignment="0" pref="385" max="32767" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="1" attributes="0"> <Component id="jScrollPane2" min="-2" pref="218" max="-2" attributes="0"/> <EmptySpace pref="50" max="32767" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jButton3" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jButton4" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JButton" name="jButton3"> <Properties> <Property name="label" type="java.lang.String" value="Create"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton3ActionPerformed"/> </Events> </Component> <Component class="javax.swing.JButton" name="jButton4"> <Properties> <Property name="text" type="java.lang.String" value="Cancel"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton4ActionPerformed"/> </Events> </Component> <Container class="javax.swing.JScrollPane" name="jScrollPane2"> <Properties> <Property name="horizontalScrollBarPolicy" type="int" value="31"/> </Properties> <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> <SubComponents> <Container class="javax.swing.JPanel" name="jPanel3"> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jRadioButton8" min="-2" max="-2" attributes="0"/> <Component id="jRadioButton9" alignment="0" min="-2" max="-2" attributes="0"/> <Component id="jRadioButton10" alignment="0" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace min="-2" pref="314" max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <Component id="jRadioButton8" min="-2" max="-2" attributes="0"/> <EmptySpace pref="82" max="32767" attributes="0"/> <Component id="jRadioButton9" min="-2" max="-2" attributes="0"/> <EmptySpace min="-2" pref="65" max="-2" attributes="0"/> <Component id="jRadioButton10" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Component class="javax.swing.JRadioButton" name="jRadioButton8"> <Properties> <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> <ComponentRef name="buttonGroup1"/> </Property> <Property name="text" type="java.lang.String" value="SMA"/> <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo"> <TitledBorder/> </Border> </Property> <Property name="borderPainted" type="boolean" value="true"/> <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> <Insets value="[0, 0, 0, 0]"/> </Property> </Properties> </Component> <Component class="javax.swing.JRadioButton" name="jRadioButton9"> <Properties> <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> <ComponentRef name="buttonGroup1"/> </Property> <Property name="text" type="java.lang.String" value="SMA"/> <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo"> <TitledBorder/> </Border> </Property> <Property name="borderPainted" type="boolean" value="true"/> <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> <Insets value="[0, 0, 0, 0]"/> </Property> </Properties> </Component> <Component class="javax.swing.JRadioButton" name="jRadioButton10"> <Properties> <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor"> <ComponentRef name="buttonGroup1"/> </Property> <Property name="text" type="java.lang.String" value="SMA"/> <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo"> <TitledBorder/> </Border> </Property> <Property name="borderPainted" type="boolean" value="true"/> <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> <Insets value="[0, 0, 0, 0]"/> </Property> </Properties> </Component> </SubComponents> </Container> </SubComponents> </Container> </SubComponents> </Container> <Container class="javax.swing.JPanel" name="jPanel1"> <Constraints> <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription"> <JTabbedPaneConstraints tabName="Custom Report"> <Property name="tabTitle" type="java.lang.String" value="Custom Report"/> </JTabbedPaneConstraints> </Constraint> </Constraints> <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> <Component id="jScrollPane1" pref="375" max="32767" attributes="0"/> <Group type="102" alignment="1" attributes="0"> <Component id="jButton2" linkSize="1" min="-2" max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Component id="jButton1" linkSize="1" min="-2" max="-2" attributes="0"/> </Group> </Group> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Component id="jScrollPane1" pref="251" max="32767" attributes="0"/> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="3" attributes="0"> <Component id="jButton1" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jButton2" alignment="3" min="-2" max="-2" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Container class="javax.swing.JScrollPane" name="jScrollPane1"> <AuxValues> <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> </AuxValues> <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> <SubComponents> <Component class="javax.swing.JTextArea" name="jTextArea1"> <Properties> <Property name="columns" type="int" value="20"/> <Property name="rows" type="int" value="5"/> </Properties> <Events> <EventHandler event="inputMethodTextChanged" listener="java.awt.event.InputMethodListener" parameters="java.awt.event.InputMethodEvent" handler="jTextArea1InputMethodTextChanged"/> </Events> </Component> </SubComponents> </Container> <Component class="javax.swing.JButton" name="jButton1"> <Properties> <Property name="text" type="java.lang.String" value="Create"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/> </Events> </Component> <Component class="javax.swing.JButton" name="jButton2"> <Properties> <Property name="text" type="java.lang.String" value="Cancel"/> </Properties> <Events> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/> </Events> </Component> </SubComponents> </Container> </SubComponents> </Container> </SubComponents> </Form> |
|
From: Thies <tg...@us...> - 2007-10-01 17:18:47
|
Update of /cvsroot/tail/Tail In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv5143 Removed Files: report.xls Log Message: Arquivos .png e reports deletados --- report.xls DELETED --- |
|
From: Thies <tg...@us...> - 2007-10-01 17:18:47
|
Update of /cvsroot/tail/Tail/reports In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv5143/reports Removed Files: Report100002062006.html Report113429092007.html Decision113429092007.html Log Message: Arquivos .png e reports deletados --- Report113429092007.html DELETED --- --- Report100002062006.html DELETED --- --- Decision113429092007.html DELETED --- |
|
From: Thies <tg...@us...> - 2007-10-01 17:18:47
|
Update of /cvsroot/tail/Tail/src/templates/slice In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv5143/src/templates/slice Removed Files: ambev.png Log Message: Arquivos .png e reports deletados --- ambev.png DELETED --- |
Update of /cvsroot/tail/Tail/reports/PNGCharts In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv5143/reports/PNGCharts Removed Files: Decision110004122006.png Decision100002052007.png Decision110002012007.png Report113529092007.png Decision100003072006.png Decision110002022007.png Decision100002042007.png Report100002062006.png Decision100003112006.png Report113429092007.png Decision110002032007.png Decision100004092006.png Decision101502082006.png Decision100002102006.png Decision113529092007.png Decision113429092007.png Log Message: Arquivos .png e reports deletados --- Report100002062006.png DELETED --- --- Report113529092007.png DELETED --- --- Report113429092007.png DELETED --- --- Decision110002032007.png DELETED --- --- Decision113529092007.png DELETED --- --- Decision113429092007.png DELETED --- --- Decision100002102006.png DELETED --- --- Decision110002022007.png DELETED --- --- Decision100004092006.png DELETED --- --- Decision110004122006.png DELETED --- --- Decision100003072006.png DELETED --- --- Decision110002012007.png DELETED --- --- Decision101502082006.png DELETED --- --- Decision100003112006.png DELETED --- --- Decision100002042007.png DELETED --- --- Decision100002052007.png DELETED --- |
|
From: Márcio V. d. S. <mv...@us...> - 2007-10-01 17:11:26
|
Update of /cvsroot/tail/TailS/Data/Stock In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv2131/Data/Stock Removed Files: testestes.xml testeKadu.xml Log Message: arrumando testes --- testestes.xml DELETED --- --- testeKadu.xml DELETED --- |
|
From: Márcio V. d. S. <mv...@us...> - 2007-10-01 17:11:23
|
Update of /cvsroot/tail/TailS/Data/StockAnalysis In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv2131/Data/StockAnalysis Removed Files: arquivo.xml Log Message: arrumando testes --- arquivo.xml DELETED --- |
|
From: Márcio V. d. S. <mv...@us...> - 2007-10-01 17:11:20
|
Update of /cvsroot/tail/TailS/javafxOld In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv2131/javafxOld Removed Files: StockAnalisysFrame2.fx TesteTail.java rascunho StockAnalisysFrame3.fx TailSApp.fx StockAnalisysFrame1.fx rascunho2 Tail.jar Log Message: arrumando testes --- rascunho DELETED --- --- TailSApp.fx DELETED --- --- StockAnalisysFrame1.fx DELETED --- --- TesteTail.java DELETED --- --- rascunho2 DELETED --- --- Tail.jar DELETED --- --- StockAnalisysFrame3.fx DELETED --- --- StockAnalisysFrame2.fx DELETED --- |
|
From: Márcio V. d. S. <mv...@us...> - 2007-10-01 17:11:15
|
Update of /cvsroot/tail/Tail/reports In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv2056/reports Added Files: Report100002062006.html Log Message: arrumando testes --- NEW FILE: Report100002062006.html --- <html> <head> <title>Walk Forward Report</title> <link rel="stylesheet" type="text/css" href="style/style.css"> </head> <body> <h1>Walk Forward Report</h1> <h2>Stock: <span class="titleHeader">Ambev (ambv4) for: 10:00 02/06/2006 - 03:30 03/05/2007</span></h2> <h3><span class="settingsFixed">Slicer:</span><span class="settings">SlicerByTimePeriod Period: 1 month(s)</span> <span class="settingsFixed">Strategy: </span> <span class="settings">IndicatorCrossedIndicatorStrategy</span> <span class="settingsFixed">Criteria: </span> <span class="settings">TotalProfitCriterion</span></h3><table align="left"> <tr> <img src=D:\workspace\Tail\reports\PNGCharts\Report100002062006.png> </tr> </table> <br> <br> <table align="center"> <tr> <th>Period</th> <th>Date</th> <th>Strategy</th> <th>TotalProfit</th> <th>NumberOfTicks</th> <th>TotalProfit</th> </tr> <tr class="row2"> <td>1</td> <td class="date">10:00 02/06/2006 - 06:45 30/06/2006</td> <td class="strategy">-</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr class="row1"> <td>2</td> <td class="date">10:00 03/07/2006 - 06:45 01/08/2006</td> <td class="strategy"><a href=Decision100003072006.html>Cross ClosePriceIndicator over EMAIndicator timeFrame: 16</a></td> <td>1,252</td> <td>342</td> <td>1,252</td> </tr> <tr class="row2"> <td>3</td> <td class="date">10:15 02/08/2006 - 05:00 01/09/2006</td> <td class="strategy"><a href=Decision101502082006.html>Cross ClosePriceIndicator over EMAIndicator timeFrame: 12</a></td> <td>1,272</td> <td>253</td> <td>1,272</td> </tr> <tr class="row1"> <td>4</td> <td class="date">10:00 04/09/2006 - 05:00 29/09/2006</td> <td class="strategy"><a href=Decision100004092006.html>Cross ClosePriceIndicator over EMAIndicator timeFrame: 7</a></td> <td>1,19</td> <td>246</td> <td>1,19</td> </tr> <tr class="row2"> <td>5</td> <td class="date">10:00 02/10/2006 - 05:00 01/11/2006</td> <td class="strategy"><a href=Decision100002102006.html>Cross ClosePriceIndicator over EMAIndicator timeFrame: 7</a></td> <td>1,102</td> <td>339</td> <td>1,102</td> </tr> <tr class="row1"> <td>6</td> <td class="date">10:00 03/11/2006 - 07:00 01/12/2006</td> <td class="strategy"><a href=Decision100003112006.html>Cross ClosePriceIndicator over EMAIndicator timeFrame: 7</a></td> <td>1,197</td> <td>256</td> <td>1,197</td> </tr> <tr class="row2"> <td>7</td> <td class="date">11:00 04/12/2006 - 06:00 28/12/2006</td> <td class="strategy"><a href=Decision110004122006.html>Cross ClosePriceIndicator over EMAIndicator timeFrame: 7</a></td> <td>1,161</td> <td>213</td> <td>1,161</td> </tr> <tr class="row1"> <td>8</td> <td class="date">11:00 02/01/2007 - 06:45 01/02/2007</td> <td class="strategy"><a href=Decision110002012007.html>Cross ClosePriceIndicator over EMAIndicator timeFrame: 7</a></td> <td>1,124</td> <td>292</td> <td>1,124</td> </tr> <tr class="row2"> <td>9</td> <td class="date">11:00 02/02/2007 - 06:45 01/03/2007</td> <td class="strategy"><a href=Decision110002022007.html>Cross ClosePriceIndicator over EMAIndicator timeFrame: 6</a></td> <td>1,06</td> <td>260</td> <td>1,06</td> </tr> <tr class="row1"> <td>10</td> <td class="date">11:00 02/03/2007 - 06:00 30/03/2007</td> <td class="strategy"><a href=Decision110002032007.html>Cross ClosePriceIndicator over EMAIndicator timeFrame: 6</a></td> <td>1,081</td> <td>252</td> <td>1,081</td> </tr> <tr class="row2"> <td>11</td> <td class="date">10:00 02/04/2007 - 05:00 30/04/2007</td> <td class="strategy"><a href=Decision100002042007.html>Cross ClosePriceIndicator over EMAIndicator timeFrame: 5</a></td> <td>1,106</td> <td>257</td> <td>1,106</td> </tr> <tr class="row1"> <td>12</td> <td class="date">10:00 02/05/2007 - 03:30 03/05/2007</td> <td class="strategy"><a href=Decision100002052007.html>Cross ClosePriceIndicator over EMAIndicator timeFrame: 6</a></td> <td>1,014</td> <td>7</td> <td>1,014</td> </tr> <tr class="total"> <td>TOTAL</td> <td>10:00 02/06/2006 - 03:30 03/05/2007</td> <td>-</td> <td>4,196</td> <td>2.717</td> <td>4,196</td> </tr> </table> </body> </html> |
|
From: Márcio V. d. S. <mv...@us...> - 2007-10-01 17:11:15
|
Update of /cvsroot/tail/Tail/src/java/net/sf/tail/series In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv2056/src/java/net/sf/tail/series Modified Files: SlicerByTimePeriod.java Log Message: arrumando testes Index: SlicerByTimePeriod.java =================================================================== RCS file: /cvsroot/tail/Tail/src/java/net/sf/tail/series/SlicerByTimePeriod.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** SlicerByTimePeriod.java 26 Sep 2007 19:36:21 -0000 1.5 --- SlicerByTimePeriod.java 1 Oct 2007 17:11:16 -0000 1.6 *************** *** 41,46 **** } ! public TimeSeriesSlicer applyForSeries(TimeSeries series) { ! return new SlicerByTimePeriod(series,period,slicerType); } --- 41,46 ---- } ! public TimeSeriesSlicer applyForSeries(TimeSeries newSeries) { ! return new SlicerByTimePeriod(newSeries,period, periodBegin, slicerType); } *************** *** 93,98 **** private void createSlice(int begin, int end) { LOG.debug(String.format("New series from %d to %d ", begin, end)); - LOG.debug(String.format("New series from %s to %s ", series.getTick(begin).getDate(), series.getTick(end) - .getDate())); ConstrainedTimeSeries slice = new ConstrainedTimeSeries(series, begin, end); splittedSeries.add(slice); --- 93,96 ---- |
|
From: Márcio V. d. S. <mv...@us...> - 2007-10-01 17:11:15
|
Update of /cvsroot/tail/Tail/reports/PNGCharts In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv2056/reports/PNGCharts Added Files: Decision110004122006.png Decision100002052007.png Decision110002012007.png Decision100003072006.png Decision110002022007.png Decision100002042007.png Report100002062006.png Decision100003112006.png Decision100004092006.png Decision110002032007.png Decision101502082006.png Decision100002102006.png Removed Files: report.xls Log Message: arrumando testes --- NEW FILE: Report100002062006.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Decision110002022007.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Decision110002032007.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Decision100002042007.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Decision100002102006.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Decision100003072006.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Decision100004092006.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Decision110004122006.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Decision110002012007.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Decision101502082006.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Decision100003112006.png --- (This appears to be a binary file; contents omitted.) --- report.xls DELETED --- --- NEW FILE: Decision100002052007.png --- (This appears to be a binary file; contents omitted.) |
|
From: Márcio V. d. S. <mv...@us...> - 2007-10-01 17:11:15
|
Update of /cvsroot/tail/Tail/src/test/net/sf/tail/report/html In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv2056/src/test/net/sf/tail/report/html Modified Files: CompleteHtmlGeneratorTest.java Log Message: arrumando testes Index: CompleteHtmlGeneratorTest.java =================================================================== RCS file: /cvsroot/tail/Tail/src/test/net/sf/tail/report/html/CompleteHtmlGeneratorTest.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CompleteHtmlGeneratorTest.java 25 Sep 2007 00:04:23 -0000 1.2 --- CompleteHtmlGeneratorTest.java 1 Oct 2007 17:11:16 -0000 1.3 *************** *** 32,38 **** private CompleteHtmlGenerator html; ! protected static final String FM_REPORT_DIR = "reports/"; ! protected static final String FM_CHART_DIR = "PNGCharts/"; @Before --- 32,38 ---- private CompleteHtmlGenerator html; ! protected static final String FM_REPORT_DIR = "reports" + File.separatorChar; ! protected static final String FM_CHART_DIR = "PNGCharts" + File.separatorChar; @Before |
|
From: Márcio V. d. S. <mv...@us...> - 2007-10-01 17:11:15
|
Update of /cvsroot/tail/Tail In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv2056 Added Files: report.xls Log Message: arrumando testes --- NEW FILE: report.xls --- (This appears to be a binary file; contents omitted.) |
|
From: Fabricio S. <fab...@us...> - 2007-09-29 15:12:51
|
Update of /cvsroot/tail/Tail/src/test/net/sf/tail/dsl/python In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv484/src/test/net/sf/tail/dsl/python Modified Files: PythonDSLTest.java CrossedIndicator.py Log Message: Pequenas Alterações no IndicadorTeste Index: PythonDSLTest.java =================================================================== RCS file: /cvsroot/tail/Tail/src/test/net/sf/tail/dsl/python/PythonDSLTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PythonDSLTest.java 29 Sep 2007 15:09:46 -0000 1.1 --- PythonDSLTest.java 29 Sep 2007 15:12:53 -0000 1.2 *************** *** 36,40 **** List<String> defaultStrategies = new ArrayList<String>(); ! for (int i = 0; i < 50; i++) { IndicatorCrossedIndicatorStrategy strategy = new IndicatorCrossedIndicatorStrategy( --- 36,40 ---- List<String> defaultStrategies = new ArrayList<String>(); ! for (int i = 1; i < 50; i++) { IndicatorCrossedIndicatorStrategy strategy = new IndicatorCrossedIndicatorStrategy( Index: CrossedIndicator.py =================================================================== RCS file: /cvsroot/tail/Tail/src/test/net/sf/tail/dsl/python/CrossedIndicator.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CrossedIndicator.py 29 Sep 2007 15:09:46 -0000 1.1 --- CrossedIndicator.py 29 Sep 2007 15:12:53 -0000 1.2 *************** *** 1,3 **** ! for i in range(0,50): strategies.add(crossed(sma(i),sma(2*i))) \ No newline at end of file --- 1,3 ---- ! for i in range(1,50): strategies.add(crossed(sma(i),sma(2*i))) \ No newline at end of file |
|
From: Fabricio S. <fab...@us...> - 2007-09-29 15:09:47
|
Update of /cvsroot/tail/Tail/src/java/net/sf/tail/dsl/python In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31582/src/java/net/sf/tail/dsl/python Added Files: PythonDSL.java Log Message: PythonDSL --- NEW FILE: PythonDSL.java --- package net.sf.tail.dsl.python; import java.util.HashSet; import java.util.Set; import javax.script.Invocable; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; import net.sf.tail.Indicator; import net.sf.tail.Strategy; import net.sf.tail.TimeSeries; import net.sf.tail.dsl.TailDSL; import net.sf.tail.indicator.simple.ClosePriceIndicator; public class PythonDSL implements TailDSL { private static final String NEWLINE = "\n"; private String header; private TimeSeries series; private ScriptEngineManager factory; public PythonDSL(String header, TimeSeries series) { this.header = header + NEWLINE; this.series = series; factory = new ScriptEngineManager(); } public Indicator<?> evalIndicator(String code) throws ScriptException { ScriptEngine engine = factory.getEngineByName("jython"); engine.put("series", series); engine.eval(header + code); Invocable invocable = (Invocable)engine; Indicator<?> indicator = invocable.getInterface(Indicator.class); return indicator; } public Set<Strategy> evalStrategies(String code) throws ScriptException { /* for (ScriptEngineFactory engine : factory.getEngineFactories()) { System.out.print(engine.getEngineName()); } */ ScriptEngine engine = factory.getEngineByName("jython"); Set<Strategy> strategies = new HashSet<Strategy>(); engine.put("series", series); engine.put("close", new ClosePriceIndicator(series)); engine.put("strategies", strategies); engine.eval(header + code); return strategies; } } |
|
From: Fabricio S. <fab...@us...> - 2007-09-29 15:09:47
|
Update of /cvsroot/tail/Tail/src/test/net/sf/tail/dsl/python In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31582/src/test/net/sf/tail/dsl/python Added Files: PythonDSLTest.java CrossedIndicator.py Log Message: PythonDSL --- NEW FILE: PythonDSLTest.java --- package net.sf.tail.dsl.python; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.Set; import javax.script.ScriptException; import net.sf.tail.Strategy; import net.sf.tail.TimeSeries; import net.sf.tail.indicator.simple.ClosePriceIndicator; import net.sf.tail.indicator.tracker.SMAIndicator; import net.sf.tail.sample.SampleTimeSeries; import net.sf.tail.strategy.IndicatorCrossedIndicatorStrategy; import org.junit.Before; import org.junit.Test; public class PythonDSLTest { private TimeSeries series; private ClosePriceIndicator close; @Before public void setUp() throws Exception { series = new SampleTimeSeries(); close = new ClosePriceIndicator(series); } @Test public void testEvalStrategies() throws ScriptException { String firstStrategy = read("CrossedIndicator.py"); List<String> defaultStrategies = new ArrayList<String>(); for (int i = 0; i < 50; i++) { IndicatorCrossedIndicatorStrategy strategy = new IndicatorCrossedIndicatorStrategy( new SMAIndicator(close,i),new SMAIndicator(close,2*i)); defaultStrategies.add(strategy.getName()); } PythonDSL dsl = new PythonDSL(read("/pythonDSLutils.py"), series); Set<Strategy> dslStrategies = dsl.evalStrategies(firstStrategy); for (Strategy strategy : dslStrategies){ assertTrue(defaultStrategies.contains(strategy.getName())); } } private static String read(String name) { String text = ""; Scanner scanner = new Scanner(PythonDSLTest.class.getResourceAsStream(name)); while (scanner.hasNextLine()) { text += scanner.nextLine() + "\n"; } return text; } } --- NEW FILE: CrossedIndicator.py --- for i in range(0,50): strategies.add(crossed(sma(i),sma(2*i))) |
|
From: Fabricio S. <fab...@us...> - 2007-09-29 15:09:47
|
Update of /cvsroot/tail/Tail/lib In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31582/lib Added Files: jython-engine-1.0-jdk14.jar jython.jar Log Message: PythonDSL --- NEW FILE: jython-engine-1.0-jdk14.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jython.jar --- (This appears to be a binary file; contents omitted.) |
|
From: Fabricio S. <fab...@us...> - 2007-09-29 15:09:47
|
Update of /cvsroot/tail/Tail/.settings In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31582/.settings Modified Files: org.eclipse.core.resources.prefs Log Message: PythonDSL Index: org.eclipse.core.resources.prefs =================================================================== RCS file: /cvsroot/tail/Tail/.settings/org.eclipse.core.resources.prefs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** org.eclipse.core.resources.prefs 11 May 2007 20:41:41 -0000 1.1 --- org.eclipse.core.resources.prefs 29 Sep 2007 15:09:46 -0000 1.2 *************** *** 1,3 **** ! #Fri May 11 17:40:10 GMT-03:00 2007 eclipse.preferences.version=1 encoding/<project>=UTF-8 --- 1,4 ---- ! #Mon Sep 24 16:52:37 BRT 2007 eclipse.preferences.version=1 encoding/<project>=UTF-8 + instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true |
|
From: Fabricio S. <fab...@us...> - 2007-09-29 15:09:46
|
Update of /cvsroot/tail/Tail/reports/PNGCharts In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31582/reports/PNGCharts Added Files: Report113529092007.png Report113429092007.png Decision113529092007.png Decision113429092007.png Log Message: PythonDSL --- NEW FILE: Decision113529092007.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Decision113429092007.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Report113529092007.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Report113429092007.png --- (This appears to be a binary file; contents omitted.) |
|
From: Fabricio S. <fab...@us...> - 2007-09-29 15:09:46
|
Update of /cvsroot/tail/Tail/src/test/net/sf/tail/dsl/javascript In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31582/src/test/net/sf/tail/dsl/javascript Modified Files: JavaScriptDSLTest.java Log Message: PythonDSL Index: JavaScriptDSLTest.java =================================================================== RCS file: /cvsroot/tail/Tail/src/test/net/sf/tail/dsl/javascript/JavaScriptDSLTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** JavaScriptDSLTest.java 20 Sep 2007 23:11:38 -0000 1.1 --- JavaScriptDSLTest.java 29 Sep 2007 15:09:45 -0000 1.2 *************** *** 33,41 **** } ! @SuppressWarnings("unchecked") @Test public void testEvalIndicator() throws ScriptException { JavaScriptDSL dsl = new JavaScriptDSL("",series); String text = read("IndexedSMAIndicator.js"); Indicator<Double> scriptSMA = (Indicator<Double>) dsl.evalIndicator(text); --- 33,42 ---- } ! @Test public void testEvalIndicator() throws ScriptException { JavaScriptDSL dsl = new JavaScriptDSL("",series); String text = read("IndexedSMAIndicator.js"); + @SuppressWarnings("unchecked") Indicator<Double> scriptSMA = (Indicator<Double>) dsl.evalIndicator(text); |
|
From: Fabricio S. <fab...@us...> - 2007-09-29 15:09:46
|
Update of /cvsroot/tail/Tail/reports In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31582/reports Added Files: Report113429092007.html Decision113429092007.html Log Message: PythonDSL --- NEW FILE: Report113429092007.html --- <html> <head> <title>Walk Forward Report</title> <link rel="stylesheet" type="text/css" href="style/style.css"> </head> <body> <h1>Walk Forward Report</h1> <h2>Stock: <span class="titleHeader">SampleTimeSeries for: 11:34 29/09/2007 - 11:34 29/09/2007</span></h2> <h3><span class="settingsFixed">Slicer:</span><span class="settings">SlicerByTimePeriod Period: 1 year(s)</span> <span class="settingsFixed">Strategy: </span> <span class="settings">FakeStrategy</span> <span class="settingsFixed">Criteria: </span> <span class="settings">TotalProfitCriterion</span></h3><table align="left"> <tr> <img src=/home/fabsn/dev/eclipse/tail/Tail/reports/PNGCharts/Report113429092007.png> </tr> </table> <br> <br> <table align="center"> <tr> <th>Period</th> <th>Date</th> <th>Strategy</th> <th>TotalProfit</th> <th>NumberOfTicks</th> <th>TotalProfit</th> </tr> <tr class="row2"> <td>1</td> <td class="date">11:34 29/09/2007 - 11:34 29/09/2007</td> <td class="strategy">-</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr class="row1"> <td>2</td> <td class="date">11:34 29/09/2007 - 11:34 29/09/2007</td> <td class="strategy"><a href=Decision113429092007.html>Fake Strategy:0</a></td> <td>3</td> <td>2</td> <td>3</td> </tr> <tr class="total"> <td>TOTAL</td> <td>11:34 29/09/2007 - 11:34 29/09/2007</td> <td>-</td> <td>3</td> <td>2</td> <td>3</td> </tr> </table> </body> </html> --- NEW FILE: Decision113429092007.html --- <html> <head> <title>Walk Forward Report</title> <link rel="stylesheet" type="text/css" href="style/style.css"> </head> <body> <h1>Slice Report</h1> <h2>Stock: <span class="titleHeader">SampleTimeSeries for: 11:34 29/09/2007 - 11:34 29/09/2007</span></h2> <h3> <span class="settingsFixed">Strategy: </span> <span class="settings">FakeStrategy</span> <span class="settingsFixed">Criteria: </span> <span class="settings">TotalProfitCriterion</span></h3><table align="left"> <tr> <img src=/home/fabsn/dev/eclipse/tail/Tail/reports/PNGCharts/Decision113429092007.png> </tr> </table> <br> <br> <table align="center"> <tr> <th>Trade</th> <th>Buy Date</th> <th>Buy Price</th> <th>Sell Date</th> <th>Sell Price</th> <th> NumberOfTicksCriterion </th> <th> TotalProfitCriterion </th> </tr> <tr class="row2"> <td>1</td> <td class="date">11:34 29/09/2007</td> <td class="date">1</td> <td class="date">11:34 29/09/2007</td> <td class="date">3</td> <td> 2</td> <td> 3</td> </tr> <tr class="total"> <td>TOTAL</td> <td>11:34 29/09/2007</td> <td>-</td> <td>11:34 29/09/2007</td> <td>-</td> <td>2 </td> <td>3 </td> </tr> </table> </body> </html> |
|
From: Fabricio S. <fab...@us...> - 2007-09-29 15:09:46
|
Update of /cvsroot/tail/Tail/dsl In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31582/dsl Added Files: pythonDSLutils.py Log Message: PythonDSL --- NEW FILE: pythonDSLutils.py --- import java.lang as lang import java.util import net.sf.tail as tail import net.sf.tail.indicator import net.sf.tail.indicator.tracker as tracker import net.sf.tail.indicator.simple as simple import net.sf.tail.strategy as strategy import net.sf.tail.series as series def exit( event ): lang.System.exit(0) def sma(frame): return tracker.SMAIndicator(close,frame) def ema (frame): return tracker.EMAIndicator(close,frame) def crossed(upper,lower): return strategy.IndicatorCrossedIndicatorStrategy(upper,lower) |
|
From: Fabricio S. <fab...@us...> - 2007-09-29 15:09:46
|
Update of /cvsroot/tail/Tail In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31582 Modified Files: .project .cvsignore .classpath Log Message: PythonDSL Index: .cvsignore =================================================================== RCS file: /cvsroot/tail/Tail/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** .cvsignore 10 Jun 2007 17:01:33 -0000 1.2 --- .cvsignore 29 Sep 2007 15:09:46 -0000 1.3 *************** *** 1,2 **** --- 1,3 ---- bin *.jar + .pydevproject Index: .project =================================================================== RCS file: /cvsroot/tail/Tail/.project,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** .project 4 Sep 2007 13:09:14 -0000 1.2 --- .project 29 Sep 2007 15:09:46 -0000 1.3 *************** *** 7,10 **** --- 7,15 ---- <buildSpec> <buildCommand> + <name>org.python.pydev.PyDevBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> *************** *** 20,23 **** --- 25,29 ---- <nature>org.eclipse.jdt.core.javanature</nature> <nature>javafx.eclipse.f3editor.builder.F3Nature</nature> + <nature>org.python.pydev.pythonNature</nature> </natures> </projectDescription> Index: .classpath =================================================================== RCS file: /cvsroot/tail/Tail/.classpath,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** .classpath 26 Sep 2007 19:36:22 -0000 1.19 --- .classpath 29 Sep 2007 15:09:46 -0000 1.20 *************** *** 23,28 **** <classpathentry kind="lib" path="lib/dsl/ruby/jarjar-0.7.jar"/> <classpathentry kind="lib" path="lib/dsl/ruby/jline-0.9.91.jar"/> - <classpathentry kind="lib" path="lib/dsl/ruby/jruby-engine.jar"/> <classpathentry kind="lib" path="lib/dsl/ruby/jruby.jar"/> <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/JavaFX"/> <classpathentry kind="output" path="bin"/> --- 23,30 ---- <classpathentry kind="lib" path="lib/dsl/ruby/jarjar-0.7.jar"/> <classpathentry kind="lib" path="lib/dsl/ruby/jline-0.9.91.jar"/> <classpathentry kind="lib" path="lib/dsl/ruby/jruby.jar"/> + <classpathentry kind="lib" path="lib/dsl/ruby/jruby-engine.jar"/> + <classpathentry kind="lib" path="lib/jython.jar"/> + <classpathentry kind="lib" path="lib/jython-engine-1.0-jdk14.jar"/> <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/JavaFX"/> <classpathentry kind="output" path="bin"/> |
|
From: Fabricio S. <fab...@us...> - 2007-09-29 15:09:18
|
Update of /cvsroot/tail/Tail/src/java/net/sf/tail/dsl/python In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31555/src/java/net/sf/tail/dsl/python Log Message: Directory /cvsroot/tail/Tail/src/java/net/sf/tail/dsl/python added to the repository |