@Test public void takeProfitIsDisabled() { assertThat(cut.getTakeProfit()).contains(new Price(0)); }
@Override public Optional<Price> getTakeProfit() { return NO_TAKE_PROFIT; }
NMovingAveragesExpertAdvisor implements TradingStrategy<C> { @Override public Optional<Price> getTakeProfit() { return NO_TAKE_PROFIT; } }
NMovingAveragesExpertAdvisor implements TradingStrategy<C> { @Override public Optional<Price> getTakeProfit() { return NO_TAKE_PROFIT; } @SafeVarargs  NMovingAveragesExpertAdvisor(final Indicator<Price, C> slow, final Indicator<Price, C>... fastMovingAverages); }
NMovingAveragesExpertAdvisor implements TradingStrategy<C> { @Override public Optional<Price> getTakeProfit() { return NO_TAKE_PROFIT; } @SafeVarargs  NMovingAveragesExpertAdvisor(final Indicator<Price, C> slow, final Indicator<Price, C>... fastMovingAverages); @Override void update(final C candle); @Override Optional<MarketDirection> getEntrySignal(); @Override Optional<MarketDirection> getTrend(); @Override Optional<Price> getEntryPrice(); @Override Optional<Price> getTakeProfit(); @Override Optional<Price> getStopLoose(); @Override ExecutionCondition getEntryCondition(); }
NMovingAveragesExpertAdvisor implements TradingStrategy<C> { @Override public Optional<Price> getTakeProfit() { return NO_TAKE_PROFIT; } @SafeVarargs  NMovingAveragesExpertAdvisor(final Indicator<Price, C> slow, final Indicator<Price, C>... fastMovingAverages); @Override void update(final C candle); @Override Optional<MarketDirection> getEntrySignal(); @Override Optional<MarketDirection> getTrend(); @Override Optional<Price> getEntryPrice(); @Override Optional<Price> getTakeProfit(); @Override Optional<Price> getStopLoose(); @Override ExecutionCondition getEntryCondition();  }