Open dondopong opened 1 year ago
this has finally been fixed on the fix52 branch where your original file is now parsing with forward references
hope to merge and release soon.
export interface IBaseTradingRules {
TickRules?: ITickRules// [1] NoTickRules.1205, StartTickPriceRange.1206 .. TickRuleType.1209
LotTypeRules?: ILotTypeRules// [2] NoLotTypeRules.1234, LotType.1093 .. MaxLotSize.5515
PriceLimits?: IPriceLimits// [3] PriceLimitType.1306, LowLimitPrice.1148 .. TradingReferencePrice.1150
ExpirationCycle?: number// [4] 827 (Int)
MinTradeVol?: number// [5] 562 (Float)
MaxTradeVol?: number// [6] 1140 (Float)
MaxPriceVariation?: number// [7] 1143 (Float)
ImpliedMarketIndicator?: number// [8] 1144 (Int)
TradingCurrency?: string// [9] 1245 (String)
RoundLot?: number// [10] 561 (Float)
MultilegModel?: number// [11] 1377 (Int)
MultilegPriceMethod?: number// [12] 1378 (Int)
PriceType?: number// [13] 423 (Int)
}
Thank you very much! I'll hopefully be testing it in a few weeks.
El vie, 3 de nov de 2023, 14:30, TimelordUK @.***> escribió:
this has finally been fixed on the fix52 branch where your original file is now parsing with forward references
hope to merge and release soon.
export interface IBaseTradingRules { TickRules?: ITickRules// [1] NoTickRules.1205, StartTickPriceRange.1206 .. TickRuleType.1209 LotTypeRules?: ILotTypeRules// [2] NoLotTypeRules.1234, LotType.1093 .. MaxLotSize.5515 PriceLimits?: IPriceLimits// [3] PriceLimitType.1306, LowLimitPrice.1148 .. TradingReferencePrice.1150 ExpirationCycle?: number// [4] 827 (Int) MinTradeVol?: number// [5] 562 (Float) MaxTradeVol?: number// [6] 1140 (Float) MaxPriceVariation?: number// [7] 1143 (Float) ImpliedMarketIndicator?: number// [8] 1144 (Int) TradingCurrency?: string// [9] 1245 (String) RoundLot?: number// [10] 561 (Float) MultilegModel?: number// [11] 1377 (Int) MultilegPriceMethod?: number// [12] 1378 (Int) PriceType?: number// [13] 423 (Int)}
— Reply to this email directly, view it on GitHub https://github.com/TimelordUK/jspurefix/issues/62#issuecomment-1792855971, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGN5Y3VTQF7ZH3OSBDDK6STYCUS27AVCNFSM6AAAAAAVMVG6XWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJSHA2TKOJXGE . You are receiving this because you authored the thread.Message ID: @.***>
When there's a component inside another one, and the referenced component is declared after the main component in the xml, the generator does not compile it properly. Example:
The output looks like this:
Workaround for this: place the referenced component before the main component in the xml file.