错误: 在 Sortino 比率处开始打印统计信息时出错

作者: lgrawet创建于 2025年3月25日更新于 2026年8月4日
标签help wanted

File /opt/miniconda3/envs/quants-lab/lib/python3.10/site-packages/IPython/core/formatters.py:770, in PlainTextFormatter.call(self, obj) 763 stream = StringIO() 764 printer = pretty.RepresentationPrinter(stream, self.verbose, 765 self.max_width, self.newline, 766 max_seq_length=self.max_seq_length, 767 singleton_pprinters=self.singleton_printers, 768 type_pprinters=self.type_printers, 769 deferred_pprinters=self.deferred_printers) --> 770 printer.pretty(obj) 771 printer.flush() 772 return stream.getvalue()

File /opt/miniconda3/envs/quants-lab/lib/python3.10/site-packages/IPython/lib/pretty.py:419, in RepresentationPrinter.pretty(self, obj) 408 return meth(obj, self, cycle) …

内容来源: kernc/backtesting.py