注意时间范围文本和分辨率的字符单位,文本字符为小写,但分辨率为大写而不是分钟,例如 1D=1day:
time_frames: [
{ text: "1y", resolution: "1D", description: `1 ${t("year")}`, title: `1 ${t("year")}` },
{ text: "3m", resolution: "60", description: `3 ${t("month")}`, title: `3 ${t("month")}` },
{ text: "1m", resolution: "30", description: `1 ${t("month")}`, title: `1 ${t("month")}` },
{ text: "5d", resolution: "5", description: `5 ${t("day")}`, title: `5 ${t("day")}` },
{ text: "1d", resolution: "5", description: `1 ${t("day")}`, title: `1 ${t("day")}` },
] as TimeFrameItem[]