699
edits
(Created page with "== Portfolio Money Management Keywords == Please note that all keywords returning or receiveing money values are using the currency specified in the Portfolio settings '''(Vi...") |
No edit summary |
||
Line 86: | Line 86: | ||
'''array_contains(boolArr[], boolVal)''' – allows the user to check if boolVal value is contained in boolArr array. <br> | '''array_contains(boolArr[], boolVal)''' – allows the user to check if boolVal value is contained in boolArr array. <br> | ||
== PMM Keywords Understanding: “pmm_set” & “pmm_get” == | |||
Portfolio has one strategy (Strategy 1) which consists of 2 signals: Custom_1 and Custom_2. | |||
Portfolio has 3 instruments: GOOG -1 Day, MSFT – 1 Day, CSCO – 1 Day.<br> | |||
Let’s say the strategy also uses second data stream for its calculation. <br> | |||
In this case we have 3 portfolio strategy objects (for each instrument in portfolio): | |||
# Strategy 1 (Custom_1 and Custom_2) calculates on GOOG – 1 Day (+ GOOG – 1 Minute as data2). | |||
# Strategy 1 (Custom_1 and Custom_2) calculates on MSFT – 1 Day (+ MSFT – 1 Minute as data2). | |||
# Strategy 1 (Custom_1 and Custom_2) calculates on CSCO – 1 Day (+ CSCO – 1 Minute as data2). <br> | |||
'''Figure 1 (Portfolio Trader window)''' | |||
[[File:PMM Keywords.png]] | |||
'''Figure 2 (Sequence diagram for portfolio keywords calculation example)''' | |||
[[File:PMM Keywords 2.png]] | |||