<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Optimizing the annualized return of a stock option strategy by find the best result of variable inputs in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Optimizing-the-annualized-return-of-a-stock-option-strategy-by/m-p/212086#M1061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm working on a project of backtesting the strategy of Put Collar Spread (buying a put option at a lower delta (let's say -0.5 delta), selling a put option at a higher delta (-0.4) and selling a call to cover the cost of that put spread). The following is the variables setting in the code. &lt;/P&gt;&lt;P&gt;*********************&amp;nbsp; variables setting *************************;&lt;/P&gt;&lt;P&gt;%let ticker=SPY;&lt;/P&gt;&lt;P&gt;%let TTM_B=28;&lt;/P&gt;&lt;P&gt;%let TTM_E=35;&lt;/P&gt;&lt;P&gt;%let longtype=P; * trade on call or put spreads;&lt;/P&gt;&lt;P&gt;%let longdelta=-0.50; * choose what delta to buy;&lt;/P&gt;&lt;P&gt;%let shorttype=P; * trade on call or put spreads;&lt;/P&gt;&lt;P&gt;%let shortdelta=-0.40; * choose what delta to short;&lt;/P&gt;&lt;P&gt;%let hedgetype=C; * hedge based on call or put;&lt;/P&gt;&lt;P&gt;%let iv_limit=1;&lt;/P&gt;&lt;P&gt;%let target_ret=0.12; * annual;&lt;/P&gt;&lt;P&gt;%let RF=0.01; * the risk free rate;&lt;/P&gt;&lt;P&gt;%let months=60;&lt;/P&gt;&lt;P&gt;*****************************************************************&lt;/P&gt;&lt;P&gt;Is there anyone know how I can to find the optimized combination of longdelta (which is the put option I buy) and shortdelta (which is the put option I sell) to reach the best annualized return of this strategy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Venus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2015 21:13:19 GMT</pubDate>
    <dc:creator>Venus</dc:creator>
    <dc:date>2015-07-27T21:13:19Z</dc:date>
    <item>
      <title>Optimizing the annualized return of a stock option strategy by find the best result of variable inputs</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Optimizing-the-annualized-return-of-a-stock-option-strategy-by/m-p/212086#M1061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm working on a project of backtesting the strategy of Put Collar Spread (buying a put option at a lower delta (let's say -0.5 delta), selling a put option at a higher delta (-0.4) and selling a call to cover the cost of that put spread). The following is the variables setting in the code. &lt;/P&gt;&lt;P&gt;*********************&amp;nbsp; variables setting *************************;&lt;/P&gt;&lt;P&gt;%let ticker=SPY;&lt;/P&gt;&lt;P&gt;%let TTM_B=28;&lt;/P&gt;&lt;P&gt;%let TTM_E=35;&lt;/P&gt;&lt;P&gt;%let longtype=P; * trade on call or put spreads;&lt;/P&gt;&lt;P&gt;%let longdelta=-0.50; * choose what delta to buy;&lt;/P&gt;&lt;P&gt;%let shorttype=P; * trade on call or put spreads;&lt;/P&gt;&lt;P&gt;%let shortdelta=-0.40; * choose what delta to short;&lt;/P&gt;&lt;P&gt;%let hedgetype=C; * hedge based on call or put;&lt;/P&gt;&lt;P&gt;%let iv_limit=1;&lt;/P&gt;&lt;P&gt;%let target_ret=0.12; * annual;&lt;/P&gt;&lt;P&gt;%let RF=0.01; * the risk free rate;&lt;/P&gt;&lt;P&gt;%let months=60;&lt;/P&gt;&lt;P&gt;*****************************************************************&lt;/P&gt;&lt;P&gt;Is there anyone know how I can to find the optimized combination of longdelta (which is the put option I buy) and shortdelta (which is the put option I sell) to reach the best annualized return of this strategy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Venus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 21:13:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Optimizing-the-annualized-return-of-a-stock-option-strategy-by/m-p/212086#M1061</guid>
      <dc:creator>Venus</dc:creator>
      <dc:date>2015-07-27T21:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing the annualized return of a stock option strategy by find the best result of variable inputs</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Optimizing-the-annualized-return-of-a-stock-option-strategy-by/m-p/212087#M1062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first step is to express your desired objective function (annualized return) in terms of your decision variables longdelta and shortdelta.&amp;nbsp; Also, are there bounds on these variables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 21:45:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Optimizing-the-annualized-return-of-a-stock-option-strategy-by/m-p/212087#M1062</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2015-07-27T21:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing the annualized return of a stock option strategy by find the best result of variable inputs</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Optimizing-the-annualized-return-of-a-stock-option-strategy-by/m-p/212088#M1063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how to express annualized return by using longdelta and shortdelta since when I change one delta, the entire selected data which will be assessed in the SAS will be changed. &lt;/P&gt;&lt;P&gt;The bound for delta would be (-1,0).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 22:12:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Optimizing-the-annualized-return-of-a-stock-option-strategy-by/m-p/212088#M1063</guid>
      <dc:creator>Venus</dc:creator>
      <dc:date>2015-07-27T22:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing the annualized return of a stock option strategy by find the best result of variable inputs</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Optimizing-the-annualized-return-of-a-stock-option-strategy-by/m-p/212089#M1064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how to express annualized return by using longdelta and shortdelta because when I change delta, the entire data which will be processed will change as well. There is no clear direct relationship between delta and annualized return. Could you explain further how I can define the annualized return by using delta variables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bound for delta is (-1,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 22:27:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Optimizing-the-annualized-return-of-a-stock-option-strategy-by/m-p/212089#M1064</guid>
      <dc:creator>Venus</dc:creator>
      <dc:date>2015-07-27T22:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing the annualized return of a stock option strategy by find the best result of variable inputs</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Optimizing-the-annualized-return-of-a-stock-option-strategy-by/m-p/212090#M1065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe it will help if you can post the code that computes the annualized return.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 00:12:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Optimizing-the-annualized-return-of-a-stock-option-strategy-by/m-p/212090#M1065</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2015-07-28T00:12:34Z</dc:date>
    </item>
  </channel>
</rss>

