Calculate Bull Call Exit Pricing

Helper for determining the pricing for an exit position on a bull call spread

analysis_engine.build_exit_call_spread_details.build_exit_call_spread_details(ticker, close, num_contracts, low_strike, low_ask, low_bid, high_strike, high_ask, high_bid)[source]

Calculate pricing information for selling (closing-out) Vertical Bull Call Option Spread contracts

Parameters:
  • ticker – string ticker symbol
  • num_contracts – integer number of contracts
  • low_strike – float - strike for the low leg of the spread
  • low_ask – float - ask price for the low leg of the spread
  • low_bid – float - bid price for the low leg of the spread
  • high_strike – float - strike for the high leg of the spread
  • high_ask – float - ask price for the high leg of the spread
  • high_bid – float - bid price for the high leg of the spread