Changes for page TradeJournal

Last modified by Drunk Monkey on 2024-09-27 08:27

From version 6.1
edited by Drunk Monkey
on 2024-09-27 08:21
Change comment: Update LiveTable
To version 2.1
edited by Drunk Monkey
on 2020-05-12 06:29
Change comment: Update LiveTable

Summary

Details

Page properties
Content
... ... @@ -4,8 +4,12 @@
4 4   'OpenDate': {"html":true},
5 5   'CloseDate': {"html":true},
6 6   'Entry': {},
7 - 'shortText': {},
8 - 'TradeAnalysis': {"filterable":false,"sortable":false,"html":true}
7 + 'SL': {},
8 + 'TP1': {},
9 + 'TP2': {},
10 + 'TP3': {},
11 + 'TradeReason': {},
12 + '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
9 9  })
10 10  #set ($options = {
11 11   'className': 'TradeJournal.Code.TradeJournalClass',
... ... @@ -16,6 +16,6 @@
16 16   'selectedColumn': 'forexPair',
17 17   'defaultOrder': 'asc'
18 18  })
19 -#set ($columns = ['forexPair', 'OpenDate', 'CloseDate', 'Entry', 'shortText', 'TradeAnalysis'])
23 +#set ($columns = ['forexPair', 'OpenDate', 'CloseDate', 'Entry', 'SL', 'TP1', 'TP2', 'TP3', 'TradeReason', '_actions'])
20 20  #livetable('tradejournal' $columns $columnsProperties $options)
21 21  {{/velocity}}
AppWithinMinutes.LiveTableClass[0]
Live Table Columns
... ... @@ -1,1 +1,1 @@
1 -forexPair OpenDate CloseDate Entry shortText TradeAnalysis
1 +forexPair OpenDate CloseDate Entry SL TP1 TP2 TP3 TradeReason _actions
Description
... ... @@ -1,15 +1,7 @@
1 -{{container layoutStyle="columns"}}
2 -(((**Mandatory**
3 -* Pair
4 -* Open
5 -* Close
6 -* Entry
7 -* SL
8 -* TP1)))
9 -(((**Optional**
10 -* TP2
11 -* TP3)))
12 -(((**Recommended**
13 -* Reason
14 -* Analysis)))
15 -{{/container}}
1 +Pair, Open, Close, Entry, SL, TP1 - mandatory
2 +
3 +TP2, TP3 - possible, not mandatory
4 +
5 +Reason - suggested
6 +
7 +Analysis - recommended