We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In version 3.8.0 you have this data structure, in which BarPrice == Double
BarPrice == Double
// MARK: - public enum EventPrices { case barPrice(BarPrice) case barPrices(BarPrices) case none }
In version 4.0.0 you change structure to this
// MARK: - public enum EventPrices { case barData(BarData) case lineData(LineData) case none }
where
// MARK: - public struct BarData: BarSeriesData { public var time: Time public var open: Double? public var high: Double? public var low: Double? public var close: Double? public var color: ChartColor? public init(time: Time, open: Double?, high: Double?, low: Double?, close: Double?, color: ChartColor? = nil) { self.time = time self.open = open self.high = high self.low = low self.close = close self.color = color } }
How may i mapping case barPrice(BarPrice) -> case barData(BarData)?
case barPrice(BarPrice)
case barData(BarData)
The text was updated successfully, but these errors were encountered:
As i see in diff of 4.x.x. case barPrice(BarPrice) is case lineData(LineData) now
case lineData(LineData)
Sorry, something went wrong.
No branches or pull requests
In version 3.8.0 you have this data structure, in which
BarPrice == Double
In version 4.0.0 you change structure to this
where
How may i mapping
case barPrice(BarPrice)
->case barData(BarData)
?The text was updated successfully, but these errors were encountered: