Portfolio_GetMarginPerContract
此功能仅能在信号中,并且搭配Portfolio Backtester使用。
若使用者选用固定保证金值,但QM中的商品属性并未设定保证金,则 Portfolio_GetMarginPerContract 返回值是0。
若使用者选用固定保证金值,并与QM中的编辑商品》期货设定保证金为$25,则 Portfolio_GetMarginPerContract 返回值是25。
若使用者选用保证金占%N的合约价值,并设定保证金为10%的合约价值,则 Portfolio_GetMarginPerContract 返回值是-10。