desktop:custom_strategies

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
desktop:custom_strategies [2025/03/27 19:52] – [Quick Start Guide] robdesktop:custom_strategies [2025/03/27 20:15] (current) – [T4 Custom Strategies Calculations] rob
Line 190: Line 190:
 {{:desktop:ts-qs-009.png|}} {{:desktop:ts-qs-009.png|}}
 ====== T4 Custom Strategies Calculations ====== ====== T4 Custom Strategies Calculations ======
-Inputs Description 
-Ticks This is the price of the product as published by the exchange. Note that this value may not match the display price. 
-TickValue This is the cash value of a minimum tick for the product multiplied by the leg multiplier chosen for that leg, i.e. a leg multiplier of 3 with a $10 minimum tick creates a $30 TickValue. 
-Numerator The minimum tick increment in the same terms as the "Ticks" of the product, i.e. a display price of 1170.3 may have a minimum tick of 0.1, but if the Ticks are published by the exchange as 11703, the Numerator will be 1, not 0.1 
-Denominator The value sent from the exchange that divides into Ticks to create a decimal value. 
-PriceCode If applicable, this applies a special conversion to a decimal value to create a more legible display price, i.e. a 10yr Note decimal price of 127.296875 becomes 127095 after applying the appropriate PriceCode. 
-DisplayFormat The decimal precision applied to a display price, i.e. a price of 1258.75 with a DisplayFormat of 0.0 will truncate the last digit, leaving 1258.7 as the display price 
  
-Edit +^ **Inputs**                      ^ **Description**  ^ 
-Cash Calculation¶ +|**Ticks** |This is the price of the product as published by the exchange. Note that this value may not match the display price.| 
-Step 1 - Multiply each leg price by its TickValue and Denominator, then divide by its Numerator. +|**TickValue** |This is the cash value of a minimum tick for the product multiplied by the leg multiplier chosen for that leg, i.e. a leg multiplier of 3 with a $10 minimum tick creates a $30 TickValue.| 
-Step 2 - Add all leg values calculated in Step 1, where buy-side legs are positive and sell-side legs are negative+|**Numerator** |The minimum tick increment in the same terms as the "Ticks" of the product, i.e. a display price of 1170.3 may have a minimum tick of 0.1, but if the Ticks are published by the exchange as 11703, the Numerator will be 1, not 0.1 | 
-Step 3 - Multiply the value derived in Step 2 by the first leg's Numeratorthen divide by the first leg's TickValue and Denominator.+|**Denominator** |The value sent from the exchange that divides into Ticks to create a decimal value. | 
 +|**PriceCode** |If applicable, this applies a special conversion to a decimal value to create a more legible display price, i.e. a 10yr Note decimal price of 127.296875 becomes 127095 after applying the appropriate PriceCode.| 
 +|**DisplayFormat** |The decimal precision applied to a display pricei.e. a price of 1258.75 with a DisplayFormat of 0.0 will truncate the last digit, leaving 1258.7 as the display price|
  
-Edit 
-Decimal Calculation¶ 
-Step 1 - Multiply each leg price by its leg multiplier. 
-Step 2 - Add all leg values calculated in Step 1, where buy-side legs are positive and sell-side legs are negative. 
  
-Edit +__**Cash Calculation**__ 
-Tick Calculation¶ +  * **Step 1** - Multiply each leg price by its TickValue and Denominator, then divide by its Numerator
-Step 1 - Multiply each leg price by its leg multiplier and Denominator. +  * **Step 2** - Add all leg values calculated in Step 1, where buy-side legs are positive and sell-side legs are negative. 
-Step 2 - Add all leg values calculated in Step 1, where buy-side legs are positive and sell-side legs are negative. +  * **Step 3** Multiply the value derived in Step 2 by the first leg'Numerator, then divide by the first leg's TickValue and Denominator.
-Step 3 - Divide the value derived in Step 2 by the first leg's Denominator.+
  
-Edit + 
-Yield Calculation¶+__**Decimal Calculation**__ 
 +  * **Step 1** - Multiply each leg price by its leg multiplier. 
 +  * **Step 2** - Add all leg values calculated in Step 1, where buy-side legs are positive and sell-side legs are negative. 
 + 
 + 
 +__**Tick Calculation**__ 
 +  * **Step 1** - Multiply each leg price by its leg multiplier and Denominator. 
 +  * **Step 2** - Add all leg values calculated in Step 1, where buy-side legs are positive and sell-side legs are negative. 
 +  * **Step 3** - Divide the value derived in Step 2 by the first leg's Denominator. 
 + 
 + 
 +__**Yield Calculation**__
 The yield calculation is the same as the cash calculation, but the quotes are displayed as yield instead of price. The yield calculation is only available for treasury products. The yield calculation is the same as the cash calculation, but the quotes are displayed as yield instead of price. The yield calculation is only available for treasury products.
  
  • desktop/custom_strategies.1743105141.txt.gz
  • Last modified: 2025/03/27 19:52
  • by rob