</> Codebase - Columns
StrategyQuant X platform codebase – a place to share coded customizations and extensions – among all users.
Columns > Databank / Filter
Walk Forward Optimisation Metrics
Snippets designed for better evaluation of WFO process. Idea behind this you can find in this series: Algorithmic Backtesting & Optimization for Alphas I will add blog post
wfo
optimisation
Columns
Entry Order Types
Databank snippets described here: https://strategyquant.com/blog/how-to-categorize-your-strategies-by-entry-type-quickly-and-efficiently/ How to import custom indicators to SQX: https://strategyquant.com/doc/programming-for-sq/import-export-custom-indicators-and-other-snippets/
orders
type
order types
market
stop
limit
Entry Order Types
Columns
Databank Ratios 01032022
AnnualPercReturnAvgDDPerRatio AvgWinPerc AvgWinPercAvgDDPerRatio NetProfitAvgDDRatio PercARAvgDDRatio
ratio
databank
columns
AnnualPercReturnAvgDDPerRatio
AvgWinPerc
Columns > Databank / Filter
Sortino Ratio
The Sortino ratio is a variation of the Sharpe ratio that differentiates harmful volatility from total overall volatility by using the asset's standard deviation of negative portfolio returns—downside deviation—instead of the total standard deviation of portfolio returns. The Sortino ratio takes an asset or portfolio's return and subtracts the risk-free rate, and then divides that amount by the asset's downside deviation. The ratio was named after Frank A. Sortino. Source: https://www.investopedia.com/ CREDIT: Acerbi
sortino ratio
risk
ratio
Columns > Databank / Filter
Biggest MAE on multiple trades
We have a snippet called "Biggest MAE". It is very useful to see how a strategy with a single order behave. However, when you open multiple orders at once, you have to calculate the total MAE of all the open positions
MAE
Biggest MAE
Hedging
Basket orders
multiple orders
Columns > Trade list
Trade Edge Ratio
Trade column that will allow us to analyze the Edge Ratio of each trade.
edge ratio
Columns > Trade list
ATR(14) on Open
This snippet shows you the value of ATR(14) at the time the position was opened.
atr
Columns
Multimarket analysis in SQX
Snippets used in blog post: Multimarket analysis in SQX
multimarket analysis