StockFetcher Forums · Backtesting Support · Closing a position the end of the first day<< >>Post Follow-up
nikoluzzi
12 posts
msg #51465
Ignore nikoluzzi
5/7/2007 2:36:59 PM

Hello,
I'm deseperatly trying to backtest my strategy, but I have a small problem.
I configure my backtest to keep for a maximum of 1 day, and set the closing at "close", and the opening at "open", unfortunately, the backtest keeps the trade overnight, and I can't manage how to set it to close the position at the end of the first day.
Any help would be much appriciated,
Sorry if my english is not perfect,
Thanks
Nicholas

SFMc01
339 posts
msg #51704
Ignore SFMc01
5/19/2007 10:11:00 PM

Did you ever solve this? Have you tried setting it a 0 days?

ironfist
7 posts
msg #51765
Ignore ironfist
5/24/2007 2:01:21 AM

I would also like to know if there's a way to do this.

Thanks.

SFMc01
339 posts
msg #51777
Ignore SFMc01
5/24/2007 2:36:43 PM

On 5/24/2007 I asked Stockfetcher Support about this issue and their prompt response was "Thank you for the feedback. There is currently not a method to enter and exit a position on the same date with StockFetcher back-testing.
The closest you can approximate this is by setting maximum hold to 1
day and your Exit price (item #3 on the "Advanced" page) as "close 1
day ago"."

I guess this answers the question for now.


stocktrader
293 posts
msg #51779
Ignore stocktrader
5/24/2007 6:56:21 PM

If one uses close 1 day ago there will be partial results.
For example, a day that gaps up and trades down will give an incorrect result.
Check a few of the trades manually and you'll see what I mean. Sometimes it works....sometimes not.

SFMc01
339 posts
msg #52473
Ignore SFMc01
6/24/2007 9:35:02 AM

Does anyone know of any software that will correctly backtest wwhen the close is on or during the day of the open? ... or when the basic strategy is to sell at the close of the day the position is opened? Any vendor?

psheridan050
52 posts
msg #52666
Ignore psheridan050
6/29/2007 10:44:16 AM

Edit your back test for the following: On the indicator tab item 2 (Price Change Columns) set the option for "Show percent change" to 1,2,3,4,5. Save and backtest. Then look at the trades tab in the backtest and look at the performance secton and you will see that the 1 day chg is actualy the close for the trade that was made that day. The gain/loss will show the results for the next day but the 1 day chg is the close for the day after the trigger was made (the day you would enter the stoc). Ive confirmed this by importing everything into excel and then changing the % to $ and comparing it to a chart for that day. check it out.

stocktrader
293 posts
msg #52695
Ignore stocktrader
6/29/2007 10:45:16 PM

Thanks psheridan050!

Very helpful. This corrects the trades that do not work out using the close 1 day ago phrase.

Now, instead of processing in Excel I would hope that SF fixes the problem.

Also, I have no clue why SF yanked the performance charts for Short backtesting...but that's another issue.


Thanks again.

StockFetcher Forums · Backtesting Support · Closing a position the end of the first day<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2018 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.