Available translations







loading results
Common Metrics - Hits, Fails, Hit Ratio, Profit Loss, ROI, Annualized Rate of Return

Summary: These metrics are available in different contexts, for instance, at the level of the Episode, the Position or the Position, and both for the base and quoted assets.
Summary: Эти показатели доступны в различных контекстах, например, на уровне Episode или Position, причем как для базовых, так и для котируемых активов.
Summary: Özet: Bu metrikler farklı bağlamlarda, örneğin Bölüm, Pozisyon veya Pozisyon düzeyinde ve hem temel hem de teklif edilen varlıklar için mevcuttur.
Hits
Foundations->Node->Hits->Definition

Hits counts the number of positions that closed with a positive profit loss, in the context of the parent node.

Hits подсчитывает количество позиций, которые закрылись с прибылью в контексте родительского узла.

İsabetler, üst düğüm bağlamında pozitif bir kar kaybıyla kapanan pozisyonların sayısını sayar.
Foundations->Node->Hits->Content
In the context of the quoted asset or the base asset, hits are calculated relative to the asset in question. That is, if the base asset profit loss is positive, then a hit is counted for the base asset.
В контексте котируемого актива или базового актива попадания рассчитываются относительно рассматриваемого актива. То есть, если прибыль базового актива положительный, то попадания Hits засчитываются для базового актива.
Kote edilen varlık veya temel varlık bağlamında, isabetler söz konusu varlığa göre hesaplanır. Yani, temel varlık kar zararı pozitifse, temel varlık için bir isabet sayılır.
However, when the context of the asset is not specified—such as under the statistics node—then hits are calculated in a consolidated manner, converting the respective balances to perform the calculations.
Однако, если контекст актива не указан — например, в узле статистики Statistics — тогда попадания Hits рассчитываются консолидированным образом, преобразуя соответствующие балансы для выполнения вычислений.
Ancak, varlığın bağlamı belirtilmediğinde—örneğin istatistik düğümü altında—o zaman isabetler konsolide bir şekilde hesaplanır ve hesaplamaları gerçekleştirmek için ilgili bakiyeler dönüştürülür.
Note: The consolidated calculations are explained thoroughly in the profit loss node.
Note: Объединенные расчеты подробно объясняются в узле Profit Loss.
Note: Konsolide hesaplamalar kar zarar düğümünde ayrıntılı olarak açıklanmıştır.
Fails
Foundations->Node->Fails->Definition

Fails counts the number of positions that closed with a negative profit loss, in the context of the parent node.

Fails подсчитывает количество позиций, которые закрылись с убытком от прибыли, в контексте родительского узла.

Fails zählt die Anzahl der Positionen(positions), die mit einem negativen Gewinnverlust(negative profit loss) geschlossen wurden, im Kontext der parent node (übergeordneten Knotens).

Fails, ana düğüm bağlamında negatif kar kaybıyla kapanan pozisyonların sayısını sayar.
Foundations->Node->Fails->Content
Note: The workings of the fail counts are analogous to the workings of the hits counts, reversing the sign. That is, when profit loss is negative, it is counted as a fail. Please refer to the definition of hits for the details.
Note: Работа счетчиков промахов аналогична работе счетчиков попаданий, меняя знак. То есть, когда прибыль отрицательная, он засчитывается как промах. Пожалуйста, обратитесь к определению Hits для получения подробной информации.
Note: Die Funktionsweise der fail counts ist analog zur Funktionsweise der hits counts, wobei das Vorzeichen umgekehrt wird. Das heißt, wenn der Gewinnverlust(profit loss) negativ ist, wird er als Fehlschlag (fail) gezählt. Einzelheiten hierzu finden Sie in der Definition von hits.
Note: Başarısızlık sayımlarının işleyişi isabet sayımlarının işleyişine benzer, ancak işaretler tersine çevrilmiştir. Yani, kar kaybı negatif olduğunda, başarısız olarak sayılır. Ayrıntılar için lütfen isabet tanımına bakın.
Hit Ratio
Foundations->Node->Hit Ratio->Definition

Hit ratio is the percentage of positions that closed with a positive profit loss, in the context of the parent node.

Hit Ratio - это процент позиций, которые закрылись с прибыльно, в контексте родительского узла.

İsabet oranı, ana düğüm bağlamında pozitif bir kar kaybıyla kapanan pozisyonların yüzdesidir.
Foundations->Node->Hit Ratio->Content
Hit ratio results from multiplying the number of hits by 100 and dividing it by the number of positions: hit ratio = hits * 100 / positions.
Коэффициент попадания получается путем умножения количества попаданий на 100 и деления его на количество позиций: hit ratio = hits * 100 / positions (коэффициент попадания = попадания * 100 / позиции).
İsabet oranı, isabet sayısının 100 ile çarpılıp pozisyon sayısına bölünmesiyle elde edilir: isabet oranı = isabet * 100 / pozisyonlar.
Profit Loss
Foundations->Node->Profit Loss->Definition

Profit loss is the difference between the balance at the end and the balance at the beginning of a certain period, given by the context.

Profit Loss - это разница между балансом на конец и балансом на начало определенного периода, заданная контекстом.

Kâr kaybı, belirli bir dönemin sonundaki bakiye ile başındaki bakiye arasındaki farktır ve duruma göre verilir.
Foundations->Node->Profit Loss->Content
In the context of the base asset or the quoted asset, the calculation is done by subtracting the balances in the corresponding assets, using the variable appropriate to the larger context (i.e.: episode, position, etc.).
В контексте базового актива или котируемого актива расчет производится путем вычитания балансов в соответствующих активах с использованием переменной, соответствующей более широкому контексту (т.е.: эпизод, позиция и т.д.).
Temel varlık veya kote edilen varlık bağlamında, hesaplama, daha büyük duruma uygun değişken (örneğin: bölüm, pozisyon, vb.) kullanılarak ilgili varlıklardaki bakiyelerin çıkarılmasıyla yapılır.
In general terms:
В общих чертах:
Genel anlamda:
base asset profit loss = base asset end balance - base asset begin balance
quoted asset profit loss = quoted asset end balance - quoted asset begin balance
In the case of the Episode Base Asset and Episode Quoted Asset:
В случае Episode Base Asset и Episode Quoted Asset:
Bölüm Temel Varlığı ( Episode Base Asset ) ve Bölüm Kotalı Varlığı ( Episode Quoted Asset ) söz konusu olduğunda:
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.profitLoss.value =
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.balance.value -
sessionParameters.sessionBaseAsset.config.initialBalance
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.profitLoss.value =
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.balance.value -
sessionParameters.sessionQuotedAsset.config.initialBalance
In the case of the Position Base Asset and Position Quoted Asset:
В случае Position Base Asset и Position Quoted Asset:
Pozisyon Baz Varlığı ( Position Base Asset ) ve Pozisyon Kotalı Varlığı ( Position Quoted Asset ) söz konusu olduğunda:
tradingEngine.tradingCurrent.position.positionBaseAsset.profitLoss.value =
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.balance.value -
tradingEngine.tradingCurrent.position.positionBaseAsset.beginBalance
tradingEngine.tradingCurrent.position.positionQuotedAsset.profitLoss.value =
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.balance.value -
tradingEngine.tradingCurrent.position.positionQuotedAsset.beginBalance
In the context of the episode statistics or the position statistics, the calculation is done consolidating the profits of both assets.
В контексте статистики по эпизодам или статистики по позициям расчет производится с объединением прибыли обоих активов.
Bölüm istatistikleri veya pozisyon istatistikleri bağlamında, hesaplama her iki varlığın karları konsolide edilerek yapılır.
Note: When the context does not refer to either of the assets in particular, then both assets are taken into account in the calculation.
Note: Если в контексте не упоминается ни один из активов в частности, то при расчете учитываются оба актива.
Note: Bağlamda varlıklardan herhangi birine özellikle atıfta bulunulmadığında, hesaplamada her iki varlık da dikkate alınır.
In the context of the episode statistics:
В контексте статистики эпизодов:
Bölüm istatistikleri bağlamında:
tradingEngine.tradingCurrent.tradingEpisode.tradingEpisodeStatistics.profitLoss.value =
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.profitLoss.value *
tradingEngine.tradingCurrent.tradingEpisode.candle.close.value +
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.profitLoss.value
In the context of the position statistics:
В контексте статистики позиций:
Pozisyon istatistikleri bağlamında:
tradingEngine.tradingCurrent.position.positionStatistics.profitLoss.value =
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.profitLoss.value *
tradingEngine.tradingCurrent.position.endRate.value +
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.profitLoss.value
ROI
Foundations->Node->ROI->Definition

ROI is a ratio that compares the profit loss with the cost of the investment, expressed as a percentage.

ROI - это соотношение, которое сравнивает полученную прибыль с затратами на инвестиции, выраженное в процентах.
Foundations->Node->ROI->Content
In general financial terms, ROI is equal to the Net Return on Investment divided by the Cost of Investment, expressed as a percentage.
В общих финансовых терминах ROI (рентабельность инвестиций) равна чистой прибыли от инвестиций, деленной на стоимость инвестиций, выраженную в процентах.
In Superalgos, the Net Return on Investment is the profit loss, as defined elsewhere. The Cost of Investment is solely the begin balance, as the fees are subtracted from the balance to calculate the profit loss, so we don’t need to account for them in the divisor side of the ratio.
В Superalgos понятие Net Return on Investment - это убыток от прибыли, как определено в другом месте. Стоимость инвестиций - это исключительно начальный баланс, так как комиссии вычитаются из баланса для расчета убытка от прибыли, поэтому нам не нужно учитывать их в делителе коэффициента.
That is:
То есть:
ROI = profit loss / begin balance * 100
In the context of the episode base asset and episode quoted asset, the calculation is done relative to the corresponding assets, and the overall context.
В контексте базового актива эпизода и котируемого актива эпизода расчет производится относительно соответствующих активов и общего контекста.
The formula:
Формула:
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.ROI.value =
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.profitLoss.value /
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.beginBalance.value * 100
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.ROI.value =
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.profitLoss.value /
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.beginBalance.value * 100
In the context of the position base asset and position quoted asset, the size filled is used instead of the balance, so that ROI may be properly calculated for complex execution algorithms.
В контексте базового актива позиции и котируемого актива позиции, заполненный размер используется вместо баланса, чтобы можно было правильно рассчитать ROI для сложных алгоритмов исполнения.
The formula:
Формула:
tradingEngine.tradingCurrent.position.positionBaseAsset.ROI.value =
tradingEngine.tradingCurrent.position.positionBaseAsset.profitLoss.value * 100 /
tradingEngine.tradingCurrent.strategyOpenStage.stageBaseAsset.sizeFilled.value
tradingEngine.tradingCurrent.position.positionQuotedAsset.ROI.value =
tradingEngine.tradingCurrent.position.positionQuotedAsset.profitLoss.value * 100 /
tradingEngine.tradingCurrent.strategyOpenStage.stageQuotedAsset.sizeFilled.value
In the context of the episode statistics, the calculation is done using the consolidated balance, as explained in the profit loss definition.
В контексте статистики по эпизодам расчет производится с использованием объединенного баланса, как объясняется в определении Profit Loss.
Note: When the context does not refer to either of the assets in particular, then both asset balances are consolidated, and denominated in the quoted asset.
Примечание: Если в контексте не упоминается ни один из активов в частности, то балансы обоих активов объединяются и выражаются в котируемом активе.
The formula:
Формула:
tradingEngine.tradingCurrent.tradingEpisode.tradingEpisodeStatistics.ROI.value =
(
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.profitLoss.value *
tradingEngine.tradingCurrent.tradingEpisode.endRate.value +
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.profitLoss.value
) / (
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.beginBalance.value *
tradingEngine.tradingCurrent.tradingEpisode.beginRate.value +
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.beginBalance.value
) * 100
Annualized Rate Of Return
Foundations->Node->Annualized Rate Of Return->Definition

Annualized rate of return is the equivalent ROI scaled to one year.

Annualized Rate Of Return - это эквивалентная рентабельность инвестиций в один год.

Yıllık getiri oranı, bir yıla ölçeklenen eşdeğer yatırım getirisidir.
Foundations->Node->Annualized Rate Of Return->Content
In other words, it is the equivalent annual return received over a given period.
Другими словами, это эквивалентный годовой доход, полученный за определенный период.
Başka bir deyişle, belirli bir süre boyunca alınan eşdeğer yıllık getiridir.
The formula:
Формула:
Formül:
annualized rate of return =
(((investment + profits) / investments) ^ (365 / days)) - 1
In the context of the episode base asset and episode quoted asset, the calculation is done relative to the corresponding assets, and the overall context.
В контексте базового актива эпизода и указанного актива эпизода расчет выполняется относительно соответствующих активов и общего контекста.
Bölüm temel varlık ve bölüm alıntı varlık bağlamında, hesaplama ilgili varlıklara ve genel bağlama göre yapılır.
The formulas:
Формулы:
Formül:
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.annualizedRateOfReturn.value =
((( tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.beginBalance.value +
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.profitLoss.value ) /
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.beginBalance.value) ^
(365 / tradingEngine.tradingCurrent.tradingEpisode.tradingEpisodeStatistics.days.value)) - 1
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.annualizedRateOfReturn.value =
((( tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.beginBalance.value +
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.profitLoss.value ) /
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.beginBalance.value) ^
(365 / tradingEngine.tradingCurrent.tradingEpisode.tradingEpisodeStatistics.days.value)) - 1
The JavaScript code:
Код JavaScript:
JavaScript kodu:
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.annualizedRateOfReturn.value =
Math.pow(
( tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.beginBalance.value +
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.profitLoss.value ) /
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.beginBalance.value
,
(365 / tradingEngine.tradingCurrent.tradingEpisode.tradingEpisodeStatistics.days.value)
) - 1
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.annualizedRateOfReturn.value =
Math.pow(
( tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.beginBalance.value +
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.profitLoss.value ) /
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.beginBalance.value
,
(365 / tradingEngine.tradingCurrent.tradingEpisode.tradingEpisodeStatistics.days.value)
) - 1
In the context of the episode statistics, the calculation is done using the consolidated balance, as explained in the profit loss definition.
В контексте статистики по эпизодам расчет выполняется с использованием консолидированного баланса, как объяснено в определении убытка по прибыли.
Dönem istatistikleri bağlamında, hesaplama, kar zararı tanımında açıklandığı gibi konsolide bakiye kullanılarak yapılır.
Note: When the context does not refer to either of the assets in particular, then both asset balances are consolidated, and denominated in the quoted asset.
Note: Если контекст не относится ни к одному из активов в частности, то оба баланса активов консолидируются и выражаются в указанном активе.
Note: Not: Bağlam özellikle varlıklardan herhangi birine atıfta bulunmadığında, her iki varlık bakiyesi konsolide edilir ve kote varlıkta gösterilir.
The JavaScript code:
Код JavaScript:
JavaScript kodu:
tradingEngine.tradingCurrent.tradingEpisode.tradingEpisodeStatistics.annualizedRateOfReturn.value =
Math.pow(
(
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.beginBalance.value *
tradingEngine.tradingCurrent.tradingEpisode.beginRate.value +
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.beginBalance.value +
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.profitLoss.value +
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.profitLoss.value
) /
(
tradingEngine.tradingCurrent.tradingEpisode.episodeBaseAsset.beginBalance.value *
tradingEngine.tradingCurrent.tradingEpisode.beginRate.value +
tradingEngine.tradingCurrent.tradingEpisode.episodeQuotedAsset.beginBalance.value
)
,
(
365 / tradingEngine.tradingCurrent.tradingEpisode.tradingEpisodeStatistics.days.value
)
) - 1
Trading Engine — TOC
You just read page 11 in the topic.
4. Temporal Context - Current and Last
5. Conceptual Context - Episode, Strategy, Position, Strategy Stages
6. Base Asset and Quoted Asset
7. Counters
8. Statistics
10. Balances
11. Common Metrics - Hits, Fails, Hit Ratio, Profit Loss, ROI, Annualized Rate of Return
12. Accounts Specific to the Open and Close Stages
13. Accounts Specific to Orders
14. Market Data