
com.barrybecker4.simulation.trading.model.generationstrategy.IGenerationStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bb4-trading Show documentation
Show all versions of bb4-trading Show documentation
bb4-simulations java code.
/*
* Copyright by Barry G. Becker, 2015. Licensed under MIT License: http://www.opensource.org/license.MIT
*/
package com.barrybecker4.simulation.trading.model.generationstrategy;
import com.barrybecker4.simulation.trading.model.plugin.IStrategyPlugin;
import javax.swing.*;
/**
* Defines how a stock series should be generated.
* There are various strategies that we might employ varying from simple to sophisticated.
*
* @author Barry Becker
*/
public interface IGenerationStrategy extends IStrategyPlugin {
double calcNewPrice(double stockPrice);
/** The UI to allow the user to configure the generation options */
JPanel getOptionsUI();
/** Call when OK button is pressed to persist selections */
void acceptSelectedOptions();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy