Add OCO Logic To An Algo

Add OCO Logic To An Algo

Create an OCO algo and save it as a Library Block in ADL for easy access to that logic. #TTtips

This is a possible example of how to put together the logic to have your exit or hedge logic with a Sell Side OCO type behavior. This was also created as a saved Library Block that could be applied in other algos you create down the road. 

The first things you want to determine are:

- Profit ticks you wish your hedge logic to work all entry side fills

- Stop Trigger Price level based on ticks away from entry side fill price

- Stop Limit Price level based on ticks away from entry side fill price

Once you determine these levels, you want to create these Library Block inputs as User Defined variables. From looking at the screen shot of the logic inside the Library block. You will notice that there is a Profit side and a Stop side. 


Adam Cox, SFFIN, MFTA

Head of Wealth Products and Management at KVB Kunlun

7 年

Standard FX trading...lol not sure the big deal.

回复

要查看或添加评论,请登录

Patrick Rooney的更多文章

  • Pits to Pixels - 30 Years of Markets

    Pits to Pixels - 30 Years of Markets

    It's a big number. 30 years.

    46 条评论
  • We're building stuff. Here, there, everywhere, but will it be enough?

    We're building stuff. Here, there, everywhere, but will it be enough?

    The move in #copper today was the forth piece in my productivity puzzle. Stuff is being built and a lot of it.

    1 条评论
  • Moving Average Block

    Moving Average Block

    Gain insight on using the Moving Average block in your ADL algo. #TTtips "You can have the Moving AVG Block reference…

  • Trailing Stop Algo

    Trailing Stop Algo

    Use the isBuy property in the MsgInfoExtractor block to build a single Library block for trailing sell and trailing buy…

  • Order Profiles

    Order Profiles

    Create rules using Order Profiles to seed account, order quantity and other fields based on the selected instrument…

  • Field Block Index Property

    Field Block Index Property

    Pull prices and quantities from price depth in ADL by using the Field block Property “Index” from the Lookup Type…

  • Options Risk Matrix

    Options Risk Matrix

    See aggregated P&L and Greeks for your options positions and view multiple scenarios simultaneously with Options Risk…

  • TT Supports Options Risk #WhatIf

    TT Supports Options Risk #WhatIf

    Use Options Risk to apply various ‘what if’ scenarios to open positions, based on underlying and volatility shocks…

  • TT Score Outlier Chart

    TT Score Outlier Chart

    Easily identify suspicious trade activity in TT Score's Outlier chart. #Spoofing #TTtips The Outlier chart displays…

  • Moving Average Crossover Algo

    Moving Average Crossover Algo

    Create a simple moving average cross trigger for your ADL algos. #TTtips The Moving Average block maintains an internal…

社区洞察

其他会员也浏览了