# 金融函数 - 期货 / 期货保证金 ## 函数 ### `futuresTradingMarginRate(end_t, margin_rate_type)` 期货交易保证金率(%),取自期货结算参数(表704)中小于或等于EndT-1的最后一条数据,与系统证券pn_stock()有关。 | 参数 | 类型 | 说明 | | ------------------ | -------- | ------------------ | | `end_t` | datetime | 日期,截止日 | | `margin_rate_type` | any | 整数,保证金率类型 | 返回:float ### `futuresMaintenanceMarginRate(end_t, margin_rate_type)` 期货结算保证金率(%),取自期货结算参数(表704)中小于或等于EndT的最后一条数据,与系统证券pn_stock()有关。 | 参数 | 类型 | 说明 | | ------------------ | -------- | ------------------ | | `end_t` | datetime | 日期,截止日 | | `margin_rate_type` | any | 整数,保证金率类型 | 返回:float