Skip to content

Commit

Permalink
fix toString format
Browse files Browse the repository at this point in the history
  • Loading branch information
kosyloa committed Nov 2, 2023
1 parent 8aab2ac commit 952a384
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "Connect demo.dxfeed.com:7300 Quote &quot;ipf[https://demo:[email protected]/ipf?TYPE=STOCK&amp;compression=zip],APPL&quot;"
isEnabled = "NO">
argument = "Connect demo.dxfeed.com:7300 TimeAndSale &quot;ipf[https://demo:[email protected]/ipf?TYPE=STOCK&amp;compression=zip],APPL&quot;"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "Connect demo.dxfeed.com:7300 quote AAPL -f 2012-05-26-14:15:00"
Expand All @@ -93,7 +93,7 @@
</CommandLineArgument>
<CommandLineArgument
argument = "Dump tapeK2.tape[speed=max] -t ios_tapeK2.tape -q"
isEnabled = "YES">
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "LatencyTest mddqa.in.devexperts.com:7400 TimeAndSale ETH/USD:GDAX"
Expand Down
2 changes: 1 addition & 1 deletion DXFeedFramework/Events/Market/OptionSale.swift
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ price=\(price), \
size=\(size), \
bid=\(bidPrice), \
ask=\(askPrice), \
ESC=\(exchangeSaleConditions ?? "null"), \
ESC='\(exchangeSaleConditions ?? "null")', \
TTE=\(StringUtil.encodeChar(char: Int16(getTradeThroughExempt().unicodeScalars.first?.value ?? 0))), \
side=\(aggressorSide), \
spread=\(isSpreadLeg), \
Expand Down
2 changes: 1 addition & 1 deletion DXFeedFramework/Events/Market/Order.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class Order: OrderBase {
return
"""
Order{\(baseFieldsToString()), \
marketMaker=\(marketMaker ?? "null")}
marketMaker='\(marketMaker ?? "null")'}
"""
}
}
2 changes: 1 addition & 1 deletion DXFeedFramework/Events/Market/SpreadOrder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class SpreadOrder: OrderBase {
return
"""
SpreadOrder{\(baseFieldsToString()), \
spreadSymbol=\(spreadSymbol ?? "null")}
spreadSymbol='\(spreadSymbol ?? "null")'}
"""
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,3 @@ public class DXInstrumentProfileCollector {
return try native.setExecutor(nativeExecutor)
}
}

0 comments on commit 952a384

Please sign in to comment.