Files
Brent Neale 4f911b2072 Add Phase 2 backtesting pipeline: IS/OOS split, param sweep, generalization scoring
Externalize hardcoded params in S4F (5 params) and S3 (9 params) as class
attributes for sweep compatibility. Add unified backtest runner with IS/OOS
validation and generalization scores, plus parameter grid sweep (90 combos)
with OOS validation. S7/S9/S9_Filtered pass generalization; S4F/S3 confirm
defaults are near-optimal.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 10:25:08 +10:00

15 KiB

1timestampstrategy_idpairsignal_directionentry_pricesl_pricetp1_pricetp2_pricetp3_pricelot_sizeconfluence_scoresessionspread_at_entryatr_at_entryadx_at_entryrsi_at_entryema_50_valueema_200_valuevwap_deviationnews_within_60minmacd_hist_at_entrystoch_k_at_entrydistance_from_ema50_pipscandle_body_ratiohour_of_dayday_of_weekentry_patternexit_priceexit_reasonexit_timepnl_pipspnl_dollarshold_time_minuteswin
22023-01-02 07:00:00+00:009GBP_USDSHORT1.205831.210041.20213000000000011.19818000000000021.1981800000000002245894.714ASIAN1.50.002251695678962417.3001294008325148.0352707663898851.20602509689295251.2078220651009952-4.595646444374157False-0.0002162433174288853423.7387688875353820.54903107047588050.535947712418317770london_breakout_short1.1981800000000002TP32023-01-03 08:00:00+00:0056.7500031110853061395.4525557499421500True
32023-01-03 09:00:00+00:009GBP_USDSHORT1.19211999999999981.19872167155792561.18728000000000011.18225000000000021.1822500000000002158925.095LONDON1.50.002699335150086620446.7951213205715122.3172764979294131.20454327776925751.2069657969752963-15.5293966688963False-0.00139718431161569457.972714686368043-122.332777692575330.2539325842696888491london_breakout_short1.1987216715579256SL2023-01-03 13:00:00+00:00-66.01671557925793-1049.1712464937968240False
42023-01-04 07:00:00+00:009GBP_USDLONG1.202861.19664075151709761.206161.20970999999999981.2097099999999998167010.464ASIAN1.50.002620720865078052623.54504814470420458.705914325777931.2008220570299711.205186950154828754.033747090536096False0.000640919850241083351.692448599105117.879429700289330.715044247787626972london_breakout_long1.20286TP1+SL2023-01-04 15:00:00+00:0016.49999999999929275.56725899998816480True
52023-01-05 08:00:00+00:009GBP_USDSHORT1.20181999999999991.20770007660199391.19651000000000021.19101000000000031.1910100000000003177112.525LONDON1.50.002308457023597692722.86241823293043843.792205034882991.20328900914605061.2051364239290774.433333333333511False-0.000692238439074737518.75816993464041-12.7900914605061370.4505494505494907583london_breakout_short1.1910100000000003TP32023-01-05 14:00:00+00:0080.600006103460861427.5270192999333360True
62023-01-10 07:00:00+00:009GBP_USDSHORT1.214671.219781.21079999999999991.20667999999999981.2066799999999998206596.964ASIAN1.50.002480177622428255723.57455509725947748.795307078530211.21166103960704971.2060411261022443-21.10569577292498False-0.00087185115900836144.7218729417387932.589603929502610.574074074074091571london_breakout_short1.21467TP1+SL2023-01-11 14:00:00+00:0019.3500000000002399.765117600004151860True
72023-01-24 09:00:00+00:009GBP_USDSHORT1.232871.23772308478608271.22961.226141.22614218357.644LONDON1.50.002382717206259277426.56751573471083832.2893413066332761.23771454934544221.2299822126858417-36.14955917731199False-0.0001439580036742871348.54411637986249-46.545493454421820.673984632272235791london_breakout_short1.23287TP1+SL2023-01-24 16:00:00+00:0016.349999999999422357.0147413999874420True
82023-01-26 09:00:00+00:009GBP_USDSHORT1.238231.241681.235611.23280000000000011.2328000000000001308196.64LONDON1.50.00206037728612375421.5207384892639152.165832390106121.23690476560277741.2320413751810513-11.055544985079102False-0.000264887190535902542.30665997718606515.1523439722267560.3679653679653700593london_breakout_short1.24168SL2023-01-26 14:00:00+00:00-34.49999999999953-1063.2782699999855300False
92023-01-31 08:00:00+00:009GBP_USDSHORT1.23071999999999981.23494201917812261.226891.22287000000000011.2228700000000001249322.764LONDON1.50.001831178551874163728.67401634741700230.1196107514002451.23666295254425921.2348398981480648-14.63333333333372False-0.0002550667364514517734.14154806298439-57.5295254425922660.850107066381130981london_breakout_short1.2349420191781226SL2023-02-01 19:00:00+00:00-42.22019178122815-1052.6454742625122100False
102023-02-02 09:00:00+00:009GBP_USDSHORT1.234231.23954626943384841.231441.228461.22846196024.54LONDON1.50.00221404293257225435.17231334786999544.129537151463841.23516220553523671.2344928875937131-17.113614020367596False-0.000299336018241264517.96133810604763-7.4220553523662860.605990783410116193london_breakout_short1.23423TP1+SL2023-02-02 12:00:00+00:0013.94999999999924273.4541774999851180True
112023-02-03 07:00:00+00:009GBP_USDSHORT1.219561.222341.217631.215451.21545375846.615ASIAN1.50.0022817628726341750.8205660373984730.6532489819443161.22841629010374031.2324715107992805-77.99986872369712False4.217754937129196e-0562.63082717875358-86.062901037402540.612466124661232174london_breakout_short1.22234SL2023-02-03 09:00:00+00:00-27.800000000000047-1044.8535758000016120False
122023-02-07 07:00:00+00:009GBP_USDSHORT1.20197999999999981.20571.198921.195611.19561278065.875ASIAN1.50.001862816320458202722.35052833853780340.075009180442571.20835566969438911.2224750365588686-12.5925655358472False0.000453964829242259136.734597578350886-61.256696943892130.790322580645223471london_breakout_short1.2019799999999998TP1+SL2023-02-07 09:00:00+00:0015.299999999999201425.4407810999778120True
132023-02-07 09:00:00+00:009GBP_USDSHORT1.20031999999999981.20559510931534941.19721.19389000000000011.1938900000000001196898.195LONDON1.50.00213946917427263826.17968596620933434.9116019869222361.20781418029074541.222056252141476-8.86093294650614False0.0001272700195598019928.729696327683314-73.041802907454210.4672364672364751691london_breakout_short1.2003199999999998TP1+SL2023-02-07 15:00:00+00:0015.599999999998948307.1611763999793360True
142023-02-10 07:00:00+00:009GBP_USDLONG1.212241.208911.21472999999999991.21746999999999981.2174699999999998312832.154ASIAN1.50.001723593072626896530.98245126199974253.7458291150575751.21037414701448041.2154724064103541-9.239046318605393False-0.0003633742144920552769.6316512103137916.1585298551947250.4640718562874213774london_breakout_long1.20891SL2023-02-10 10:00:00+00:00-33.30000000000055-1041.7310595000174180False
152023-02-15 07:00:00+00:009GBP_USDSHORT1.20800999999999981.2137761735372481.20353999999999981.19881999999999981.1988199999999998178855.835ASIAN1.50.00245600731383508432.4316473171944727.1056010062955861.21422599441390641.2140340496558895-89.21795632804485False-0.00097126748798843479.321420548805639-59.65994413906550.980701754385994472london_breakout_short1.1988199999999998TP32023-02-16 13:00:00+00:0068.300005138216651221.58541080000031800True
162023-02-17 08:00:00+00:009GBP_USDSHORT1.192911.197651.188681.18425999999999991.1842599999999999220153.935LONDON1.50.00202194706528912451.14920213057446624.7143346143022171.20159146012801781.20895056742838233.233333333332311False-0.0002742844849222994430.910202660692857-84.914601280177140.2832618025750369784london_breakout_short1.19765SL2023-02-17 14:00:00+00:00-47.40000000000189-1043.5296282000415360False
172023-02-21 09:00:00+00:009GBP_USDLONG1.20928000000000011.20522863713831961.21167999999999991.21426999999999971.2142699999999997254999.214LONDON1.50.00234779192005274529.80626698736700370.101644127456381.20264478782463361.206376677663347844.99901252152494False0.000154819873885271653.3011936369366664.452121753664220.669272869429229791london_breakout_long1.2092800000000001TP1+SL2023-02-21 14:00:00+00:0011.999999999998678305.9990519999663300True
182023-02-23 08:00:00+00:009GBP_USDSHORT1.20339999999999981.207441.20068999999999981.19778999999999971.1977899999999997256473.844LONDON1.50.001756057290176478418.1020027269533836.5441368396730941.20672563771736271.207111144392567-8.566666666667277False1.1935572440487834e-0634.413555671829286-31.3563771736280470.920754716981116983london_breakout_short1.2033999999999998TP1+SL2023-02-24 08:00:00+00:0013.549999999999951347.522053199998771440True
192023-03-01 07:00:00+00:009GBP_USDLONG1.20803000000000021.20266869585196721.21250000000000011.21722000000000021.2172200000000002193913.555ASIAN1.50.002181341540697900429.0194595224129858.285566597875111.20434223901019681.204332964904431915.065453348168667False4.761469936465001e-0582.5284301173905834.3776098980330640.654040404040433472london_breakout_long1.2026686958519672SL2023-03-01 10:00:00+00:00-53.6130414803293-1039.629519974791180False
202023-03-15 09:00:00+00:009GBP_USDSHORT1.21122999999999981.21623762936733361.207861.20431.2043205533.034LONDON1.50.002155833765009634423.53104490830000435.071405614798451.21361353220615941.2044593719819887-24.54998439780809False-0.00046190229706967336.32926137257282-21.9353220615947640.87914230019495992london_breakout_short1.2112299999999998TP1+SL2023-03-15 12:00:00+00:0016.849999999999365346.32315554998695180True
212023-03-22 07:00:00+00:009GBP_USDLONG1.226151.22224413501468691.229051.23221.2322264396.355ASIAN1.50.00167432128025918726.927225256652965.069012920970241.22221488359315141.214366449085296132.25033709433944False0.0003635068324817868364.007605970348536.851164068485430.690744920993252572london_breakout_long1.22615TP1+SL2023-03-22 12:00:00+00:0014.499999999999513383.3747074999871300True
222023-04-06 07:00:00+00:009GBP_USDLONG1.247091.243691.249821.25281.2528304861.825ASIAN1.50.001601891280933540635.2124511892572954.068360561909381.24552883413150631.23777308028883943.664286041404896False9.517627260932702e-0582.1395434571102113.1116586849366890.2159090909090775373london_breakout_long1.24369SL2023-04-06 12:00:00+00:00-34.000000000000696-1036.5301880000213300False
232023-04-12 08:00:00+00:009GBP_USDSHORT1.24159999999999981.244591.23929999999999981.23680999999999971.2368099999999997343198.964LONDON1.50.00139473279748159822.18507223530806645.823889485320941.24212134182643761.24041941981322460.09999999999843467False-0.0001616837005405982230.38940689905175-3.31341826437681060.271356783919599182london_breakout_short1.24459SL2023-04-12 12:00:00+00:00-29.9000000000027-1026.1648904000929240False
242023-05-01 07:00:00+00:009GBP_USDSHORT1.253251.256891.250671.24783999999999981.2478399999999998279094.34ASIAN1.50.001609503661007863428.1459865073430149.0281405721307951.2517320883666651.24698192165281171.7906237503884093False-0.0004849670042376798621.9690122799947717.6791163333511750.569506726457301370london_breakout_short1.2478399999999998TP32023-05-02 08:00:00+00:0039.950001938413751114.98178260002281500True
252023-05-02 08:00:00+00:009GBP_USDSHORT1.246841.25065155215777371.244231.24142999999999981.2414299999999998269457.964LONDON1.50.001540862230030232323.893728524406933.9503830990427251.25062356369766281.2477037393712802-4.133333333333766False-7.347598144957247e-0535.5862260381387-35.935636976627270.722627737226239581london_breakout_short1.24684TP1+SL2023-05-02 14:00:00+00:0013.050000000000006351.6426378000002360True
262023-05-23 07:00:00+00:009GBP_USDSHORT1.24061999999999981.24408629731367331.238291.23570999999999991.2357099999999999297311.345ASIAN1.50.001433196145078623527.2882330096816236.2963306623577251.24379017988962231.2474599007965974-26.308130134888863False-0.0001532343885579116350.98226029598451-29.201798896223430.75075075075078971london_breakout_short1.2406199999999998TP1+SL2023-05-23 13:00:00+00:0011.649999999999716346.3677110999916360True
272023-06-05 07:00:00+00:009GBP_USDSHORT1.23956999999999981.24352462047807081.23637999999999981.23293999999999971.2329399999999997261474.695ASIAN1.50.00156028760614060567.7177105063854323.399000902243161.24603966693781.2431226116877534-73.0129996890061False-0.000356961439957678220.985351631173675-62.196669378000720.37209302325583870london_breakout_short1.2435246204780708SL2023-06-05 15:00:00+00:00-39.54620478070936-1034.0331635712498480False
282023-07-21 08:00:00+00:009GBP_USDSHORT1.28559999999999991.28979135583975871.282031.278271.27827244239.075LONDON1.50.001732646454767472428.05681990118088737.094526628141071.2911698588113111.29497915036965970.43333333333395174False0.000282755965074085335.614894654758395-53.798588113109780.3275362318840842684london_breakout_short1.2855999999999999TP1+SL2023-07-21 13:00:00+00:0017.849999999999255435.96673994998184300True
292023-07-24 07:00:00+00:009GBP_USDSHORT1.28461999999999991.287681.282111.27935000000000021.2793500000000002335964.875ASIAN1.50.001567008742276943220.86644204179349843.010252398449031.28781025743117451.293021976549047-4.159757289443622False0.0002125627919481644560.091061667915106-29.4025743117454220.509661835748801970london_breakout_short1.2846199999999999TP1+SL2023-07-24 11:00:00+00:0012.54999999999895421.63591184996477240True
302023-08-10 07:00:00+00:009GBP_USDLONG1.274681.27138961113350321.277091.27975000000000021.2797500000000002313722.454ASIAN1.50.00133214443612733430.41071718914316360.814939885246771.27327669678932561.276295857777854716.309651709480733False0.000295176706143292883.9051251303416411.5330321067430570.426056338028152573london_breakout_long1.2797500000000002TP32023-08-10 12:00:00+00:0037.400001616078921173.322013700024300True
312023-08-23 07:00:00+00:009GBP_USDSHORT1.271721.27488361481196131.269351.266731.26673330002.914ASIAN1.50.00149934264444279130.76654872114321337.202611507937531.27447532834712751.2737396100951996-24.27226446471531False4.88802178820677e-0563.49884332358271-25.0532834712746680.553082191780788972london_breakout_short1.26673TP32023-08-23 09:00:00+00:0036.800001512108051214.4107587000055120True
322023-08-23 09:00:00+00:009GBP_USDSHORT1.26413999999999981.26896775971031351.26170999999999991.25908999999999981.2590899999999998218765.285LONDON1.50.002016882178116469342.18657977979490420.1253854113407871.27382746765146231.2735878636513949-32.662350742391766False-0.00078365579016843611.68340651518941-94.97467651462310.854368932038847692london_breakout_short1.2641399999999998TP1+SL2023-08-23 13:00:00+00:0012.14999999999966265.79981519999257240True
332023-08-31 09:00:00+00:009GBP_USDSHORT1.26840999999999981.27227234339055541.26534999999999981.26209999999999961.2620999999999996274135.184LONDON1.50.001523298973634878636.9951778168709944.74768143010161.26766967120152721.2666557925776516-7.270478393759383False-0.000685048522947069119.796604415777619.3032879847276820.3991031390134471393london_breakout_short1.26706TP1+END2023-08-31 23:00:00+00:0022.049999999999013604.468071899973840True