use of org.ta4j.core.BaseTradingRecord in project ta4j by ta4j.
the class StopGainRuleTest method setUp.
@Before
public void setUp() {
tradingRecord = new BaseTradingRecord();
closePrice = new ClosePriceIndicator(new MockTimeSeries(100, 105, 110, 120, 150, 120, 160, 180));
}
use of org.ta4j.core.BaseTradingRecord in project ta4j by ta4j.
the class StopLossRuleTest method setUp.
@Before
public void setUp() {
tradingRecord = new BaseTradingRecord();
closePrice = new ClosePriceIndicator(new MockTimeSeries(100, 105, 110, 120, 100, 150, 110, 100));
}
Aggregations