NexusFi: Find Your Edge


Home Menu

 





Rollover for automated strategies


Discussion in TradeStation

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




 
Search this Thread

Rollover for automated strategies

  #1 (permalink)
Prophet85
Gothenburg Sweden
 
Posts: 75 since Jul 2019
Thanks Given: 53
Thanks Received: 24

Hi,

I am used to automated daytrading future strategies so I don't have to do rollovers. However now I have a multiday strategy that I want to automate where rollovers sooner or later will be a "problem". When it is time for a rollover I will simply close the current position for the expiring contract and then change the contract of the chart to next months contract symbol and then manually reenter the trade with the new contract.

Now I have a couple of questions:

1. How does the TradeManager react to this? When I close the position I assume that the position match will indicate "false" but when I change the contract on the chart for that strategy and manually buy a new contract it will change back to "true" right? When the exit criteria for that strategy is fulfilled the trade will automatically exit right?

2. What happens with the set stop losses? Will the stop loss reset when I do the rollover or will any previous losses carry over? Let's say I have a set stop loss of $2000 and I close the position with a loss of $1000 and then open a new position. Will that newly opened position close at another $1000 loss or will it only close if I loose another $2000 making the total loss $3000 instead of the set stop loss amount of $2000?

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Quant vue
Trading Reviews and Vendors
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
MC PL editor upgrade
MultiCharts
Cheap historycal L1 data for stocks
Stocks and ETFs
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
  #2 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT and Stellar
Broker: Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,049 since Dec 2013
Thanks Given: 4,388
Thanks Received: 10,207


Prophet85 View Post
I am used to automated daytrading future strategies so I don't have to do rollovers. However now I have a multiday strategy that I want to automate where rollovers sooner or later will be a "problem". When it is time for a rollover I will simply close the current position for the expiring contract and then change the contract of the chart to next months contract symbol and then manually reenter the trade with the new contract.

Annoyingly yes. While there is probably an exchange listed spread, and potentially even a 'Trade at Settlement' exchange listed spread, which would almost guarantee you achieve the same rollover that Tradestation assumes, Tradestation does not give you access to those instruments. So Yes. Two trades with full slippage!

Prophet85 View Post
1. How does the TradeManager react to this? When I close the position I assume that the position match will indicate "false" but when I change the contract on the chart for that strategy and manually buy a new contract it will change back to "true" right? When the exit criteria for that strategy is fulfilled the trade will automatically exit right?

Correct

Prophet85 View Post
2. What happens with the set stop losses? Will the stop loss reset when I do the rollover or will any previous losses carry over? Let's say I have a set stop loss of $2000 and I close the position with a loss of $1000 and then open a new position. Will that newly opened position close at another $1000 loss or will it only close if I loose another $2000 making the total loss $3000 instead of the set stop loss amount of $2000?

The stop loss will still be based upon the expected entry price which is rollover adjusted. This should be almost identical to your actual entry but sometimes due to rollovers it could change a little.

Reply With Quote
Thanked by:
  #3 (permalink)
Prophet85
Gothenburg Sweden
 
Posts: 75 since Jul 2019
Thanks Given: 53
Thanks Received: 24



SMCJB View Post
The stop loss will still be based upon the expected entry price which is rollover adjusted. This should be almost identical to your actual entry but sometimes due to rollovers it could change a little.

Thank you for the answers. Does this still apply if I send strategy generated stop orders directly to the Tradestation order execution network (setting under properties for all --> automation)?

Reply With Quote
  #4 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT and Stellar
Broker: Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,049 since Dec 2013
Thanks Given: 4,388
Thanks Received: 10,207

I believe there are three ways you can have stops work.
A) Your software monitors the market and generates the exit order, when the conditions that meet the stop are met.
B) Your software sends the stop to your broker, who executes the order when the conditions that meet the stop are met.
C) Your software sends the stop to the exchange who executes the order when the conditions that meet the stop are met.

Since C is faster than B which is faster than A, it follows that in most cases C is better than B which is better than A.

The big problem with A is that is slow and is dependent upon your software being connected to your broker.

So why wouldn't you always use C? Well not all exchanges have native 'stop order types'. Also some brokers/software don't have the functionality to use it.

Reply With Quote
Thanked by:
  #5 (permalink)
Prophet85
Gothenburg Sweden
 
Posts: 75 since Jul 2019
Thanks Given: 53
Thanks Received: 24


SMCJB View Post
I believe there are three ways you can have stops work.
A) Your software monitors the market and generates the exit order, when the conditions that meet the stop are met.
B) Your software sends the stop to your broker, who executes the order when the conditions that meet the stop are met.
C) Your software sends the stop to the exchange who executes the order when the conditions that meet the stop are met.

Since C is faster than B which is faster than A, it follows that in most cases C is better than B which is better than A.

The big problem with A is that is slow and is dependent upon your software being connected to your broker.

So why wouldn't you always use C? Well not all exchanges have native 'stop order types'. Also some brokers/software don't have the functionality to use it.

Great way of explaining it. Thank you

Reply With Quote




Last Updated on January 29, 2021


© 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