StockFetcher Forums · Stock Picks and Trading · XIV NEURAL NETWORK TRADING SYSTEM - EVALUATION AND NIGHTLY SIGNALS (READ-ONLY)<< 1 2 3 >>Post Follow-up
Kevin_in_GA
4,599 posts
msg #135696
Ignore Kevin_in_GA
4/30/2017 12:31:54 PM

This thread will document trading results from a series of neural network-derived trading systems for long only trades of XIV.

Not entirely sure how long I will keep updating this information - probably looking at roughly 6 months of real-time trade results to see if the systems are trading as predicted.

This will be a read-only thread, but will contain the nightly signals from each system which are to be entered at the open of the market the next day. I will be trading these within my accounts as well - small trades at first but I'll increase the trade size if the performance warrants. Given that XIV trades over 8 million shares each day I doubt that a bunch of folks from SF, even placing all trades simultaneously, could affect the price of the ETF - so why not share the signals?

What I cannot do here is share the system details - being derived using neural networks, the specific inputs and weighting factors are not visible. These types of systems are very "black box" in nature, and require periodic re-learning to stay fresh. I do know that for the geeks out there the basic NN structure is 3 layers with 30 "neurons" per layer, slow chaotic with a training period of 18 months and an out-of-sample period of 6 months. Of all the permutations I looked at, this was the default setting and actually worked out the best.

I then re-ran with these settings about 20 times - even with the same data inputs, the neural network learning follows a different path each time. I kept the top 10 in terms of overall performance (return on equity, percent profitable, profit factor). Looking at the returns and specific trades, these systems are similar but no two are the same. Here are the system performance results for the last two years:

Model:XIV_01XIV_02XIV_03XIV_04XIV_05XIV_06XIV_07XIV_08XIV_09XIV_10
Symbol:XIVXIVXIVXIVXIVXIVXIVXIVXIVXIV
Trading period:06/18/15 - 04/27/1706/18/15 - 04/03/1706/18/15 - 03/31/1706/18/15 - 04/27/1706/18/15 - 04/03/1707/09/15 - 03/31/1706/18/15 - 04/21/1706/18/15 - 04/24/1706/18/15 - 04/03/1706/18/15 - 03/31/17
Initial Equity$10,000.00 $10,000.00 $10,000.00 $10,000.00 $10,000.00 $10,000.00 $10,000.00 $10,000.00 $10,000.00 $10,000.00
Total net profit$34,181.59$31,761.67$31,077.78$30,020.95$33,245.72$33,065.99$30,935.05$33,354.39$33,874.69$29,891.48
Gross profit$34,972.52$32,446.42$31,219.90$30,669.76$33,245.72$33,724.19$31,795.50$33,866.20$34,154.45$30,560.23
Gross loss-$790.92-$684.75-$142.11-$648.80$0.00-$658.20-$860.44-$511.80-$279.76-$668.75
Total Profit (%):+341.82%+317.62%+310.78%+300.21%+332.46%+330.66%+309.35%+333.54%+338.75%+298.91%
Total # of trades31312927253134322829
Number winning trades29302826252932302627
Number losing trades2111022222
Percent Profitable93.55%96.77%96.55%96.30%100.00%93.55%94.12%93.75%92.86%93.10%
Largest winning trade$5,408.87$3,552.69$5,693.79$5,693.79$5,672.84$5,576.88$5,312.50$5,312.50$5,672.84$5,672.84
Largest losing trade-$648.80-$684.75-$142.11-$648.80$0.00-$601.92-$648.80-$286.70-$212.93-$601.92
Average winning trade$1,205.94$1,081.54$1,114.99$1,179.60$1,329.82$1,162.90$993.60$1,128.87$1,313.63$1,131.86
Average losing trade-$395.46-$684.75-$142.11-$648.80$0.00-$329.10-$430.22-$255.90-$139.88-$334.37
Ratio avg win/avg loss3.041.577.841.81- - - - 3.532.34.419.393.38
Avg trade ($)$1,102.63$1,024.57$1,071.64$1,111.88$1,329.82$1,066.64$909.85$1,042.32$1,209.81$1,030.74
Max consec. winners16212519252821262124
Max consec. losers1111011111
Avg # bars in winners99910139891110
Avg # bars in losers813413048434
Max intraday drawdown-$5,400.91-$4,100.08-$5,400.91-$5,400.91-$5,551.75-$5,400.91-$5,400.91-$5,400.91-$5,551.75-$5,551.75
Profit factor44.2147.38219.6747.27 - - - - 51.2336.9566.16122.0845.69


SIGNALS FOR TOMORROW
Model:XIV_01XIV_02XIV_03XIV_04XIV_05XIV_06XIV_07XIV_08XIV_09XIV_10
Signal:NONEHOLD LONGNONEBUY AT OPENSELL TO CLOSENONEBUY AT OPENNONENONENONE


For this post, I'll assign $10,000 to each model, and trade it only when I get a buy/sell signal for that model. The current long position in XIV_02 was entered on Friday so I will treat that as a new BUY signal. The SELL signal in XIV_05 was on a trade also entered on Friday at the open, so I am ignoring it for this exercise.

I will go Long XIV at the open for a total of $30,000 on Monday May 01 to start this real-time validation of the system.


Kevin_in_GA
4,599 posts
msg #135705
Ignore Kevin_in_GA
modified
5/1/2017 9:48:22 AM

Model:XIV_01XIV_02XIV_03XIV_04XIV_05XIV_06XIV_07XIV_08XIV_09XIV_10
Position:NONEHOLD LONGNONEHOLD LONGNONENONEHOLD LONGNONENONENONE
ENTRY DATE: - - -01 MAY 2016- - -01 MAY 2016- - -- - -01 MAY 2016- - -- - -- - -
ENTRY PRICE: - - -$75.76- - -$75.76- - -- - -$75.76- - -- - -- - -
# SHARES: - - -132- - -132- - -- - -132- - -- - -- - -


Kevin_in_GA
4,599 posts
msg #135708
Ignore Kevin_in_GA
5/1/2017 7:57:21 PM

SIGNALS FOR TOMORROW - 02 MAY 2017

Model:XIV_01XIV_02XIV_03XIV_04XIV_05XIV_06XIV_07XIV_08XIV_09XIV_10
SIGNAL FOR TOMORROW:NONESELL AT OPENNONESELL AT OPENNONENONESELL AT OPENNONENONENONE
ENTRY DATE: - - -01 MAY 2016- - -01 MAY 2016- - -- - -01 MAY 2016- - -- - -- - -
ENTRY PRICE: - - -$75.76- - -$75.76- - -- - -$75.76- - -- - -- - -
# SHARES: - - -132- - -132- - -- - -132- - -- - -- - -


Kevin_in_GA
4,599 posts
msg #135717
Ignore Kevin_in_GA
5/2/2017 10:17:07 AM

MODEL:XIV_01XIV_02XIV_03XIV_04XIV_05XIV_06XIV_07XIV_08XIV_09XIV_10
CURRENT POSITION:NONENONENONENONENONENONENONENONENONENONE
ENTRY DATE: - - -01 MAY 2016- - -01 MAY 2016- - -- - -01 MAY 2016- - -- - -- - -
ENTRY PRICE: - - -$75.76- - -$75.76- - -- - -$75.76- - -- - -- - -
# SHARES: - - -132- - -132- - -- - -132- - -- - -- - -
EXIT DATE: - - -02 MAY 2016- - -02 MAY 2016- - -- - -02 MAY 2016- - -- - -- - -
EXIT PRICE: - - -$78.12- - -$78.12- - -- - -$78.12- - -- - -- - -
TRADE GAIN/LOSS: - - -$311.52- - -$311.52- - -- - -$311.52- - -- - -- - -
TOTAL GAIN/LOSS: - - -$311.52- - -$311.52- - -- - -$311.52- - -- - -- - -
RETURN SINCE 01 MAY 2017: - - -3.1%- - -3.1%- - -- - -3.1%- - -- - -- - -




Kevin_in_GA
4,599 posts
msg #135728
Ignore Kevin_in_GA
modified
5/2/2017 9:05:24 PM

NO NEW SIGNALS FOR TOMORROW 03 MAY 2017.

In looking at the trade entries for each of the 10 network models over the past two years, it is pretty easy to see that they are small variations of the same basic neural network. Not as much differentiation as I would like to see. I'll look at alternative models during this down time, with the objective of finding differentiated NN models that have similar performance but have clearly different entry and exit criteria. I'll post what info I can on each model over the next few days.



Kevin_in_GA
4,599 posts
msg #135731
Ignore Kevin_in_GA
5/3/2017 3:12:53 PM

After realizing the high correlation of trades within the current 10 neural network models (all derived from the same construction parameters) I went back and approached this with more rigor. Starting from scratch I built 36 unique models, varying each of the model input parameters, and compared outcomes based on total profit, percent profitable, and profit factor. I was able to find 6 very good performers, covering a fair amount of the total input variable "space". I believe that this approach makes more sense than what I had done earlier. My hope is that these will not trade as a large block but some models will find and enter trades that the others are not triggering. I do notice that they all do catch certain phases of a trade, which is usually profitable.

Going forward I will be assigning each trade signal a 1/5th equity allocation ($10,000 out of a total of $50,000). This is a fixed bet, meaning that even if I double my equity I would still only place $10,000 per trade/ I will track this nightly and provide folks here the trading signals each night for any trades to be opened/closed the following day.

Here are the model parameters and performance stats for each of the 6 models I will be using:


NETWORK PARAMETERSXIV1XIV2XIV3XIV4XIV5XIV6
STRUCTURE30-30-3030-30-3030-30-3030-30-3030-30-3030-30-30
OUT OF SAMPLE PERIOD125 DAYS125 DAYS125 DAYS125 DAYS125 DAYS125 DAYS
DATA FILTRATION LEVEL100112
SIGNAL FREQUENCY357575
CHAOTIC CHARACTERVERY INERTFAST NORMALCHAOTICSLOW NORMALCHAOTICSLOW NORMAL
PERFORMANCE:
Trading period:06/18/15-05/01/1706/18/15-05/01/1806/18/15-05/01/1906/18/15-05/01/2006/18/15-05/01/2106/18/15-05/01/22
Profit (%):333.7%359.2%285.5%335.1%277.7%332.6%
Total net profit$33,371.54$35,921.90$28,550.97$33,511.88$27,778.04$33,265.47
Gross profit$33,371.54$36,019.92$28,783.39$33,833.93$27,906.83$33,265.47
Gross loss$0.00-$98.02-$232.42-$322.05-$128.79$0.00
Total # of trades263136333424
Percent Profitable100%96%94%96%97%100%
Number winning trades263034323324
Number losing trades012110
Largest winning trade$5,672.84$3,552.69$2,458.76$3,171.98$2,903.25$6,246.87
Largest losing trade$0.00-$98.02-$144.01-$322.05-$128.79$0.00
Average winning trade$1,283.52$1,200.66$846.57$1,057.31$845.66$1,386.06
Average losing trade$0.00-$98.02-$116.21-$322.05-$128.79$0.00
Ratio avg win/avg loss012.247.283.286.560
Avg trade(win & loss$1,283.52$1,158.77$793.08$1,015.51$817.00$1,386.06
Max consec. winners262926302924
Max consec. losers011110
Avg # bars in winners12878713
Avg # bars in losers0271120
Max intraday drawdown-$5,551.75-$4,100.08-$2,863.32-$3,526.71-$2,937.88-$6,762.66
Profit factor- - - -367.47123.83105.05216.68- - - -


Currently none of these models are in a trade. I'll post any signals tonight.

Kevin_in_GA
4,599 posts
msg #135734
Ignore Kevin_in_GA
5/3/2017 9:41:07 PM

SIGNALS FOR TOMORROW 04 MAY 2017

XIV1: NONE
XIV2: NONE
XIV3: NONE
XIV4: NONE
XIV5: BUY AT OPEN
XIV6: BUY AT OPEN


I will be placing 2 buy orders (out of 5 total), each for $10,000 and will track their progress here.



Kevin_in_GA
4,599 posts
msg #135744
Ignore Kevin_in_GA
5/4/2017 11:57:12 AM

Model:XIV1XIV2XIV3XIV4XIV5XIV6
CURRENT POSITION:NONENONENONENONEIN TRADEIN TRADE
ENTRY DATE: - - -- - - - - -- - -04 MAY 201604 MAY 2016
ENTRY PRICE: - - -- - -- - -- - -$77.38$77.38
# SHARES: - - -- - -- - -- - -129129
CURRENT PRICE: - - -- - -- - -- - -- - -- - -
PROFIT/LOSS ($):- - -- - -- - -- - -- - -- - -
PROFIT SINCE 01 MAY 2017(%):3.1%- - -- - -- - -- - -- - -

I will try to keep this table updated every night as long as there are open trades.


Kevin_in_GA
4,599 posts
msg #135751
Ignore Kevin_in_GA
5/4/2017 7:09:20 PM

Model:XIV1XIV2XIV3XIV4XIV5XIV6
CURRENT POSITION:BUY AT OPEN TOMORROWNONENONEBUY AT OPEN TOMORROWIN TRADEIN TRADE
ENTRY DATE: - - -- - - - - -- - -04 MAY 201604 MAY 2016
ENTRY PRICE: - - -- - -- - -- - -$77.38$77.38
# SHARES: - - -- - -- - -- - -129129
CURRENT PRICE: - - -- - -- - -- - -$78.11$78.11
PROFIT/LOSS ($):- - -- - -- - -- - -$94.17$94.17
PROFIT SINCE 01 MAY 2017 (%):3.1%- - -- - -- - -- - -- - -


Kevin_in_GA
4,599 posts
msg #135755
Ignore Kevin_in_GA
5/5/2017 9:39:22 AM

Model:XIV1XIV2XIV3XIV4XIV5XIV6
CURRENT POSITION:IN TRADENONENONEIN TRADEIN TRADEIN TRADE
ENTRY DATE:05 MAY 2016- - - - - -05 MAY 201604 MAY 201604 MAY 2016
ENTRY PRICE:$78.28- - -- - -$78.28$77.38$77.38
# SHARES:128- - -- - -128129129
CURRENT PRICE: - - -- - -- - -- - -$78.11$78.11
CURRENT TRADE PROFIT/LOSS ($):- - -- - -- - -- - -$94.17$94.17
CLOSED TRADE PROFIT SINCE 01 MAY 2017 (%):3.1%- - -- - -- - -- - -- - -


StockFetcher Forums · Stock Picks and Trading · XIV NEURAL NETWORK TRADING SYSTEM - EVALUATION AND NIGHTLY SIGNALS (READ-ONLY)<< 1 2 3 >>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 2022 - 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.