-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generator does not compile forward referenced components #62
Comments
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
<#62 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGN5Y3VTQF7ZH3OSBDDK6STYCUS27AVCNFSM6AAAAAAVMVG6XWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJSHA2TKOJXGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: