Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Commit 8968600

Browse files
-Adding an extra warning log statement that prints the number of large makers that have their weight constrained by tx_max_expected_probability
1 parent 1efd45b commit 8968600

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/jmclient/support.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ def fidelity_bond_weighted_order_choose(orders, n, nrem = None, large_makers_not
323323
if islargemaker[i] == True:
324324
log.debug('Weight of counterparty ' + o[0]['counterparty'] + ' brought down to ' + str(bvmax) + ' from ' + str(weights[i]))
325325
weights[i]=bvmax
326+
log.warn('The weight of ' + str(nlargemakers) + '/' + str(nforders) + ' bond makers was reduced to reduce their maximum expected probability of being selected')
326327

327328
#else if nforders<=nrem
328329
else:

0 commit comments

Comments
 (0)