如下图,导出行情,如何让时间显示为行情时间?我导出的格式不符合要求,看不明白,谢。
return_list=['datetime','open','close'] #获取510050从20230501至20230530区间的30分钟线开盘收盘价序列 nda=bar_close=history_bars_date('SH510050','20230501','20230530','30M',return_list) | datetime | open | close | | 0 | 2.02305E+13 | 2.67 | 2.672 | | 1 | 2.02305E+13 | 2.673 | 2.692 | | 2 | 2.02305E+13 | 2.691 | 2.687 | | 3 | 2.02305E+13 | 2.687 | 2.689 | | 4 | 2.02305E+13 | 2.689 | 2.692 | | 5 | 2.02305E+13 | 2.693 | 2.69 | | 6 | 2.02305E+13 | 2.69 | 2.69 | | 7 | 2.02305E+13 | 2.691 | 2.695 | | 8 | 2.02305E+13 | 2.699 | 2.694 | | 9 | 2.02305E+13 | 2.694 | 2.683 | | 10 | 2.02305E+13 | 2.683 | 2.688 | | 11 | 2.02305E+13 | 2.688 | 2.683 | | 12 | 2.02305E+13 | 2.684 | 2.689 | | 13 | 2.02305E+13 | 2.689 | 2.688 | | 14 | 2.02305E+13 | 2.688 | 2.687 | | 15 | 2.02305E+13 | 2.687 | 2.687 | | 16 | 2.02305E+13 | 2.69 | 2.688 | | 17 | 2.02305E+13 | 2.688 | 2.715 | | 18 | 2.02305E+13 | 2.716 | 2.718 | | 19 | 2.02305E+13 | 2.719 | 2.714 | | 20 | 2.02305E+13 | 2.715 | 2.717 | | 21 | 2.02305E+13 | 2.717 | 2.721 | | 22 | 2.02305E+13 | 2.721 | 2.722 | | 23 | 2.02305E+13 | 2.722 | 2.724 | | 24 | 2.02305E+13 | 2.728 | 2.725 | | 25 | 2.02305E+13 | 2.726 | 2.748 | | 26 | 2.02305E+13 | 2.748 | 2.744 | |
|