skills/tushare-data-1.0.5/references/数据接口/期货数据/每日结算参数.md
wangyitong a65adcc2e5 Initial commit: merged, deduplicated, and vetted skill collection
Sources: extracted from two upstream archives (skill-repo, skills-main),
merged with the following policy:

- 15 broken symlinks (pointing to /Users/jameslee/.cc-switch/skills or
  ../../.agents/skills on a foreign machine) discarded
- 3 real name collisions with identical content (ai-pair, ifind-http-api,
  zhipu-websearch) kept as one copy
- Functional overlaps deduped keeping the strongest variant:
  - docx family: kept docx (official, full toolchain) + docx-cn
    (GB/T 9704 Chinese official-document constants),
    dropped docx_writer (no scripts, name collided with docx)
  - humanizer family: kept humanizer-zh (6 zh reference docs),
    dropped humanizer (en, redundant for CN workflow)
- Skills that only ran in a foreign environment removed:
  ablemind-ops, app-publish, hlb-design-system, openclaw-adj-skill,
  claude-driver
- alphapai excluded from this public repo because its SKILL.md hard-coded
  live credentials

Result: 25 skills, 572 files, ~7.5 MB.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 14:47:12 +08:00

5.4 KiB
Raw Blame History

结算参数


接口fut_settle 描述:获取每日结算参数数据,包括交易和交割费率等 限量单次最大返回1600行数据可根据日期循环总量不限制 积分用户需要至少2000积分才可以调取具体请参阅积分获取办法

输入参数

名称 类型 必选 描述
trade_date str N 交易日期 trade_date/ts_code至少需要输入一个参数
ts_code str N 合约代码
start_date str N 开始日期(YYYYMMDD格式下同)
end_date str N 结束日期
exchange str N 交易所代码

输出参数

名称 类型 默认显示 描述
ts_code str Y 合约代码
trade_date str Y 交易日期
settle float Y 结算价
trading_fee_rate float Y 交易手续费率
trading_fee float Y 交易手续费
delivery_fee float Y 交割手续费
b_hedging_margin_rate float Y 买套保交易保证金率
s_hedging_margin_rate float Y 卖套保交易保证金率
long_margin_rate float Y 买投机交易保证金率
short_margin_rate float Y 卖投机交易保证金率
offset_today_fee float N 平今仓手续率
exchange str N 交易所

接口示例


pro = ts.pro_api('your token')

df = pro.fut_settle(trade_date='20181114', exchange='SHFE')

数据示例

	ts_code     trade_date    settle  trading_fee_rate  trading_fee  \
0    CU1811.SHF   20181114  48840.00             0.050           0.0   
1    CU1812.SHF   20181114  48990.00             0.050           0.0   
2    CU1901.SHF   20181114  48980.00             0.050           0.0   
3    CU1902.SHF   20181114  48980.00             0.050           0.0   
4    CU1903.SHF   20181114  49020.00             0.050           0.0   
5    CU1904.SHF   20181114  49040.00             0.050           0.0   
6    CU1905.SHF   20181114  49150.00             0.050           0.0   
7    CU1906.SHF   20181114  49260.00             0.050           0.0   
8    CU1907.SHF   20181114  49200.00             0.050           0.0   
9    CU1908.SHF   20181114  49370.00             0.050           0.0   
10   CU1909.SHF   20181114  49350.00             0.050           0.0   
11   CU1910.SHF   20181114  49490.00             0.050           0.0   
12   AL1811.SHF   20181114  13695.00             0.000           3.0   
13   AL1812.SHF   20181114  13770.00             0.000           3.0   
14   AL1901.SHF   20181114  13775.00             0.000           3.0   
15   AL1902.SHF   20181114  13810.00             0.000           3.0   
16   AL1903.SHF   20181114  13860.00             0.000           3.0   
17   AL1904.SHF   20181114  13905.00             0.000           3.0   
18   AL1905.SHF   20181114  13950.00             0.000           3.0   
19   AL1906.SHF   20181114  13965.00             0.000           3.0   
20   AL1907.SHF   20181114  14015.00             0.000           3.0 

     delivery_fee  b_hedging_margin_rate  s_hedging_margin_rate  \
0            2.00                   0.20                   0.20   
1            2.00                   0.10                   0.10   
2            2.00                   0.07                   0.07   
3            2.00                   0.07                   0.07   
4            2.00                   0.07                   0.07   
5            2.00                   0.07                   0.07   
6            2.00                   0.07                   0.07   
7            2.00                   0.07                   0.07   
8            2.00                   0.07                   0.07   
9            2.00                   0.07                   0.07   
10           2.00                   0.07                   0.07   
11           2.00                   0.07                   0.07   
12           2.00                   0.20                   0.20   
13           2.00                   0.10                   0.10   
14           2.00                   0.07                   0.07   
15           2.00                   0.07                   0.07   
16           2.00                   0.07                   0.07   
17           2.00                   0.07                   0.07   
18           2.00                   0.07                   0.07   
19           2.00                   0.07                   0.07   
20           2.00                   0.07                   0.07 

     long_margin_rate  short_margin_rate  
0                0.20               0.20  
1                0.10               0.10  
2                0.07               0.07  
3                0.07               0.07  
4                0.07               0.07  
5                0.07               0.07  
6                0.07               0.07  
7                0.07               0.07  
8                0.07               0.07  
9                0.07               0.07  
10               0.07               0.07  
11               0.07               0.07  
12               0.20               0.20  
13               0.10               0.10  
14               0.07               0.07  
15               0.07               0.07  
16               0.07               0.07  
17               0.07               0.07  
18               0.07               0.07  
19               0.07               0.07  
20               0.07               0.07