What is IV?

Discussion in 'Options' started by morganpbrown, Sep 16, 2021.

  1. zghorner

    zghorner

    Just to reiterate (i know i am not on your level but it helps me learn to engage in conversation)...

    [​IMG]
     
    #21     Sep 17, 2021
  2. newwurldmn

    newwurldmn

    I got into Rice to study CS (but I would have been a year or two behind you). The signs pointed me in another direction however.
     
    #22     Sep 17, 2021
  3. Hah, by comparison to some of the folks here, I'm just recently hatched and still drying my feathers. :) So "my level"... yeah, anyway. :D Just reiterating this so I get it nailed down in my own head. But I do like Cottle quite a bit; reading him was a great help in understanding synthetics and practical conversion strategies. I also really like the above description.
     
    #23     Sep 17, 2021
    zghorner likes this.
  4. Nice - thanks! I can't find anything about "power vega", but I can more-or-less visualize the surface. Seems a useful concept.

    (Dammit, something's wrong with my Python/PySpark notebook server, or I'd go ahead and generate it. Would be nice to see how it behaves OTM/ATM/ITM. Oh well... I'll fiddle with it after RTH.)
     
    #24     Sep 17, 2021
  5. Don't mean to crab, but the Newtonian would converge faster. :)

    EDIT: stolen from elsewhere, 'cause I'm too lazy to code it myself right now.

    Code:
    n = norm.pdf
    N = norm.cdf
    
    def bs_price(cp_flag,S,K,T,r,v,q=0.0):
        d1 = (log(S/K)+(r+v*v/2.)*T)/(v*sqrt(T))
        d2 = d1-v*sqrt(T)
        if cp_flag == 'c':
            price = S*exp(-q*T)*N(d1)-K*exp(-r*T)*N(d2)
        else:
            price = K*exp(-r*T)*N(-d2)-S*exp(-q*T)*N(-d1)
        return price
    
    def bs_vega(cp_flag,S,K,T,r,v,q=0.0):
        d1 = (log(S/K)+(r+v*v/2.)*T)/(v*sqrt(T))
        return S * sqrt(T)*n(d1)
    
    def find_vol(target_value, call_put, S, K, T, r):
        MAX_ITERATIONS = 100
        PRECISION = 1.0e-5
    
        sigma = 0.5
        for i in xrange(0, MAX_ITERATIONS):
            price = bs_price(call_put, S, K, T, r, sigma)
            vega = bs_vega(call_put, S, K, T, r, sigma)
    
            price = price
            diff = target_value - price  # our root
    
            print i, sigma, diff
    
            if (abs(diff) < PRECISION):
                return sigma
            sigma = sigma + diff/vega # f(x) / f'(x)
    
     
    Last edited: Sep 17, 2021
    #25     Sep 17, 2021
    Axon likes this.
  6. zghorner

    zghorner

    Oh i hear ya man I have been reading through a bunch of old threads/journals lately and have seen your progress...I just know from current conversation that you are several steps ahead of me and showing you some respect for your efforts.
     
    #26     Sep 17, 2021
  7. Thanks, man - really appreciated! I'm rather proud of how far I've come in that time, truth to tell... definitely had help along the way - quite a bit of it from the folks here - for which I'm truly grateful.
     
    #27     Sep 17, 2021
    ITM_Latino and zghorner like this.
  8. Great CS program. Heheh, it was cheap in those days. I transferred there from UC Davis in 1993, and the tuition at Rice ($6500) was cheaper than in-state tuition at UC Davis with a $2K scholarship! I think it's around $42K at present. Still "cheap" compared to others. :confused:
     
    #28     Sep 17, 2021
  9. newwurldmn

    newwurldmn

    i thought it was like 30k back in the mid nineties, like any other private school.
     
    #29     Sep 17, 2021
  10. Ha, it was free until 1965! If memory serves tuition was $6500 in 1993 and went above $10K by the time I finished in 1997. With room & board if could have approached $30K.

    Looks like it is now actually $51K, but was a "mere" $30K as recently as 2011 (https://www.collegetuitioncompare.com/trends/rice-university/cost-of-attendance/). Found a reddit post claiming $16K in 2000:
    upload_2021-9-17_11-33-7.png

    Their endowment was ~$2B when I was there. It's up to over $6B today (https://investments.rice.edu/about-us)! For a very small university. Don't get me started...
     
    #30     Sep 17, 2021