Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement getMarketRule and minor improvements #231

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Implement getMarketRule and minor improvements #231

merged 1 commit into from
Dec 9, 2024

Conversation

rylorin
Copy link
Member

@rylorin rylorin commented Dec 7, 2024

Fixes reqMarketRule in ibnext #230

Test Suites: 2 failed, 47 passed, 49 total
Tests:       2 failed, 120 passed, 122 total
Snapshots:   0 total
Time:        103.688 s

`onUpdateAccountValue(${tag}, ${value}, ${currency}, ${account})`,
);
subscriptions.forEach((subscription) => {
filterMap(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 3 locations. Consider refactoring.

@@ -644,7 +640,12 @@
realizedPNL,
};
// notify all subscribers
subscriptions.forEach((subscription) => {
filterMap(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 3 locations. Consider refactoring.

// notify all subscribers
subscriptions.forEach((subscription) => {
filterMap(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 3 locations. Consider refactoring.

Copy link

codeclimate bot commented Dec 7, 2024

Code Climate has analyzed commit 348dd09 and detected 14 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1
Duplication 13

View more on Code Climate.

@rylorin rylorin linked an issue Dec 7, 2024 that may be closed by this pull request
@rylorin rylorin merged commit 872ed46 into master Dec 9, 2024
5 of 6 checks passed
@rylorin rylorin deleted the warnings branch December 9, 2024 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reqMarketRule in ibnext
1 participant