Skip to content

Commit

Permalink
Correct failure of 2/0/D and 2/0/d messages to assign `Quote.sett…
Browse files Browse the repository at this point in the history
…lementPrice`
  • Loading branch information
bryaningl3 committed Oct 24, 2023
1 parent 7bad426 commit 4a07d66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/content/releases/6.2.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Bug Fixes**

* Corrected failure of `2/0/D` and `2/0/d` messages to assign `Quote.settlementPrice` property value.
3 changes: 2 additions & 1 deletion lib/marketState/MarketState.js
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,8 @@ module.exports = (() => {
q.message = message;

q.lastPrice = message.value;
q.settlement = message.value;
q.settlementPrice = message.value;

if (message.element === 'D') {
q.flag = 's';
}
Expand Down

0 comments on commit 4a07d66

Please sign in to comment.