Computed Balance
fun ComputedBalance(cashAvailableForInvestment: Float?, cashAvailableForWithdrawal: Float?, totalAvailableForWithdrawal: Float?, netCash: Float?, cashBalance: Float?, settledCashForInvestment: Float?, unSettledCashForInvestment: Float?, fundsWithheldFromPurchasePower: Float?, fundsWithheldFromWithdrawal: Float?, marginBuyingPower: Float?, cashBuyingPower: Float?, dtMarginBuyingPower: Float?, dtCashBuyingPower: Float?, marginBalance: Float?, shortAdjustBalance: Float?, regtEquity: Float?, regtEquityPercent: Float?, accountBalance: Float?, openCalls: OpenCalls, realTimeValues: RealTimeValues)
Content copied to clipboard
Parameters
cashAvailableForInvestment
The cash available for investments
cashAvailableForWithdrawal
The cash available for withdrawal
totalAvailableForWithdrawal
The total amount available for withdrawal
netCash
The net cash balance
cashBalance
The current cash balance
settledCashForInvestment
The settled cash for investments
unSettledCashForInvestment
The unsettled cash for investments
fundsWithheldFromPurchasePower
The funds withheld from the purchasing power
fundsWithheldFromWithdrawal
The funds withheld from withdrawal
marginBuyingPower
The margin account buying power
cashBuyingPower
The cash account buying power
dtMarginBuyingPower
The day trader margin account buying power
dtCashBuyingPower
The day trader cash account buying power
marginBalance
The margin account balance
shortAdjustBalance
The short adjusted balance
regtEquity
The Regulation T equity
regtEquityPercent
The Regulation T equity percentage
accountBalance
The current account balance
Sources
jvm source
Link copied to clipboard