{"id":935,"date":"2026-02-09T21:16:06","date_gmt":"2026-02-09T13:16:06","guid":{"rendered":"https:\/\/khsci.com\/khQuant\/forum-topic\/%e5%9b%9e%e6%b5%8b%e7%bb%93%e6%9e%9ctrades-csv-%e5%92%8c-daily_stats-csv-%e7%9a%84%e4%ba%a4%e6%98%93%e8%ae%b0%e5%bd%95%e5%ad%98%e5%9c%a8%e5%b7%ae%e5%bc%82\/"},"modified":"2026-02-09T21:16:06","modified_gmt":"2026-02-09T13:16:06","slug":"%e5%9b%9e%e6%b5%8b%e7%bb%93%e6%9e%9ctrades-csv-%e5%92%8c-daily_stats-csv-%e7%9a%84%e4%ba%a4%e6%98%93%e8%ae%b0%e5%bd%95%e5%ad%98%e5%9c%a8%e5%b7%ae%e5%bc%82","status":"publish","type":"forum_topic","link":"https:\/\/khsci.com\/khQuant\/forum-topic\/%e5%9b%9e%e6%b5%8b%e7%bb%93%e6%9e%9ctrades-csv-%e5%92%8c-daily_stats-csv-%e7%9a%84%e4%ba%a4%e6%98%93%e8%ae%b0%e5%bd%95%e5%ad%98%e5%9c%a8%e5%b7%ae%e5%bc%82\/","title":{"rendered":"\u56de\u6d4b\u7ed3\u679ctrades.csv \u548c daily_stats.csv \u7684\u4ea4\u6613\u8bb0\u5f55\u5b58\u5728\u5dee\u5f02"},"content":{"rendered":"<p>date\ttotal_asset\tcash\tmarket_value\tdaily_return\tbenchmark_close\tpositions<br \/>\n2022\/5\/5 16:00\t985961.9832\t9732.9832\t976229\t-0.014038017\t3908.815\t{&#8216;600519.SH&#8217;: {&#8216;volume&#8217;: 300, &#8216;price&#8217;: np.float64(1642.0099999999998), &#8216;avg_price&#8217;: 1643.19, &#8216;market_value&#8217;: np.float64(492602.99999999994), &#8216;profit&#8217;: np.float64(-354.0000000000873), &#8216;profit_ratio&#8217;: np.float64(-0.0007181153731463136)}, &#8216;600887.SH&#8217;: {&#8216;volume&#8217;: 14300, &#8216;price&#8217;: np.float64(33.82), &#8216;avg_price&#8217;: 34.77, &#8216;market_value&#8217;: np.float64(483626.0), &#8216;profit&#8217;: np.float64(-13585.00000000004), &#8216;profit_ratio&#8217;: np.float64(-0.02732240437158478)}}<br \/>\n2022\/5\/6 16:00\t959066.9832\t634.9832\t958432\t-0.027277928\t\t{&#8216;600519.SH&#8217;: {&#8216;volume&#8217;: 300, &#8216;price&#8217;: np.float64(1598.0099999999998), &#8216;avg_price&#8217;: 1643.19, &#8216;market_value&#8217;: np.float64(479402.99999999994), &#8216;profit&#8217;: np.float64(-13554.000000000087), &#8216;profit_ratio&#8217;: np.float64(-0.02749529877859547)}, &#8216;600887.SH&#8217;: {&#8216;volume&#8217;: 14300, &#8216;price&#8217;: np.float64(32.870000000000005), &#8216;avg_price&#8217;: 34.77, &#8216;market_value&#8217;: np.float64(470041.00000000006), &#8216;profit&#8217;: np.float64(-27169.999999999978), &#8216;profit_ratio&#8217;: np.float64(-0.054644808743169355)}, &#8216;002415.SZ&#8217;: {&#8216;volume&#8217;: 100, &#8216;price&#8217;: np.float64(31.200000000000006), &#8216;avg_price&#8217;: 32.47, &#8216;market_value&#8217;: np.float64(3120.0000000000005), &#8216;profit&#8217;: np.float64(-126.99999999999925), &#8216;profit_ratio&#8217;: np.float64(-0.039113027409916616)}, &#8216;600585.SH&#8217;: {&#8216;volume&#8217;: 100, &#8216;price&#8217;: np.float64(33.16), &#8216;avg_price&#8217;: 33.9, &#8216;market_value&#8217;: np.float64(3315.9999999999995), &#8216;profit&#8217;: np.float64(-74.0000000000002), &#8216;profit_ratio&#8217;: np.float64(-0.02182890855457233)}, &#8216;000895.SZ&#8217;: {&#8216;volume&#8217;: 100, &#8216;price&#8217;: np.float64(25.520000000000003), &#8216;avg_price&#8217;: 24.46, &#8216;market_value&#8217;: np.float64(2552.0000000000005), &#8216;profit&#8217;: np.float64(106.00000000000023), &#8216;profit_ratio&#8217;: np.float64(0.04333605887162724)}}<br \/>\n2022\/5\/9 16:00\t947787.4707\t3653.4707\t944134\t-0.011760923\t3919.869\t{&#8216;600519.SH&#8217;: {&#8216;volume&#8217;: 300, &#8216;price&#8217;: np.float64(1557.0099999999998), &#8216;avg_price&#8217;: 1643.19, &#8216;market_value&#8217;: np.float64(467102.99999999994), &#8216;profit&#8217;: np.float64(-25854.000000000087), &#8216;profit_ratio&#8217;: np.float64(-0.05244676513367309)}, &#8216;600887.SH&#8217;: {&#8216;volume&#8217;: 14300, &#8216;price&#8217;: np.float64(32.940000000000005), &#8216;avg_price&#8217;: 34.77, &#8216;market_value&#8217;: np.float64(471042.00000000006), &#8216;profit&#8217;: np.float64(-26168.999999999975), &#8216;profit_ratio&#8217;: np.float64(-0.05263157894736837)}, &#8216;600585.SH&#8217;: {&#8216;volume&#8217;: 100, &#8216;price&#8217;: np.float64(32.96), &#8216;avg_price&#8217;: 33.9, &#8216;market_value&#8217;: np.float64(3296.0), &#8216;profit&#8217;: np.float64(-93.99999999999977), &#8216;profit_ratio&#8217;: np.float64(-0.027728613569321468)}, &#8216;000895.SZ&#8217;: {&#8216;volume&#8217;: 100, &#8216;price&#8217;: np.float64(26.93), &#8216;avg_price&#8217;: 24.46, &#8216;market_value&#8217;: np.float64(2693.0), &#8216;profit&#8217;: np.float64(246.9999999999999), &#8216;profit_ratio&#8217;: np.float64(0.10098119378577264)}}<br \/>\n \u8fd9\u662f daily_stats.csv<br \/>\ndatetime\tcode\taction\tprice\tvolume\tamount\tcommission\tstamp_tax\ttransfer_fee\tflow_fee\ttotal_asset\tcash\tmarket_value<br \/>\n2022\/5\/5\t600519.SH\tbuy\t1643.19\t300\t492957\t49.2957\t0\t0\t0\t985961.9832\t9732.9832\t976229<br \/>\n2022\/5\/5\t600887.SH\tbuy\t34.77\t14300\t497211\t49.7211\t0\t0\t0\t985961.9832\t9732.9832\t976229<br \/>\n2022\/5\/5\t002415.SZ\tbuy\t34.81\t14300\t497783\t49.7783\t0\t0\t0\t985961.9832\t9732.9832\t976229<br \/>\n2022\/5\/5\t601888.SH\tbuy\t174.62\t2800\t488936\t48.8936\t0\t0\t0\t985961.9832\t9732.9832\t976229<br \/>\n2022\/5\/5\t000568.SZ\tbuy\t189.36\t2600\t492336\t49.2336\t0\t0\t0\t985961.9832\t9732.9832\t976229<br \/>\n2022\/5\/5\t002304.SZ\tbuy\t142.66\t3500\t499310\t49.931\t0\t0\t0\t985961.9832\t9732.9832\t976229<br \/>\n\u8fd9\u662ftrades.csv<br \/>\n\u4e3a\u4ec0\u4e485\u67085\u65e5\u7684\u4ea4\u6613\u8bb0\u5f55\u5bf9\u4e0d\u4e0a\uff0c\u5b98\u65b9\u7684\u53cc\u5747\u7ebf\u591a\u80a1\u7968_\u4f7f\u7528MA\u51fd\u6570.py\u7b56\u7565<\/p>\n","protected":false},"author":831,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"forum_category":"support","forum_views":109,"forum_upvotes":0,"forum_is_pinned":false,"forum_is_locked":false,"forum_is_solved":false,"forum_preview_image":"","forum_attachments":"[]","forum_poll":""},"class_list":["post-935","forum_topic","type-forum_topic","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/khsci.com\/khQuant\/wp-json\/wp\/v2\/forum-topics\/935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/khsci.com\/khQuant\/wp-json\/wp\/v2\/forum-topics"}],"about":[{"href":"https:\/\/khsci.com\/khQuant\/wp-json\/wp\/v2\/types\/forum_topic"}],"author":[{"embeddable":true,"href":"https:\/\/khsci.com\/khQuant\/wp-json\/wp\/v2\/users\/831"}],"replies":[{"embeddable":true,"href":"https:\/\/khsci.com\/khQuant\/wp-json\/wp\/v2\/comments?post=935"}],"wp:attachment":[{"href":"https:\/\/khsci.com\/khQuant\/wp-json\/wp\/v2\/media?parent=935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}