preemptivly updating pnl test

This commit is contained in:
Jake Norbut committed 2019-05-22 09:33:51 -05:00
1 parent 88bf448e68
commit bb0171a2e4
1 file changed
+22 -1
+22 -1
View File
@@ -63,7 +63,7 @@ Check the Totals Footer
PnL: 0
Force the SOD process to aggregate the fills
Configure your sod time to be after your last fill and before now.
Note that SODTime is currently expressed in UTC, so you'll have to make the appropriate conversion.
Note that SODTime is relative to the server's local time, which in the case of DEV will likely be UTC, so you'll need to supply the appropriate UTC time.
Here is a sample config:
@@ -116,6 +116,27 @@ Sell a 1 lot as the current bid in ACC A
Total Net Pos 2
Total PnL 75
PnL Price 14.0125 (displayed as 14.015)
Buy a lot at the current bid in ACCA via Trading -> Manual Fills
Click the '+' menu icon from the toolbar along the left side of the window to bring up the Add New popup
Click on the blank security button to launch the security picker
Specify accoutn as ACC A
Specify side as Buy
Specify qty as 1
Specify price at xxx
(I haven't actually tested the below since at the time of writing the manual fills are not yet published by the position server, but I believe this is what it should be)
ACC A:
Start Net Pos -1
Start PnL -37.5
Day Long 1
Day Short 1
Day PnL 0
Total Net Pos -1
Total PnL -12.5
PnL Price 14.0125 (displayed as 14.015)
Test sorting and filtering