
Start Here
Platform

Tour
Bots 101How it worksLive demo
Tools
Automated tradingOptions backtestingWatchlist scannerPrivate community
Use cases
New investorsStock tradersActive tradersPassive investorsSwing tradersAlgorithmic traders

Templates
By trade type
Stock trading botsOptions trading bots
By strategy type
Bullish options strategiesNeutral options strategiesBearish options strategiesHedging strategies
By style
Active and high frequency botsEvent-based botsTrend trading botsMomentum trading botsStatistic and probability-based botsTechnical analysis botsEarnings strategy bots

Integrations

Pricing
Education

Courses
Overview
By experience
Beginner
What is an options contract?Stock trading vs. options tradingOptions contract specificsCall vs. put options basicsBuying options vs. selling optionsOptions profit and loss diagramsOptions pricing tablesOption moneyness (ITM, OTM, and ATM)Options pricing and the "Greeks"Options expiration and assignmentWhat's our "edge" trading options?Single vs. multi-leg options strategiesSmall account options strategies
Intermediate
Fearless, confident options tradingHistorical volatility vs. implied volatilityPredicting market movesTrade size and capital reservesPortfolio balance and beta weightingHow to choose the best options strategyHow far out to place trades?Strike price anchoring with probabilitiesTips on getting your trades filledAdvanced and contingent orders7 step options trade entry checklist
Advanced
Developing a daily trading routineHow to avoid "Black Swan" eventsAdjusting and hedging option tradesExiting options trades automaticallyOptions strategies we don't adjust (and why)Big picture adjustment strategyWhen to adjust or notAdjusting straddles and stranglesAdjusting credit spreads, iron condors, and calendarsSmarter stop-loss ordersBuilding a diversified options portfolioRolling options trades for duration and premiumOptions expiration week position checklistDealing with stock assignment and dividendsHow to free up trading margin and cash
By subject
Options basics
Why options vs. stocks?What is an options contract?Smart use of leverageOption strike priceOption premiumOption expirationOption contract multiplierProfit and loss diagramsLong call option explainedShort call option explainedLong put option explainedShort put option explainedATM, ITM, and OTM optionsCash vs. margin basicsHigh probability trading definedHow to buy a call optionHow to buy a put optionSingle-leg vs. multi-legWhat is the VIX?Is fundamental analysis dead?
Entering and exiting trades
Game of numbers7 step entry checklistStrong liquidity examplesPicking the next directionScanning for tradesOption pricing table basicsSetting up your trade tabPinning your probability of profitUsing delta for probabilitiesBuy to open vs sell to openBuy to close vs sell to closeMarket, limit, stop loss orders5 types of contingent ordersLimit ordersMarket ordersLimit on close ordersMarket on close ordersAdvanced contingent ordersTaking profits before expirationMechanics of rollingConsider future events
Options expiration
Options expiration explainedWhat is the Options Clearing Corporation (OCC)?Physical vs. cash settlement optionsAmerican vs. European style optionsWeekly options expirationWeekly expiration tags/codesOptions assignment processOptions exercise processTrading timeline (duration)
Bullish options strategies
Bull put spreadBull call spreadLong callShort putBull call backspreadPut broken wing butterflyCall calendar spreadPut diagonal spreadCustom naked putCovered callSynthetic long stock
Neutral options strategies
Short straddleLong straddleIron condorsShort strangleLong strangleIron butterflyUnbalanced iron condors
Bearish options strategies
Bear call spreadBear put spreadLong putShort callBear put backspreadCall broken wing butterflyPut calendar spreadCall diagonal spreadCustom naked callCovered putSynthetic short stock
Portfolio managmeent
No guaranteed tradesDon't do something, sit thereAccount size adjustmentsAvoiding stock market overloadStocks, indexes, & ETFsMonitoring positionsCreating automatic alertsIndividual stock betaPortfolio betaBeta weighting your portfolioUncorrelated industries/sectorsSystematic vs. unsystematic riskEfficient portfolio frontierLimiting undefined risk tradesEconomic calendarConcept of legging
Options pricing and volatility
How to find option price quotesUnderstanding the mathIV vs. IV percentileProbability of profit vs. probability of touchOption probability curveBid-ask spread definedIV expected vs. actual moveThe "Greeks"Fatal pricing errorsInverse ETFsOptions parity
Adjusting trades
#1 adjustment for any tradeWhen to adjust a tradeSingle options trade vs. overall portfolioLeveraging the analyze tabCall spread adjustmentsPut spread adjustmentsShort strangle adjustmentsIron condor adjustmentsShort straddle adjustmentsCalendar spread adjustmentsDebit spread adjustmentsButterfly adjustmentsUsing stop lossesDelta hedgingRolling positionsPairs hedging

Strategies
Long callLong putShort callShort putCovered callCovered putProtective putCollar strategyLEAPSBull call debit spreadBear call credit spreadBull put credit spreadBear put debit spreadLong straddleShort straddleLong strangleShort strangleCall calendar spreadPut calendar spreadIron condorReverse iron condorIron butterflyReverse iron butterflyCall butterflyPut butterflyStrapCall diagonal spreadPut diagonal spreadCall ratio spreadPut ratio spreadCall backspreadPut backspreadLong box spreadShort box spreadReversalStock repair

Topics
OverviewAsset allocationAutomated tradingBehavioral financeBrokersCandlestick patternsChart patternsDividendsEconomic indicatorsEquity investmentsExercise & assignmentFinancial analysisFinancial historyFinancial marketsFinancial modelingFinancial theoriesFundamental analysisFuturesInvestment accountsInvestment taxesInvestor biasesMarket holidaysMarket hoursMarket indexesMarket indicatorsMomentum tradingOptionsOptions pricingOptions settlementPortfolio managementRisk managementStocksStock marketTechnical analysisTechnical indicatorsTrading commissionsTrading platformsTrading psychologyTrend trading
Resources

Workshops

Podcast

Blog
Support

Help Center
Overview
Getting started
What is a bot?Creating a botAutomation typesAutomation editorBot dashboardBot positionsBot logTemplates and cloningKey conceptsSafeguards and limitsPower of botsBest practices
Bot automations
What is an automation?Scanner automationsMonitor automationsEvent automationsEditing automationsReusing automationsCopying automationsOrdering automationsUsing custom inputsBot level inputsAutomation statusesAutomations library
Bot actions
DecisionsOpen positionClose positionNotificationsLoop symbolsLoop positionsBot tagsPosition tags
Bot examples
Genesis 1.0 botGenesis 2.0 botGenesis 3.0 botTrend trading with stocks botPortfolio trend trading botTrend trading with options botMultiple moving averages botTechnical swing trading botTrend and momentum botWeekly credit spread botRecurring iron condors botThe "Honey Badger" botHybrid spreads botHigh IV rank iron condor bot
Decision recipes
Comparing underlying symbol priceEvaluating symbol typeComparing underlying symbol propertiesEvaluating underlying symbol performanceEvaluating underlying symbol standard deviationComparing underlying symbol price to an indicatorComparing multiple underlying symbol indicatorsEvaluating underlying symbol implied volatility rankEvaluating underlying symbol earnings reportingEvaluating underlying symbol price probabilityEvaluating underlying symbol probability within rangeEvaluating bot propertiesEvaluating bot available capital for opportunitiesComparing bot position count to position typeComparing bot position count to underlying symbolEvaluating bot position count to position type and underlying symbolEvaluating bot last position activityEvaluating bot last activity with underlying symbolComparing bot active orders statusComparing bot active orders status with underlying symbolEvaluating bot position availabilityEvaluating bot tagsEvaluating opportunity availabilityEvaluating opportunity return expectationsComparing opportunity attributesComparing opportunity leg attributesComparing opportunity bid-ask spreadEvaluating opportunity probabilitiesEvaluating position performanceComparing profit target to trailing valueComparing position time to expirationComparing position durationEvaluating position underlying symbolComparing position propertiesComparing position leg propertiesEvaluating position typeEvaluating position sideComparing underlying symbol price to position legEvaluating position tagsEvaluating underlying symbol indicator propertiesComparing multiple underlying symbol indicator propertiesEvaluating MACD technical indicatorComparing Bollinger Bands to symbol priceEvaluating stochastic technical indicatorComparing VIX propertiesEvaluating market time of the dayEvaluating days of the weekEvaluating bot switches
Position statement
Activity summaryPosition detailsTrade detailsOpened positionsClosed positionsCanceled positionsOverride positionsExpired positionsPosition historyManually open positionManually close positionImport position
Order pricing
SmartPricingFinal price settingsPosition summaryOrder detailsWorking ordersManual override
Bot templates
Creating new templatesUpdating existing templatesDeleting templatesSharing templatesUpdating shared templatesTemplate best practices
Cloning bots
Cloning existing botsCloning from templateCloning from shared template
Troubleshooting
Using bot logsTesting your botsNot enough capital warningDaily position limit warningTotal position limit warningPricing anomaly warningMissing or invalid input errorDaily symbol limit errorExcessive errors failsafeOverlapping strikes failsafePrice exceeds strike-difference errorOptions expiration protocolDuplicate orders errorOptions approval level errorBot event loopsStock splits and corporate actionsSupported browsersSupported countries
Community forum
Community guidelinesCrafting your introductionSending group messagesSending private messagesAttaching bot templatesReceiving bot templatesAttaching automationsReceiving automationsFollowing tradersPosting publiclyEditing posts and messagesSubscribed discussionsUsing bookmarks
Using backtester
Running a new backtestBacktesting results summaryModifying existing backtestsMy backtestsBacktesting research databaseTop backtestsBacktesting errors
Account settings
My profileTrading accountsConnecting to TDAmeritradeConnecting to TradeStationConnecting to TradierIncompatible accountsPassword managementSession timeoutTwo-step authentication
Technical docs
Infrastructure and securityAutomation structureAutomation behaviorData feedsOrder handlingTrade enforcementsBroker rejection errorsBot limitationsProfit and lossFair value pricingDecision propertiesDecision calculationsParameter selectionCalculating probabilityPlatform indicators

Contact
Send FeedbackReport IssueEmail Us
Option AlphaOption Alpha

LoginFree Trial
EducationInvestment AccountsMargin

Margin

Margin is capital an investor deposits as collateral to borrow from a brokerage.

Margin is capital an investor deposits as collateral to borrow from a brokerage firm. Margin allows investors to buy additional securities by increasing their purchasing power, which creates the potential for higher returns on invested capital. The potential for higher returns also brings higher risk associated with using margin. Purchasing securities on margin uses leverage. Leverage magnifies returns, both positively and negatively. 

When buying on margin, an investor is only required to front a percentage of the security’s total cost and is lent the remaining balance from the broker. Assets already held in the account are used as collateral for the loan.

Margin is calculated by subtracting the market value of all assets under ownership by the cost of the security being purchased. To make a margin purchase, an investor must have a margin account and pay interest on the margin loan. The interest rate on the margin loan is referred to as the call money rate. 

The amount deposited in the account by the investor is called the margin. The amount borrowed for the margin purchase is called the margin loan and is charged interest based on the call money rate. Typically, an investor pays the call money rate plus a spread for margin loans. The call money rate and the additional spread varies from broker to broker.

The percentage of the security’s total cost that must be deposited varies by security type, broker, and the volatility of the security. Minimum initial margin requirements are set by Federal Reserve Board Regulation T. Brokers may require initial margin above Regulation T minimums. Typically, the more volatile the security, the higher the initial margin requirement. The minimum initial deposit to establish a margin account at most brokerage firms is $2,000.

Initial Margin

Initial margin is the percentage of a security’s price that an investor is required to have in cash and/or collateral in their account as margin to purchase a security. 

For example, if the initial margin requirement is 50% and an investor wants to purchase $50,000 worth of stock, they must deposit or have at least $25,000 worth of collateral in the account, and the remaining $25,000 could be borrowed from the broker.

Example of initial margin

Maintenance Margin

The maintenance margin is the amount of capital that must be available in the account to hold positions purchased on margin. 

For example, if the maintenance margin is 30%, once a security has been purchased, the investor must continually have available equity in the account to cover at least 30% of the security. The maintenance margin exists to protect the brokerage firm from outsized losses should the underlying security decrease in price. 

If the stock price rises and the shares’ value increases to $60,000, the investor could pay back the initial margin of $25,000, with interest, and keep the remaining $35,000 as profit. The leverage provided by margin creates a 40% return on investment, even though the stock only rose 20% in price.

Example of maintenance margin when stock price increases

If the value of the purchased security decreases 20% from $50,000 to $40,000, the investor’s equity collateral, not the borrowed funds, absorbs the loss. If the position were closed, the $25,000 loan from the broker is paid off with the asset’s sale, and the investor is left with $15,000, a 40% decline in account value.

Example of maintenance margin when stock price decreases

If the stock price declines, the value of the investor’s account declines as well, and they may no longer be able to cover the maintenance margin and would receive a margin call.

Margin Call

A margin call occurs when there is not enough margin in an account to cover the broker’s maintenance margin requirements. Margin calls come from the lending brokerage firm and are a request for more funds to be added to the account to offset losing positions.

For example, assume the maintenance margin requirement is 30%. If the equity in the position dips below 30% of the position’s value, the account is subject to a margin call. In the example below, the share price drops from $100 to $70. The margin loan amount remains the same ($25,000) and the account equity absorbs the loss on the shares (now $10,000 from the initial $25,000). The account equity is $10,000 compared to the position value of $35,000. $10,000 divided by $35,000 is 28.57%. Additional equity must be deposited in the account to at least meet the maintenance margin requirement of 30%.

Example of maintenance margin when a margin call is required

‍

Margin Expansion

Margin expansion occurs when the underlying security experiences high volatility. 

Margin requirements for positions with undefined risk is not static--increased volatility results in higher margin requirements because the underlying security could make above-average price moves. Therefore, the margin requirements on undefined risk positions may increase during periods of high volatility and the investor will need to have more liquid assets available should the price of the stock go against their position.

Portfolio Margin

Portfolio margin takes active positions in the account into consideration when calculating margin requirements. Portfolio margin is used in derivative accounts with futures, options, and swaps. Portfolio margin manages the lender’s risk by consolidating positions of the overall account into a single portfolio risk. 

The borrowing capacity for an investor is increased with portfolio margin because of the holistic approach to initial margin calculation. If the portfolio is showing a net profit from live positions, the positive gains can be used to offset losing positions and allows the investor increased leverage to borrow more margin. Portfolio margin makes hedging much less expensive, because it aggregates the entire portfolio, not just singular positions. 

Portfolio margin is potentially available to investors with significant investment experience and sufficient account value. For example, an investor may have to pass a test provided by a broker to ensure they understand the risks of portfolio margin and have an account value greater than $100,000.

Join 200k+ options traders
Thank you! Please check your email!
Oops! Something went wrong...
Be the first to get notified when we publish new updates.

FAQs

How do you calculate the initial margin?

Initial margin is the percentage of a security’s price that an investor is required to have in cash and/or collateral in their account as margin to purchase a security.

For example, if the initial margin requirement is 50% and an investor wants to purchase $50,000 worth of stock, they must deposit or have at least $25,000 worth of collateral in the account, and the remaining $25,000 could be borrowed from the broker.

How do you calculate the maintenance margin?

The maintenance margin is the amount of capital that must be available in the account to hold positions purchased on margin. For example, if the maintenance margin is 25%, once a security has been purchased, the investor must continually have available equity in the account to cover at least 25% of the security.

What is the difference between margin and portfolio margin?

Margin is capital an investor deposits as collateral to borrow from a brokerage. Margin allows investors to buy additional securities beyond their purchasing power, which creates the potential for higher returns on invested capital. The potential for higher returns also brings higher risk associated with using margin.

When buying on margin, an investor is only required to front a percentage of the security’s total cost and is lent the remaining balance from the broker. Assets already held in the account are used as collateral for the loan. Margin is calculated by subtracting the market value of all assets under ownership by the cost of the security being purchased.

Portfolio margin takes active positions in the account into consideration when calculating margin requirements. Portfolio margin is used in derivative accounts with futures, options, and swaps. Portfolio margin manages the risk of the lender by consolidating positions of the overall account into a single portfolio risk.

The borrowing capacity for an investor is increased with portfolio margin because of the holistic approach to initial margin calculation. If the portfolio is showing a net profit from live positions, the positive gains can be used to offset losing positions and allows the investor increased leverage to borrow more margin.

What is a portfolio margin account?

Portfolio margin takes active positions in the account into consideration when calculating margin requirements. Portfolio margin is used in derivative accounts with futures, options, and swaps. Portfolio margin manages the lender’s risk by consolidating positions of the overall account into a single portfolio risk.

The borrowing capacity for an investor is increased with portfolio margin because of the holistic approach to initial margin calculation. If the portfolio is showing a net profit from live positions, the positive gains can be used to offset losing positions and allows the investor increased leverage to borrow more margin.

Portfolio margin makes hedging much less expensive because it aggregates the entire portfolio, not just singular positions.

How do I stop a margin call?

A margin call occurs when there is not enough margin in an account to cover the broker’s margin requirements. Margin calls come from the lending brokerage firm and are a request for more funds to be added to the account to offset losing positions.

To prevent a margin call, an investor must deposit additional funds in the account or select assets to sell to raise cash. If the investor is unable to deposit the necessary funds in time or does not liquidate assets, brokers will sell assets in the account at market value to raise capital until the margin requirement is met.

On this page
Initial Margin
Maintenance Margin
Margin Call
Margin Expansion
Portfolio Margin
FAQs
Share this





No-code, fully automated trading for stocks and options.

HomeAboutLegalStatusContact
©2022 Option Alpha. All Rights Reserved. Patent Pending USSN 63/118,547