tradeblocks-mcp 1.2.0 → 1.2.1
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/test-exports.js +11 -6
- package/dist/test-exports.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +2 -2
- package/server/index.js +11 -6
- package/server/index.js.map +1 -1
package/dist/test-exports.js
CHANGED
|
@@ -18528,7 +18528,12 @@ var TREASURY_RATES = {
|
|
|
18528
18528
|
"2026-02-02": 3.6,
|
|
18529
18529
|
"2026-02-03": 3.6,
|
|
18530
18530
|
"2026-02-04": 3.6,
|
|
18531
|
-
"2026-02-05": 3.59
|
|
18531
|
+
"2026-02-05": 3.59,
|
|
18532
|
+
"2026-02-06": 3.6,
|
|
18533
|
+
"2026-02-09": 3.6,
|
|
18534
|
+
"2026-02-10": 3.6,
|
|
18535
|
+
"2026-02-11": 3.61,
|
|
18536
|
+
"2026-02-12": 3.61
|
|
18532
18537
|
};
|
|
18533
18538
|
|
|
18534
18539
|
// ../lib/utils/risk-free-rate.ts
|
|
@@ -20394,7 +20399,7 @@ var KNOWN_TRADE_COLUMNS = /* @__PURE__ */ new Set([
|
|
|
20394
20399
|
"Max Loss"
|
|
20395
20400
|
]);
|
|
20396
20401
|
function parseCSV(content) {
|
|
20397
|
-
const lines = content.trim().split("\n");
|
|
20402
|
+
const lines = content.replace(/^\uFEFF/, "").trim().split("\n");
|
|
20398
20403
|
if (lines.length < 2) return [];
|
|
20399
20404
|
const headers = parseCSVLine(lines[0]);
|
|
20400
20405
|
const records = [];
|
|
@@ -21871,7 +21876,7 @@ async function readBlockJson(blockPath) {
|
|
|
21871
21876
|
}
|
|
21872
21877
|
}
|
|
21873
21878
|
function parseCSV2(content) {
|
|
21874
|
-
const lines = content.trim().split("\n");
|
|
21879
|
+
const lines = content.replace(/^\uFEFF/, "").trim().split("\n");
|
|
21875
21880
|
if (lines.length < 2) return [];
|
|
21876
21881
|
const headers = parseCSVLine2(lines[0]);
|
|
21877
21882
|
const records = [];
|
|
@@ -22399,7 +22404,7 @@ function parseTimestampToDate(timestamp) {
|
|
|
22399
22404
|
return formatted;
|
|
22400
22405
|
}
|
|
22401
22406
|
function parseCSV3(content) {
|
|
22402
|
-
const lines = content.trim().split("\n");
|
|
22407
|
+
const lines = content.replace(/^\uFEFF/, "").trim().split("\n");
|
|
22403
22408
|
if (lines.length < 2) {
|
|
22404
22409
|
return { headers: [], rows: [] };
|
|
22405
22410
|
}
|
|
@@ -22912,12 +22917,12 @@ var SCHEMA_DESCRIPTIONS = {
|
|
|
22912
22917
|
timing: "close"
|
|
22913
22918
|
},
|
|
22914
22919
|
VIX9D_VIX_Ratio: {
|
|
22915
|
-
description: "VIX9D/VIX ratio
|
|
22920
|
+
description: "VIX9D/VIX ratio (<1 = contango/normal, >1 = backwardation/fear)",
|
|
22916
22921
|
hypothesis: true,
|
|
22917
22922
|
timing: "close"
|
|
22918
22923
|
},
|
|
22919
22924
|
VIX_VIX3M_Ratio: {
|
|
22920
|
-
description: "VIX/VIX3M ratio
|
|
22925
|
+
description: "VIX/VIX3M ratio (<1 = contango/normal, >1 = backwardation/fear)",
|
|
22921
22926
|
hypothesis: true,
|
|
22922
22927
|
timing: "close"
|
|
22923
22928
|
},
|