backtest-engine · event-driven · point-in-time

Backtest report - moving average

Moving average (window=20) · ACME · 2021-01-04 to 2023-12-29

Look-ahead checkPASSED - masked replay reproduced every decision; 0 future reads

Performance

Total return
78.7343%
Annualized volatility
12.4574%
Sharpe ratio
1.5707
risk-free = 0
Max drawdown
-10.5556%
peak to trough
Turnover
55.2839x
traded notional / mean equity
Total cost
26580.07
265.80 bps of initial capital

Equity curve

1000000 1393671 1787343 2021-01-04 2023-12-29 as of 2023-12-29T21:00:00Z

Costs

ComponentAmountbps of initial capital
Commission7473.5074.7350
Spread7473.5074.7350
Slippage11633.06116.3306
Total26580.07265.8007

Spread and slippage are already embedded in the fill price. The table reports their cash value, not an extra deduction.

Configuration

Initial cash1000000.00
Commission1.0000 bps + 0.00 fixed
Spread2.0000 bps (half per side)
Slippage100.0000 bps at 100% participation
Periods per year252
Future access policyrejected (strict)
Simulated windowfirst bar to last bar
Bars processed780
Fills168

Point-in-time data

SymbolsACME
Dataset range2021-01-04 to 2023-12-29
Bars / rows / revisions780 / 792 / 12
Data SHA-256b9fc71f5b7d47c7ffd74c355b9e1a4339416bf384cb64bce2cf92098c6c58a57

A read as of T only sees rows with published_at <= T. Revisions stay hidden until their publication timestamp.

Trades

DateSideQuantityReferenceFillNotionalCommissionSpreadSlippageCost
2021-02-02buy10125.085398.478098.5056997098.1599.7199.71179.56378.98
2021-02-03buy25.273499.845699.85562523.440.250.250.000.51
2021-02-04sell0.010799.995399.98531.070.000.000.000.00
2021-02-05buy0.000099.631199.64110.000.000.000.000.00
2021-02-08sell0.000099.758599.74850.000.000.000.000.00
2021-02-09sell0.000099.360899.35090.000.000.000.000.00
2021-03-01sell10150.3480102.2370102.21971037741.13103.77103.7772.29279.84
2021-04-12buy10626.231597.729297.75111038493.10103.85103.85128.60336.30
2021-04-13sell10626.231596.679096.65541027333.43102.73102.73148.44353.90
2021-04-19buy10536.988297.661897.67911029061.23102.91102.9179.13284.94
2021-04-20sell10536.988296.705696.67911018985.76101.90101.90177.02380.82
2021-04-21buy10442.748897.512697.53561018299.59101.83101.83138.47342.13
2021-04-22sell38.884397.145497.13563777.430.380.380.000.76
2021-04-23buy0.052597.639097.64885.120.000.000.000.00
2021-04-26buy0.000296.805796.81540.020.000.000.000.00
2021-04-27buy0.000099.281299.29110.000.000.000.000.00
2021-04-28buy0.0000100.9413100.95140.000.000.000.000.00
2021-05-12sell10403.917398.530098.51351025097.97102.51102.5169.02274.04
2021-06-07buy10551.858596.532696.56001018598.33101.86101.86187.37391.09
2021-06-08buy59.685397.863797.87365841.020.580.580.011.17
2021-06-09sell0.079696.667796.65807.690.000.000.000.00
2021-06-10buy0.000098.169798.17950.000.000.000.000.00
2021-06-11sell0.000098.492898.48300.000.000.000.000.00
2021-06-15buy0.000099.228899.23870.000.000.000.000.00
2021-07-15sell10611.4642102.6648102.64761089423.85108.94108.9474.06291.95
2021-08-18buy11292.941296.122196.14191085501.22108.55108.55114.84331.94
2021-08-19sell11292.941294.805594.78251070632.93107.06107.06152.34366.47
2021-10-15buy13629.026278.719678.73431072871.49107.29107.2992.81307.39
2021-10-18buy4.885179.317779.3256387.470.040.040.000.08
2021-10-19sell0.015478.959978.95201.210.000.000.000.00
2021-10-20sell0.000079.426479.41850.000.000.000.000.00
2021-10-21sell0.000080.248380.24030.000.000.000.000.00
2021-10-22sell0.000079.872379.86430.000.000.000.000.00
2021-11-12sell13633.895880.707680.69241100359.01110.04110.0497.42317.49
2021-11-15buy0.000081.298081.30610.000.000.000.000.00
2021-12-22buy14042.712878.663978.68461104654.55110.47110.47179.86400.79
2021-12-23sell14042.712876.833076.81801078943.75107.89107.89102.64318.43
2021-12-24buy13705.352178.710178.72981078749.64107.87107.87162.34378.09
2021-12-27sell70.090878.241078.23315483.970.550.550.001.10
2021-12-28sell0.416080.597680.589533.530.000.000.000.01
2021-12-29buy0.002180.452180.46010.170.000.000.000.00
2021-12-30buy0.000081.691781.69990.000.000.000.000.00
2021-12-31sell0.000081.147181.13900.000.000.000.000.00
2022-01-03buy0.000080.875880.88390.000.000.000.000.00
2022-01-11sell13634.847578.898978.88391075774.47107.58107.5897.03312.18
2022-01-17buy13478.795279.616479.63131073133.15107.31107.3192.94307.56
2022-01-18sell13478.795279.492879.46951071467.17107.15107.15206.26420.55
2022-01-19buy0.000079.154979.16280.000.000.000.000.00
2022-01-27buy13430.577279.893979.90971073021.19107.30107.30105.15319.76
2022-01-28sell3.386880.397580.3895272.290.030.030.000.05
2022-01-31sell0.006480.538480.53030.510.000.000.000.00
2022-02-01sell0.000080.702080.69390.000.000.000.000.00
2022-02-02sell0.000080.641480.63330.000.000.000.000.00
2022-02-03sell0.000081.281081.27290.000.000.000.000.00
2022-03-08sell13427.184084.784384.75661138414.39113.84113.84257.71485.39
2022-03-09buy13339.472185.482385.50351140288.75114.03114.03168.35396.40
2022-03-10sell32.008486.134086.12542757.010.280.280.000.55
2022-03-11buy0.003585.575985.58450.300.000.000.000.00
2022-03-14buy0.000086.706886.71550.000.000.000.000.00
2022-03-15sell0.000088.185188.17630.000.000.000.000.00
2022-03-16sell0.000089.566589.55750.000.000.000.000.00
2022-06-01sell13307.4672107.8554107.83291435282.20143.53143.53155.32442.37
2022-08-18buy15219.485594.504194.52661438303.78143.83143.83198.43486.09
2022-08-19sell41.694795.160795.15113967.700.400.400.000.80
2022-08-22buy0.175496.187996.197516.880.000.000.000.00
2022-08-23sell0.000295.700895.69120.020.000.000.000.00
2022-08-24buy0.000094.050194.05950.000.000.000.000.00
2022-08-25buy0.000096.492396.50190.000.000.000.000.00
2022-09-12sell15177.966195.249995.22851445699.75144.57144.57179.81468.95
2022-09-13buy15049.862895.913395.94611443482.00144.35144.35349.78638.47
2022-09-14buy11.454996.686996.69661107.540.110.110.000.22
2022-09-15buy0.026297.625797.63552.560.000.000.000.00
2022-09-16buy0.000099.107199.11700.000.000.000.000.00
2022-09-19sell0.000099.266499.25650.000.000.000.000.00
2022-09-20buy0.000099.824699.83460.000.000.000.000.00
2022-11-10sell15061.3439107.9689107.92921626156.73162.62162.62434.98760.21
2022-11-25buy14765.9690110.1438110.17201626379.94162.64162.64253.75579.02
2022-11-28sell13.9681111.6765111.66531559.910.160.160.000.31
2022-11-29sell0.0258110.7165110.70542.860.000.000.000.00
2022-11-30buy0.0001110.2600110.27100.010.000.000.000.00
2022-12-01buy0.0000112.2163112.22750.000.000.000.000.00
2022-12-02buy0.0000113.8802113.89160.000.000.000.000.00
2022-12-05sell0.0000113.0934113.08210.000.000.000.000.00
2022-12-06sell0.0000110.5210110.50990.000.000.000.000.00
2022-12-07sell14751.9753109.2348109.20801611429.07161.14161.14233.98556.27
2022-12-08buy14405.2110112.3903112.42071619005.98161.90161.90275.64599.44
2022-12-09sell78.3895111.3693111.35818730.180.870.870.001.75
2022-12-12sell0.0380110.3813110.37034.190.000.000.000.00
2022-12-13sell0.0000110.4520110.44100.000.000.000.000.00
2022-12-14sell0.0000111.6501111.63890.000.000.000.000.00
2022-12-15sell0.0000111.4405111.42940.000.000.000.000.00
2022-12-16sell14326.7835109.5578109.53361569610.88156.96156.96189.84503.76
2022-12-19buy13998.9358112.3771112.40461573159.81157.32157.32227.94542.57
2022-12-20sell41.1400112.0654112.05414610.370.460.460.000.92
2022-12-21buy0.1266112.1182112.129414.200.000.000.000.00
2022-12-22sell13957.9224111.1222111.08381551035.04155.10155.10381.47691.68
2023-01-03buy14137.9481110.0493110.07941555871.29155.59155.59269.88581.05
2023-01-04sell54.8713111.3322111.32106108.950.610.610.011.23
2023-01-05sell0.0115110.8189110.80781.270.000.000.000.00
2023-01-06buy0.0000111.8743111.88550.000.000.000.000.00
2023-01-09sell0.0000111.4026111.39150.000.000.000.000.00
2023-01-10buy0.0000110.6960110.70710.000.000.000.000.00
2023-01-24sell14083.0653109.7082109.68591545027.74154.50154.50159.11468.11
2023-03-02buy15567.568299.314999.34361546091.48154.61154.61291.46600.68
2023-03-03sell21.409199.308099.29802126.090.210.210.000.43
2023-03-06sell15546.159297.535497.50661516300.85151.63151.63296.62599.88
2023-03-07buy15499.796597.613697.63271512990.94151.30151.30144.85447.45
2023-03-08buy22.887898.422498.43232252.670.230.230.000.45
2023-03-09buy0.026498.600098.60992.600.000.000.000.00
2023-03-10sell15522.710697.325897.29741510760.23151.08151.08289.95592.10
2023-03-13sell0.000097.343197.33340.000.000.000.000.00
2023-03-30buy15586.113396.945996.98021511009.78151.10151.10383.88686.08
2023-03-31sell15.334399.943099.93301532.550.150.150.000.31
2023-04-03buy0.045599.240899.25074.510.000.000.000.00
2023-04-04sell0.000099.158899.14890.000.000.000.000.00
2023-04-05sell0.0000100.4437100.43370.000.000.000.000.00
2023-04-06sell0.0000100.1675100.15750.000.000.000.000.00
2023-05-02sell15570.824598.937998.90531540544.67154.05154.05353.24661.35
2023-06-09buy16197.533694.832794.85321536055.85153.61153.61178.10485.31
2023-06-12buy35.185094.853594.86303337.420.330.330.000.67
2023-06-13buy0.043294.096894.10624.070.000.000.000.00
2023-06-14buy0.000294.661694.67110.010.000.000.000.00
2023-06-15buy0.000096.029096.03860.000.000.000.000.00
2023-06-16sell0.000096.233296.22360.000.000.000.000.00
2023-06-19sell0.000094.668494.65890.000.000.000.000.00
2023-06-23sell16232.762092.261992.23611497665.46149.77149.77268.70568.23
2023-06-26buy0.000091.336491.34550.000.000.000.000.00
2023-07-31buy17261.485186.601886.62081494875.68149.49149.49178.16477.13
2023-08-01buy19.884488.032888.04161750.480.180.180.000.35
2023-08-02sell0.072688.252588.24376.400.000.000.000.00
2023-08-03sell0.000086.751286.74250.000.000.000.000.00
2023-08-04sell0.000086.572586.56380.000.000.000.000.00
2023-08-07sell0.000086.711786.70300.000.000.000.000.00
2023-08-23sell17281.296986.799586.78081500007.93150.00150.00172.44472.44
2023-08-25buy16864.175488.926588.94651499672.09149.97149.97186.89486.82
2023-08-28sell6.872690.827890.8187624.220.060.060.000.12
2023-08-29buy0.007590.073190.08210.680.000.000.000.00
2023-08-30sell0.000090.720490.71130.000.000.000.000.00
2023-08-31sell0.000091.188691.17950.000.000.000.000.00
2023-09-01buy0.000092.544492.55370.000.000.000.000.00
2023-10-05sell16857.310398.813498.79191665728.14166.57166.57196.67529.82
2023-10-25buy16961.738598.546998.57661671526.75167.15167.15336.78671.08
2023-10-26sell70.576899.707699.69757037.050.700.700.011.42
2023-10-27buy0.3595101.0343101.044436.330.000.000.000.01
2023-10-30sell0.0021100.4423100.43230.210.000.000.000.00
2023-10-31sell0.0000101.5168101.50660.000.000.000.000.00
2023-11-01buy0.0000101.2983101.30840.000.000.000.000.00
2023-11-02sell0.000099.522399.51230.000.000.000.000.00
2023-11-08sell16891.519198.299698.27181660429.57166.04166.04303.30635.38
2023-11-09buy16883.234898.814898.83871668313.47166.83166.83237.22570.88
2023-11-10sell92.008499.275399.26539134.170.910.910.011.83
2023-11-13buy0.4221100.0426100.052642.230.000.000.000.01
2023-11-14sell0.0006100.9694100.95930.060.000.000.000.00
2023-11-15sell0.0000101.1570101.14690.000.000.000.000.00
2023-11-16sell0.0000101.2858101.27570.000.000.000.000.00
2023-11-17sell0.0000101.8460101.83580.000.000.000.000.00
2023-12-06sell16791.6479101.8684101.83531710538.30171.05171.05383.93726.04
2023-12-12buy16703.0291102.1814102.21081706738.90170.67170.67321.09662.44
2023-12-13buy22.9590104.9162104.92672408.770.240.240.000.48
2023-12-14buy0.0161102.8182102.82851.650.000.000.000.00
2023-12-15buy0.0001102.8139102.82420.010.000.000.000.00
2023-12-18sell16726.0043101.7955101.77241702631.97170.26170.26216.76557.29
2023-12-19buy16483.9950102.7184102.75901693209.59169.32169.32499.44838.09
2023-12-20buy78.0031102.8429102.85338022.060.800.800.011.61
2023-12-21buy0.0323103.2097103.22003.330.000.000.000.00
2023-12-22buy0.0000103.4968103.50710.000.000.000.000.00
2023-12-25sell0.0000104.0828104.07240.000.000.000.000.00
2023-12-26sell0.0000103.1169103.10660.000.000.000.000.00