skewtape 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/quote-math.js +4 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/quote-math.js +4 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
- package/src/quote-math.ts +3 -1
- package/src/version.ts +1 -1
package/dist/cjs/quote-math.js
CHANGED
|
@@ -401,7 +401,10 @@ function computeQuote(q) {
|
|
|
401
401
|
res.venues.push({ depth_micro: safe(m.depth, "depth"), ...legOut(leg, q.side) });
|
|
402
402
|
if (m.fee === null && feeKnown) {
|
|
403
403
|
res.warnings.push(`fee_unknown: ${m.m.venue} (${m.m.fee_status}): its fee is unknown, so it is left out of the plan; venues shows it alone, before fees`);
|
|
404
|
-
|
|
404
|
+
// The partial line names the venues left out only when one of them
|
|
405
|
+
// could have filled some of the size.
|
|
406
|
+
if (alloc > 0n)
|
|
407
|
+
leftOut = true;
|
|
405
408
|
continue;
|
|
406
409
|
}
|
|
407
410
|
if (m.fee === null)
|
package/dist/cjs/version.d.ts
CHANGED
package/dist/cjs/version.js
CHANGED
package/dist/esm/quote-math.js
CHANGED
|
@@ -392,7 +392,10 @@ export function computeQuote(q) {
|
|
|
392
392
|
res.venues.push({ depth_micro: safe(m.depth, "depth"), ...legOut(leg, q.side) });
|
|
393
393
|
if (m.fee === null && feeKnown) {
|
|
394
394
|
res.warnings.push(`fee_unknown: ${m.m.venue} (${m.m.fee_status}): its fee is unknown, so it is left out of the plan; venues shows it alone, before fees`);
|
|
395
|
-
|
|
395
|
+
// The partial line names the venues left out only when one of them
|
|
396
|
+
// could have filled some of the size.
|
|
397
|
+
if (alloc > 0n)
|
|
398
|
+
leftOut = true;
|
|
396
399
|
continue;
|
|
397
400
|
}
|
|
398
401
|
if (m.fee === null)
|
package/dist/esm/version.d.ts
CHANGED
package/dist/esm/version.js
CHANGED
package/package.json
CHANGED
package/src/quote-math.ts
CHANGED
|
@@ -514,7 +514,9 @@ export function computeQuote(q: QuoteInput): QuoteResult {
|
|
|
514
514
|
res.venues.push({ depth_micro: safe(m.depth, "depth"), ...legOut(leg, q.side) });
|
|
515
515
|
if (m.fee === null && feeKnown) {
|
|
516
516
|
res.warnings.push(`fee_unknown: ${m.m.venue} (${m.m.fee_status}): its fee is unknown, so it is left out of the plan; venues shows it alone, before fees`);
|
|
517
|
-
|
|
517
|
+
// The partial line names the venues left out only when one of them
|
|
518
|
+
// could have filled some of the size.
|
|
519
|
+
if (alloc > 0n) leftOut = true;
|
|
518
520
|
continue;
|
|
519
521
|
}
|
|
520
522
|
if (m.fee === null) res.warnings.push(`fee_unknown: ${m.m.venue} (${m.m.fee_status}): its fee is not counted`);
|
package/src/version.ts
CHANGED