PTrade工具:一个功能为盘后统计持仓数量、总资产、持仓金额、仓位、日收益率、日盈亏的函数

大观量化
大观量化 以大见小,以小入微

0 People liked this article · 533 views

一个功能为盘后统计持仓数量、总资产、持仓金额、仓位、日收益率、日盈亏的函数,思路供参考,可以按实际需要改造。

使用方法,放在before_trading_start的最后面,如果不能理解这个说明,请不要购买。

正常下载需要使用电脑浏览器,手机浏览器无法下载。

List of attachments

收益率函数.txt

1KB

9.90

线上付款

Published on 2026-06-30 22:47

Disclaimers:

This document is written by 大观量化 Original published on 百果量化交流平台 ,The copyright belongs to the author。

Log in,More exciting content waiting for you to find,Contribute wonderful answers,Participate in comment interaction

go Sign in! No accountgoregister

大观量化
2026-07-05 18:29
@lzqm122617 我刚刚下载了,是有内容的。我现在再更新一下,如果你试了还是没有内容,那就找管理员退款吧。
lzqm122617
2026-07-05 18:22
付了款,下载为空文本,根本没内容
广告

Included in the column

Recommended content

article DMI指标详解
article 基于PTrade的交易策略框架结构
article PTrade系统里最常用的Python”字典“数据类型操作
article PTrade系统量化交易与回测的区别
article PTrade行业数据和函数资料
article 北向资金流向风向标(6.11-6.14)
article 精品策略分享(有给自己备下量化策略年货吗?)
article 用ptrade开发策略——聊聊我眼中的ptrade
article 网友的基于macd和唐奇安通道的交易策略