From e8cccdb1c0f7ab33ee86f70e8db53f109e57b933 Mon Sep 17 00:00:00 2001 From: Pedro Pinto Date: Mon, 17 Jun 2019 10:15:52 -0400 Subject: [PATCH 1/3] Changed manual fills to show in day rather than SOD. --- src/server/sparkd/position/PositionServiceServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/sparkd/position/PositionServiceServer.cpp b/src/server/sparkd/position/PositionServiceServer.cpp index 6f4bfa843..116938572 100644 --- a/src/server/sparkd/position/PositionServiceServer.cpp +++ b/src/server/sparkd/position/PositionServiceServer.cpp @@ -97,7 +97,7 @@ bts::api::orderman::Fill PositionServiceServer::to_fill(bts::api::position::Manu result.set_last_price(src.price()); result.set_side(src.side()); result.set_last_shares(src.quantity()); - result.set_fill_kind(Fill::FILL_KIND_SOD); + result.set_fill_kind(Fill::FILL_KIND_STANDARD); result.set_fill_key(std::string("manual:")+std::to_string(src.record_id())); return result; } From b3bff8ecc38975f2dc94bbe66992b30bf0920fcd Mon Sep 17 00:00:00 2001 From: Pedro Pinto Date: Mon, 17 Jun 2019 11:02:01 -0400 Subject: [PATCH 2/3] Updated release notes. --- doc/user/content/release_notes/_index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/user/content/release_notes/_index.md b/doc/user/content/release_notes/_index.md index 4dbe96aaf..f5a259f0a 100644 --- a/doc/user/content/release_notes/_index.md +++ b/doc/user/content/release_notes/_index.md @@ -7,6 +7,7 @@ insert_anchor_links = "right" ## 2.3.0 ### User Visible Changes - Changed cover order to continue even if hedgding child is canceled and detach from hedges if canceled + - Changed manual fills to appear in day PnL rather than in the SOD records - Streamlined the mini order book as follows: - We now only show exchange orders - We now only display update buttons for orders that are under control of an algo with the update applying to the entire algo, not just the exchange order From 38db7b28e017ef81ec43d8fa08d010f1ba7df60f Mon Sep 17 00:00:00 2001 From: Pedro Pinto Date: Mon, 17 Jun 2019 14:05:11 -0400 Subject: [PATCH 3/3] Updated manual test. --- testing/manual/positions_and_fills/PAndL.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/testing/manual/positions_and_fills/PAndL.txt b/testing/manual/positions_and_fills/PAndL.txt index cbbbb6624..ba51139aa 100644 --- a/testing/manual/positions_and_fills/PAndL.txt +++ b/testing/manual/positions_and_fills/PAndL.txt @@ -128,14 +128,14 @@ Buy a 1 lot at the current bid in ACCA via Trading -> Manual Fills Click OK to state the fill Click the Save icon to publish it out - The manual fill will be published as part of the SOD so ACC A should reflect as follows: + The manual fill will be published as part of the Day PnL so ACC A should reflect as follows: ACC A: - Start Net Pos 0 - Start PnL 0.00 + Start Net Pos -1 (no change) + Start PnL -37.5 Day Long 0 - Day Short 1 - Day PnL -37.5 + Day Short 0 + Day PnL 0 Total Net Pos -1 Total PnL -37.5 PnL Price 14.0125 (displayed as 14.015)