Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kosyloa committed Oct 13, 2023
1 parent 24c0322 commit 7ec48dd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
5 changes: 4 additions & 1 deletion DXFeedFramework/Events/Market/Extra/OrderBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,11 @@ public class OrderBase: MarketEvent, IIndexedEvent, CustomStringConvertible {
*/

/// Gets or sets time and sequence of this order packaged into single long value
///
/// This method is intended for efficient order time priority comparison.
/// Do not set their property directly.
/// **Do not set their property directly.**
///
/// Sets ``time`` and/or ``setSequence(_:)``.
public internal(set) var timeSequence: Long = 0
/// Gets or sets microseconds and nanoseconds time part of this order.
public var timeNanoPart: Int32 = 0
Expand Down
6 changes: 4 additions & 2 deletions DXFeedFramework/Events/Market/Extra/TradeBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ public class TradeBase: MarketEvent, ILastingEvent {
*/

/// Gets or sets time and sequence of last trade packaged into single long value.
/// Do not set this property directly.
///
/// **Do not set this property directly.**
///
/// Sets ``time`` and/or ``setSequence(_:)``.
public internal(set) var timeSequence: Long = 0
/// Gets or sets microseconds and nanoseconds time part of the last trade.
Expand All @@ -49,7 +51,7 @@ public class TradeBase: MarketEvent, ILastingEvent {
public var dayTurnover: Double = .nan
/// Gets or sets implementation-specific flags.
/// Do not use this method directly.
internal var flags: Int32 = 0
var flags: Int32 = 0

public init(_ symbol: String) {
self.eventSymbol = symbol
Expand Down
5 changes: 3 additions & 2 deletions DXFeedFramework/Events/Market/OptionSale.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ public class OptionSale: MarketEvent, IIndexedEvent {
/// Gets or sets time and sequence of this series packaged into single long value.
///
/// This method is intended for efficient series time priority comparison.
/// **Do not use this method directly**
/// **Do not use this property directly**
///
/// Change ``time`` and/or ``setSequence(_:)``
public internal(set) var timeSequence: Long = 0
/// Gets or sets microseconds and nanoseconds time part of event.
Expand All @@ -63,7 +64,7 @@ public class OptionSale: MarketEvent, IIndexedEvent {
/// Gets or sets implementation-specific flags.
///
/// **Do not use this method directly.**
public var flags: Int32 = 0
var flags: Int32 = 0
/// Gets or sets underlying price at the time of this option sale event.
public var underlyingPrice: Double = .nan
/// Gets or sets Black-Scholes implied volatility of the option at the time of this option sale event.
Expand Down
1 change: 1 addition & 0 deletions DXFeedFramework/Events/Market/Series.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class Series: MarketEvent, IIndexedEvent {
///
/// This method is intended for efficient series time priority comparison.
/// **Do not use this method directly**
///
/// Change ``time`` and/or ``setSequence(_:)``
public internal(set) var timeSequence: Long = 0
/// Gets or sets day id of expiration.
Expand Down

0 comments on commit 7ec48dd

Please sign in to comment.