JUMP TOCTRL-/Getting StartedIntroductionIdempotent requestsRate limitsEvents via SQSErrorsEnumerationsAuthentication APIsAuthCreate Session TokenpostCreate Authentication TokenpostCore APIsUsersCreate UserpostRetrieve UsergetUpdate UserpatchRetrieve KYCgetDisclosuresList DisclosuresgetRetrieve DisclosuregetCreate User Disclosure AcknowledgmentpostList User Disclosures AcknowledgmentsgetAccountsCreate AccountpostRetrieve AccountgetUpdate AccountpatchList User AccountsgetRetrieve Account CashgetRetrieve Account SummarygetRetrieve Account PerformancegetRetrieve Account MargingetRetrieve Account LotsgetInstrumentsList InstrumentsgetRetrieve InstrumentgetRetrieve Instrument Options ChaingetRetrieve Instrument Option ExpirationgetSearch InstrumentspostOrdersList Account OrdersgetList Account OrdersgetCreate OrderpostRetrieve OrdergetUpdate OrderpatchRetrieve Order by Order NumbergetPositionsList Account PositionsgetTransactionsRetrieve Account Transaction SummarygetList Account TransactionsgetExchangesCreate Instrument ExchangepostUpdate Instrument ExchangepatchList Account Instrument Exchanges.getRetrieve Account Instrument Exchange HistorygetCommission SchedulesList Commission SchedulesgetEmbedded disclosuresSupported CountriesList Supported CountriesgetAccount Management APIsViolationsList Account ViolationsgetRetrieve Account Violations SummarygetStatementsList Account StatementsgetList Account Tax StatementsgetRetrieve StatementgetList Account Trade ConfirmationsgetBeneficiariesCreate Account BeneficiariespostRetrieve Account BeneficiariesgetDelete Account BeneficiariesdeletePhysical DocumentsUpload Physical DocumentpostList User Physical DocumentsgetRetrieve Physical Document URLgetCancel RebillCreate Cancel RebillpostList Cancel RebillsgetRetrieve Cancel RebillgetMoney Movement APIsLinked Bank AccountsList User Linked Bank AccountsgetLink Bank AccountpostRetrieve Linked Bank AccountgetUpdate Linked Bank AccountpatchDelete Linked Bank AccountdeleteVirtual Bank AccountsRetrieve Account Virtual Bank AccountgetDepositsList Account DepositsgetList User DepositsgetList User Recurring DepositsgetCreate DepositpostRetrieve DepositgetRetrieve Recurring DepositsgetUpdate Recurring DepositpatchDelete Recurring DepositdeleteDeposit StatusWithdrawalsList Account WithdrawalsgetList User WithdrawalsgetCreate WithdrawalpostList WithdrawalsgetRetrieve WithdrawalgetWithdrawal StatusAsset TransferCreate ACATS TransferpostCreate Minor Graduation TransferpostRetrieve TransfergetList TransfersgetSettlementsRetrieve SettlementsgetRetrieve SettlementgetList Cashless ReconciliationsgetRetrieve Cashless ReconciliationgetUpdate Cashless ReconciliationpatchList Bulk SettlementsgetRetrieve Bulk SettlementgetUpdate Bulk SettlementpatchCreate DVP RVP ReportpostList DVP RVP ReportsgetRetrieve DVP RVPgetSubscriptionsCreate SubscriptionpostList Subscriptions by UsergetDelete SubscriptiondeleteMarket Data APIsQuotesRetrieve Quote (referential feed)getRetrieve Quote (consolidated feed)getChartsRetrieve ChartgetDepth of BookRetrieve Depth of BookpostAdvisor APIsTrade AllocationsCreate Trade AllocationpostRetrieve Trade AllocationgetList Trade Allocations by AdvisorgetAdvisor ReportsList Orders by AdvisorgetList Allocations by AdvisorgetRetrieve Beginning Of Day (BOD) by AdvisorgetFundsCreate FundpostRetrieve FundgetList Funds by AdvisorgetPortfoliosCreate PortfoliopostRetrieve PortfoliogetUpdate PortfoliopatchList Portfolios by AdvisorgetAutoPilotCreate Autopilot RunpostRetrieve Autopilot RungetRetrieve Portfolio by AccountgetList AutoPilot Runs by AdvisorgetEventsAccount EventsAsset Transfer EventsCancel Rebill EventsCorporate Actions EventsMerger & Acquisitions EventsSpinoff EventsStock Split EventsTicker Symbol Change EventsVoluntary Tender EventsInvoluntary Tender Offer EventsGoing Private EventsDividend EventsBond Redemption EventsCoupon EventsDeposit EventsInstrument EventsKYC EventsLinked Bank Account EventsOrder EventsPosition EventsSettlement EventsStatement EventsTransaction EventsUser EventsViolation EventsWithdrawal EventsRetrieve Account Marginget https://bo-api.drivewealth.io/back-office/accounts/{accountID}/summary/marginRetrieves Account Margin details by accountID.Path ParamsaccountIDstringrequiredThe user's unique account identifier.Response 200Retrieving an Account Margin details by accountID was Successful.Response bodyobjectaccountIDstringThe user's unique account identifier.accountNostringThe user's unique account number, that is human readable.tradingTypestringThe type of trading the account will participate in. CASH MARGINupdatedstringTime of last update.marginobjectmarginRequirementnumberLeverage amounts. 0.5 = 2:1 Leverage. 1 = 1:1 Leverage 0.5 1longMarketValuenumberA real-time dollar value of current holdings.debitBalancenumberReal-time dollar value of debt; positive dollar amount is a debit balance, negative dollar amount is a credit balance.equitynumberReal-time dollar value of equity; calculated as longMarketValue – debitBalance.equityFractionnumberEquity as a fraction of long market value; calculated as equity ÷ longMarketValue.equityRequirednumberMinimum equity required to stay above a HOUSE margin call. If the account is in a margin call (HOUSE or EXCHANGE) this field will not appear here, but instead appear in the marginCall object.accruedInterestnumberNEEDS DESCRIPTIONbodDTBPnumber | nullThe Day Trading Buying Power (DTBP) in dollars at the beginning of day.patternDayTraderbooleanNEEDS DESCRIPTIONrestrictedbooleanAccount becomes restricted (set to true) if equity is less than 50% of long market value (this is essentially a warning, at 35% the account will be in HOUSE margin call).daySMAnumberCurrent SMA using traditional calculations – Start with beginning of day SMA and update with deposits and withdrawals as well as stock buys and sells during the day. Deposits increase and withdrawals decrease SMA dollar for dollar. Buys increase and sells decrease SMA by 50% of trade dollar value.rtExcessEquitynumberEquity in excess of equityRequired calculated in real time (more is good).effectiveSMAnumberThe lower of margin.daySMA and margin.rtExcessEquity. This is risk protection for the user as well as DriveWealth. Using only margin.daySMA for lending on margin has the disadvantage that the SMA can become inflated if the market drops from start of day. If user's were to use their entire daySMA to buy stock on a day when the market drops, they are immediately placed into a HOUSE CALL. The margin.rtExcessEquity prevents that from happening by lending them only a (reduced) amount that would place them above a HOUSE margin call. That is the risk protection provided to both parties.noBuyingPowerReasonstringReason indicating why the user has no buying power: MIN_MARGIN_EQUITY_NOT_MET - margin.equity is less than $2,000 and margin.debitBalance is greater than $0 EFFECTIVE_SMA_ZERO - SMA is $0 HOUSE_CALL - margin.equityfFaction is less than 35% (required house equity) EXCHANGE_CALL - margin.equityfFaction is less than 25% (required exchange equity) * RESTING_ORDERS_WILL_TRIGGER_HOUSE_MARGIN_CALL - Market dropped after resting orders were placed, and will trigger house call if filled.marginCallobjectObject of margin call calculations. Will only appear if noBuyingPowerReason is equal to MIN_MARGIN_EQUITY_NOT_MET or HOUSE_CALL or EXCHANGE_CALLrestingOrdersnumberTotal dollar value committed in resting orders that reduces the effectiveSMAUpdated 10 months ago Retrieve Account PerformanceRetrieve Account LotsDid this page help you?YesNo