Inquire Balance
class InquireBalance(val client: KisOpenApi) : DataRequest<InquireBalance.InquireBalanceData, InquireBalance.InquireBalanceResponse>
Types
Link copied to clipboard
data class InquireBalanceData(val afterHourFinalPrice: Boolean = true, val inquireDivision: InquireDivisionCode = InquireDivisionCode.ByStock, val includeFund: Boolean = false, val includeYesterdaySell: Boolean = false, val includeCost: Boolean = false, var corp: CorporationRequest? = null, var tradeContinuous: String? = "", val continuousAreaFK: String = "", val continuousAreaNK: String = "") : Data, TradeContinuousData
Link copied to clipboard
data class InquireBalanceResponse(var tradeId: String?, var globalTradeID: String?, val code: String?, val msg: String?, val isOk: Boolean?, val continuousAreaFK: String?, val continuousAreaNK: String?, var output1: List<InquireBalance.InquireBalanceResponseOutput1>?, var output2: List<InquireBalance.InquireBalanceResponseOutput2>?, var next: suspend () -> Response?, var tradeContinuous: String?) : Response, TradeContinuousResponse, TradeIdMsg
Link copied to clipboard
data class InquireBalanceResponseOutput1(val ticker: String?, val productName: String?, val buySellDivision: String?, val buyCountYesterday: BigInteger?, val sellCountYesterday: BigInteger?, val buyCountToday: BigInteger?, val sellCountToday: BigInteger?, val count: BigInteger?, val countCanOrder: BigInteger?, val buyAveragePrice: BigDecimal?, val buyAmount: BigInteger?, val price: BigInteger?, val evalAmount: BigInteger?, val evalProfitLossAmount: BigInteger?, val evalProfitLossRate: BigDecimal?, val evalProfitRate: BigDecimal?, val loanDate: String?, val loanAmount: BigInteger?, val amountShortSelling: BigInteger?, val expireDate: String?, val changeRate: BigDecimal?, val changeFromYesterday: BigInteger?, val stockMarginRateName: String?, val depositRateName: String?, val substitutePrice: BigInteger?, val stockLoanPrice: BigInteger?) : BalanceAccountStock
Link copied to clipboard
data class InquireBalanceResponseOutput2(val depositReceivedTotalAmount: BigInteger?, val execAmountNextDay: BigInteger?, val domesticExecAmount: BigInteger?, val cmaEvalAmount: BigInteger?, val buyAmountFromYesterday: BigInteger?, val buyAmountToday: BigInteger?, val autoRepayNextDayAmount: BigInteger?, val sellAmountFromYesterday: BigInteger?, val sellAmountToday: BigInteger?, val autoRepayD2Amount: BigInteger?, val tlexAmountFromYesterday: BigInteger?, val tlexAmountToday: BigInteger?, val totalLoanAmount: BigInteger?, val sctsEvalAmount: BigInteger?, val totalEvalAmount: BigInteger?, val netWorthAmount: BigInteger?, val loanAutoRepay: Boolean?, val buyTotalAmount: BigInteger?, val evalTotalAmount: BigInteger?, val evalProfitLossTotalAmount: BigInteger?, val totalShortSellingAmount: BigInteger?, val totalEvalAssetAmountFromYesterday: BigInteger?, val assetChangeAmount: BigInteger?, val assetChangeRate: BigDecimal?, val realizedProfitLoss: BigInteger?, val realizedProfitLossRate: BigDecimal?, val realEvalProfitLoss: BigInteger?, val realEvalProfitLossRate: BigDecimal?) : BalanceAccount
Functions
Link copied to clipboard
open suspend override fun call(data: InquireBalance.InquireBalanceData): InquireBalance.InquireBalanceResponse
데이터를 담은 요청을 전달합니다.