NexusFi: Find Your Edge


Home Menu

 





Stiching together two data series


Discussion in NinjaTrader

Updated
    1. trending_up 1,040 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread

Stiching together two data series

  #1 (permalink)
 dougscott03 
Old Greenwich + CT/USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Russell 2000
Posts: 4 since Mar 2014
Thanks Given: 1
Thanks Received: 0

Hi, I was wondering if someone could help me out. I would like to get a custom indicator that does the following.
- Stich together the 9am to 9.29am active contact for the Russell 2000 emini and the Russell 2000 Index from 9.30-4pm
- Adjust the emini data to take into account the average difference between it and the index.
- Then, take a moving average of this data series.

The last one of these three is easy but I am not sure how to do points one and two, If someone could code this, please let me know. Obviously, I would pay for their time...

Thx

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
Deepmoney LLM
Elite Quantitative GenAI/LLM
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Ninja Mobile Trader VPS (ninjamobiletrader.com)
Trading Reviews and Vendors
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
60 thanks
Funded Trader platforms
37 thanks
NexusFi site changelog and issues/problem reporting
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
19 thanks
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


You would need to perform a reverse fair value calculation from the futures price in order to find an estimate of the spot price.

Definitions:

SE = estimated spot price for the index
F = futures price at parity
r = continous risk free rate used to calculate the borrowing cost
q = dividends or revenues accruing to the holder of the spot position until delivery
T = time from today until expiry of the futures contract

SE = S / exp( (r-q) * T)

You could then use these values as a proxy for the index price prior to 9:30 AM.

Reply With Quote
Thanked by:




Last Updated on March 29, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts