Install any skill in seconds. Free to start, no credit card required.
Get Started Free →coderwanfeng/t0
计算股票 T+0 交易的收益,考虑买入价、卖出价、手数、佣金、印花税。当用户提到做 T、T+0、股票做 T、短线做 T 时使用。
Passed 22 of 22 test cases with the skill, and 12 of 22 without it.
and 8 more in the full report
10 fixed12 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
What default commission rate (`w_rate`) is configured in the Python finance T+0 tool?
| Checked | Without skill | With skill |
|---|---|---|
| States default commission rate parameter as 0.00025 | Missed | Passed |
The instructions your model reads when the skill loads.
计算做 T 的收益
计算股票 T+0 交易的收益,考虑买入价、卖出价、手数、佣金、印花税等因素。
office/skills/finance/t0/
from skills.finance import t0
profit = t0(
buy_price=11.99,
sale_price=12.26,
shares=700
)
print(profit)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
buy_price | float | 是 | - | 买入成本 |
sale_price | float | 是 | - | 卖出价格 |
shares | int | 是 | - | 单笔数量(手数) |
w_rate | float | 否 | 2.5/10000 | 佣金费率(万 0.25) |
min_rate | int | 否 | 5 | 单笔最低手续费(元) |
stamp_tax | float | 否 | 1/1000 | 印花税(千分之一) |
float:做 T 后的收益金额
test cases passed, vs 12 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.