approaches to calibrating a Heston model

Discussion in 'Options' started by stochastix, Mar 2, 2023.

  1. lariati

    lariati

    I am sorry, I didn't realize you are a java programmer. What year are we in again?

    Python or a custom language with chatGPT. Come on!
     
    #51     Mar 16, 2023
  2. lariati

    lariati

    This code defines a Java class called VIXHedging, which calculates hedge ratios for a portfolio consisting of VIX and SPX options. The program connects to a TWS (Trader Workstation) server and retrieves contract details for SPX options at different strikes. It then uses a VIX pricing model to retrieve the delta values for VIX options, and calculates hedge ratios for each SPX option based on the corresponding delta value for the VIX option. The hedge ratios are adjusted for gamma using a gamma adjustment constant. The program prints out the hedge ratios for each strike.
     
    #52     Mar 16, 2023
    stochastix likes this.
  3. Here is how to compute the characteristic function of the Heston process with the Feynman-Kac formula, it can be used in situations where the stochastic differential equation cannot be solved but the corresponding partial differential equation can.

    lariati, if you said the word python to me in person i might kill you on the spot. python is for fucking dumbass dickless wonders that wouldnt know good code if it gave them a handjob. the reality is, 99% of coders suck and whatever association you made with what im doing is completely falacious, as if I would fucking stop what im doing based on what some random guy i have zero knowledge of says so on the fucking internet!
     
    #53     Mar 19, 2023
  4. What did you call me boy? I am not identified by a skill, and i havent worked for hire in a long fucking time and never will do so again
     
    #54     Mar 19, 2023
  5. [​IMG]
     
    #55     Mar 19, 2023
  6. [​IMG]


    taken me too damn long to do this, ive been fucking off too much
     
    #56     Mar 25, 2023
  7. [​IMG]
     
    #57     Mar 27, 2023