Skip to main content

ScriptEngine Variables

Variable nameStateNote
leg_LEGNAME_ivSupported
leg_LEGNAME_strikeSupported
leg_LEGNAME_dteSupported
leg_LEGNAME_ditSupported
leg_LEGNAME_qtySupported
leg_LEGNAME_priceSupported
leg_LEGNAME_bidSupported
leg_LEGNAME_askSupported
leg_LEGNAME_deltaSupported
leg_LEGNAME_gammaSupported
leg_LEGNAME_rhoNot supported / Not plannedIBKR doesn’t provide Rho
leg_LEGNAME_thetaSupported
leg_LEGNAME_vegaSupported
leg_LEGNAME_wvegaSupported
acc_deltaNot supported / Not plannedDeprecated field.
acc_gammaNot supported / Not plannedDeprecated field.
acc_thetaNot supported / Not plannedDeprecated field.
acc_vegaNot supported / Not plannedDeprecated field.
acc_wvegaNot supported / Not plannedDeprecated field.
acc_rhoNot supported / Not plannedDeprecated field.
acc_pnlNot supported / Not plannedDeprecated field.
acc_marginNot supported / Not plannedDeprecated field.
navSupported
open_trades_cntSupported
days_in_tradeSupported
underlying_prevday_closeSupported
underlying_today_openNot supported / Planned
underlying_priceSupported
underlying_ivSupported
underlying_iv_rankSupportedDifference in calculations:MesoSim calculation uses all the values up until the point of calculation, while MesoLive uses IV values until last close.
underlying_iv_pctSupportedDifference in calculations:MesoSim calculation uses all the values up until the point of calculation, while MesoLive uses IV values until last close.
underlying_hvSupported
expiration_EXPNAME_dteSupported
expiration_EXPNAME_minSupported
expiration_EXPNAME_maxSupported
initial_cashNot supported / Not planned
minutes_after_openSupported
minutes_before_closeSupported
pos_deltaSupported
pos_gammaSupported
pos_in_flightNot supported / Planned
pos_pnlSupported
pos_rhoNot supported / Not planned
pos_thetaSupported
pos_vegaSupported
pos_wvegaSupported
pos_marginNot supported / Planned
User Specified VariablesSupported
External Data VariablesSupported