better "Trade Performance" overview
This commit is contained in:
parent
8826f664b0
commit
0c42ca1419
@ -43,7 +43,7 @@ function webpage {
|
|||||||
<tr>
|
<tr>
|
||||||
<td>Day (last 24 hours):</td>
|
<td>Day (last 24 hours):</td>
|
||||||
<td> $(find trade-histories -name "*-closed.history.csv.result" -mtime -1 -exec cat {} \; | awk "{ SUM += \$1} END { printf(\"%.2f\", SUM/100*${INVEST})}")%</td>
|
<td> $(find trade-histories -name "*-closed.history.csv.result" -mtime -1 -exec cat {} \; | awk "{ SUM += \$1} END { printf(\"%.2f\", SUM/100*${INVEST})}")%</td>
|
||||||
<td> $(find trade-histories -name "*-closed.history.csv.result" -mtime -1 -exec cat {} \; | awk "{ SUM += \$1} END { printf(\"%.2f\", SUM}")%</td>
|
<td> $(find trade-histories -name "*-closed.history.csv.result" -mtime -1 -exec cat {} \; | awk "{ SUM += \$1} END { printf(\"%.2f\", SUM)}")%</td>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Week (last 7 days):</td>
|
<td>Week (last 7 days):</td>
|
||||||
<td> $(find trade-histories -name "*-closed.history.csv.result" -mtime -7 -exec cat {} \; | awk "{ SUM += \$1} END { printf(\"%.2f\", SUM/100*${INVEST})}")%</td>
|
<td> $(find trade-histories -name "*-closed.history.csv.result" -mtime -7 -exec cat {} \; | awk "{ SUM += \$1} END { printf(\"%.2f\", SUM/100*${INVEST})}")%</td>
|
||||||
@ -57,7 +57,7 @@ function webpage {
|
|||||||
<tr>
|
<tr>
|
||||||
<td>Performance complete):</td>
|
<td>Performance complete):</td>
|
||||||
<td> $(find trade-histories -name "*-closed.history.csv.result" -exec cat {} \; | awk "{ SUM += \$1} END { printf(\"%.2f\", SUM/100*${INVEST}) }")%</td>
|
<td> $(find trade-histories -name "*-closed.history.csv.result" -exec cat {} \; | awk "{ SUM += \$1} END { printf(\"%.2f\", SUM/100*${INVEST}) }")%</td>
|
||||||
<td> $(find trade-histories -name "*-closed.history.csv.result" -exec cat {} \; | awk "{ SUM += \$1} END { printf(\"%.2f\", SUM}) }")%</td
|
<td> $(find trade-histories -name "*-closed.history.csv.result" -exec cat {} \; | awk "{ SUM += \$1} END { printf(\"%.2f\", SUM)}")%</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>" >>../index.html.tmp
|
</table>" >>../index.html.tmp
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user