diff --git a/apps/vendor-ccxt/src/index.ts b/apps/vendor-ccxt/src/index.ts index 58c2061dc..18d9c0e2d 100644 --- a/apps/vendor-ccxt/src/index.ts +++ b/apps/vendor-ccxt/src/index.ts @@ -200,24 +200,6 @@ import { ) .subscribe(); - // const mapPeriodInSecToCCXTTimeframe: Record = { - // 1: '1s', - // 60: '1m', - // 180: '3m', - // 300: '5m', - // 900: '15m', - // 1800: '30m', - // 3600: '1h', - // 7200: '2h', - // 14400: '4h', - // 21600: '6h', - // 43200: '12h', - // 86400: '1d', - // 259200: '3d', - // 604800: '1w', - // 2592000: '1M' - // }; - const mapPeriodInSecToCCXTTimeframe = (period_in_sec: number): string => { if (period_in_sec % 2592000 === 0) { return `${period_in_sec / 2592000}M`; diff --git a/common/changes/@yuants/vendor-ccxt/2024-02-22-19-00.json b/common/changes/@yuants/vendor-ccxt/2024-02-22-19-00.json new file mode 100644 index 000000000..4dfc7aa13 --- /dev/null +++ b/common/changes/@yuants/vendor-ccxt/2024-02-22-19-00.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@yuants/vendor-ccxt", + "comment": "remove useless code", + "type": "patch" + } + ], + "packageName": "@yuants/vendor-ccxt" +} \ No newline at end of file