bitshares / bitshares-core

BitShares Blockchain node and command-line wallet
https://bitshares.github.io/
Other
1.17k stars 647 forks source link

Match force-settlements with margin calls at normal margin call fill price #2489

Closed abitmore closed 3 years ago

abitmore commented 3 years ago

PR for #2481.

1. Force-settlements are matched with margin calls with conditions:

2. When a global settlement occurs:

3. API changes


Tasks:

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 35 Code Smells

91.0% 91.0% Coverage
0.0% 0.0% Duplication