Forum Discussion

chris_z1959's avatar
chris_z1959
Copper Contributor
Jun 10, 2020

optimize data

I have an algo that provides me signals about when to buy/sell.

 

I have option data and want to optimize the following while the signal remains buy:

  1. expiry date
  2. strike price
  3. percent in/out of the money
  4. when to roll (what percentage gain)

I have a Teams site if that helps

Fingers crossed

 

4 Replies

  • Hi chris_z1959 

     

    That is a VERY vague description. What is your question? 

     

    Please post a sample file with some rows of data, mock up the expected result manually, and then explain the logic that leads to the result. 

     

    A phrase like "I want to optimize expiry date" really doesn't say anything about what the result should be.

     

    • chris_z1959's avatar
      chris_z1959
      Copper Contributor

      IngeborgHawighorst 

      Thanks for replying and giving me some input on what is required.

       

      I'll upload three files that hopefully help. One will be the raw option data that has the variables I'm looking to optimize and when I say optimize I mean maximize the gains made by using the best of the variables I mentioned.

      ZZZ_Underlying is the raw data we bought

      The Fields Choice file shows which columns we need to keep

      Manual_run is one of many samples we've run manually sorting through the raw data.

       

      Hope this helps

      • Sorry, but this is still very broad. 

        Do you have a question about how to use a formula or how to arrive at a result?

         

        If you can explain the logic, then we can help you make it work, but you can't just ask us to write a profit maximisation system. There are some very complex processes and algorithms involved and this is a major project. 

         

        Break it down into smaller units and tackle one issue at a time. Please post your question into the discussion here, so people can understand what you want without having to open several workbooks. Attach files with a few rows of data only to illustrate the principle, not to have us write the final solution.