Stat arb, synthetic asset and cointegration

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #170813 quote
    Oliviertrader2020Oliviertrader2020
    Participant
    Average

    Hello,

    Is it possible to create a synthetic asset from the price of 2 assets?

    I explain: on Tradingview and other platforms, using the formula “3*ES – 1*NQ”, it is possible to create a synthetic asset (as on the screenshot) that will show us candles that represent the relationship of 3 ES contracts for 1 NQ contract.

    We can then make an stat arb when this synthetic asset, after having deviated too much from its mean (2 standard deviations), starts to come back to it.

    Thanks for your help. 🙂

    Spread-ES-NQ.jpg Spread-ES-NQ.jpg
    #170818 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    It’s not possible to reference multiple assets/instruments.

    #170820 quote
    NicolasNicolas
    Keymaster
    Legend

    But you can create the same chart with the Spread chart tool in Prorealtime

    I think that it would also be possible to build your stat arb with Proscreener which support multi instrument programming

    #170827 quote
    Oliviertrader2020Oliviertrader2020
    Participant
    Average

    Perfect. Thank you very much 🙂

    #170828 quote
    Oliviertrader2020Oliviertrader2020
    Participant
    Average

    On the other hand, it is not possible to use with Pro screener, because by right-clicking, it is not possible to add the created spread in a list… and therefore it will not be possible to screener several. This could be an excellent addition for the next versions of PRT. 🙂

    #170829 quote
    Oliviertrader2020Oliviertrader2020
    Participant
    Average

    Second tip: if in a future version of PRT we could backtest the spreads, buying and selling the number of underlying assets according to the conditions we would have defined, the platform would move to another level and get closer to what is done at institutional level.
    But it is already very encouraging when we see the improvements that have been added in recent years (Walk forward, table …). Have a nice evening

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Stat arb, synthetic asset and cointegration


ProBuilder: Indicators & Custom Tools

New Reply
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by Oliviertrader2020Oliviertrader2020
5 years, 4 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 05/30/2021
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...