Class ExecutionResult
java.lang.Object
com.wualabs.qtsurfer.engine.strategy.execution.ExecutionResult
Represents an execution result
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enter side amount in the output currency.List<com.wualabs.qtsurfer.engine.exchange.trade.execution.OrderTradeExecution> Returns all underlying executions (for cancellation and internal use).Returns the exit side amount in the output currency.Returns all trades converted to the engine-canonicalTrademodel.booleanisFilled()booleantoString()
-
Method Details
-
getExecutions
public List<com.wualabs.qtsurfer.engine.exchange.trade.execution.OrderTradeExecution> getExecutions()Returns all underlying executions (for cancellation and internal use). -
getTrades
-
getErrors
-
getRemainingAmount
-
getPercentCompleted
-
isFilled
public boolean isFilled() -
isPartialFilled
public boolean isPartialFilled() -
getEnterTradedAmount
Returns the enter side amount in the output currency. For buy signals, this is the counter amount spent; for sell signals, the base amount sold. -
getExitTradedAmount
Returns the exit side amount in the output currency. For sell signals, this is the counter amount received; for buy signals, the base amount bought. -
toString
-
getSignal
-
getOriginalAmount
-
getInstrument
-
getTradedAmount
-
getTradedCounterAmount
-
getTradedFeeAmount
-
getTradedFeeCounterAmount
-
getFirstResultTime
-