Fix Feeder Cattle (GF) tick size in symbol-properties-database#9493
Open
AlexCatarino wants to merge 1 commit into
Open
Fix Feeder Cattle (GF) tick size in symbol-properties-database#9493AlexCatarino wants to merge 1 commit into
AlexCatarino wants to merge 1 commit into
Conversation
GF's minimum_price_variation in the symbol-properties database was 0.025 (cents per pound), inconsistent with every other livestock entry which uses dollars per pound. CME's official spec is $0.00025/lb ($12.50/tick on 50,000 lb), matching LE and HE. With price_magnifier=100 the prior value produced an effective per- contract tick value of $1,250 instead of $12.50, putting algorithm- rounded prices on a grid 100x coarser than the exchange grid and causing rejected/unreachable orders on GF. https://www.cmegroup.com/markets/agriculture/livestock/feeder-cattle.contractSpecs.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Corrects the
minimum_price_variationfor CME Feeder Cattle (GF) futures inData/symbol-properties/symbol-properties-database.csvfrom0.025to0.00025:This aligns
GFwith the per-pound dollar convention used by the other livestock contracts (LE,HE) and with the official CME contract specifications.Related Issue
Fixes #9492
Motivation and Context
The Feeder Cattle row was using cents-per-pound (
0.025) while every other livestock row uses dollars-per-pound (0.00025forLE/HE). The CME contract specs define the minimum price fluctuation as $0.00025 per pound and the tick value as $12.50 on the 50,000 lb contract.With
price_magnifier = 100correctly set, the prior0.025value produced an effective tick value of0.025 × 50,000 = $1,250per contract, vs. the actual exchange tick value of$12.50— off by a factor of 100. Any algorithm that rounds target / stop / limit prices toSymbol.Properties.MinimumPriceVariationonGFlanded on a price grid 100× coarser than the exchange grid, producing orders at unreachable prices or broker rejections. Issue surfaced in TradeStation live trading; sibling contracts (LE,HE, JPY futures) behaved correctly.References:
Requires Documentation Change
No.
How Has This Been Tested?
Reproduction (against
masterprior to this fix):After the fix,
GFreports0.00025and a per-contract tick value of$12.50, matching the exchange.Types of changes
Checklist:
bug-<issue#>-<description>