INNER CODE UNIT · Python
display
simonlin1212/Vibe-Research · calc/cli.py:23
display = 展示层字符串(calc/display.py 确定性格式化;status ≠ ok 时为 null),报告正文照抄它、不抄 value 原始浮点。
退出码:0 = ok;2 = not_meaningful;3 = error(含参数错误 / 未知函数 / 库内部异常 internal_error)。
"""
from __future__ import annotations
import argparse
import csv
from datetime import date
import hashlib
import inspect
import json
import os
import re
import sys
from pathlib import Path
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from calc import formulas, indicators, series # noqa: E402