We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 480f52d commit 0f89c3aCopy full SHA for 0f89c3a
Sources/SwiftTrader/SwiftTrader+TrailingStop.swift
@@ -21,6 +21,8 @@ public extension SwiftTrader {
21
/// The stop price and the limit price are also tuples. These tuples provide the price in both `String` and `Double` format.
22
func calculateStopLimitPrice(for input: SwiftTraderStopLimitOrderInput) throws -> StopLimitPriceTuple {
23
logger.log("Exchange: \(input.exchange.rawValue.uppercased())")
24
+ logger.log("Contract: \(input.contractSymbol)")
25
+
26
logger.log("Calculating stop and limit prices...")
27
28
// E.g: 7.47 -> 0.0747
0 commit comments