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 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; } 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)