We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Isolate JASA simulation environment and provide a API
MaketFacade
public interface MarketFacade {
/*Simulation related*/ //TODO start simulation public boolean pauseSimulation(); public boolean terminateSimulation(); public boolean resumeSimulation(); /** * @param initFunds initial account balance * @return spawned AgentId */ public String AddUserAgent(double initFunds); public List<Report> getReports(); /*User related*/ /** * * @param humanAgentId corresponding agentId * @param stockId security id * @param quantity stock quantity * @param isBuy buy = true, sell=false; * @param price single stock price * @return adding order successful */ public boolean putLimitOrder(String humanAgentId, String stockId, int quantity, double price, boolean isBuy); /** * * @param humanAgentId corresponding agentId * @param stockId security id * @param quantity stock quantity * @param isBuy buy = true, sell=false; * @return adding order successful */ public boolean putMarketOrder(String humanAgentId, String stockId, int quantity, boolean isBuy); //TODO throwing an event when the orders get matched public HashMap<String, Integer> getUserAgentAssets(String humanAgentId); public double getUserAgentFunds(String humanAgentId);
}
The text was updated successfully, but these errors were encountered:
@amilasurendra @ishanthilina @hasalasurasinghe
Sorry, something went wrong.
API intialized TODO's remaining - #25
3e36292
startsimulation added - #25
be18c3f
comments added - #25
69ed1f5
rajithsiriwardana
No branches or pull requests
Isolate JASA simulation environment and provide a API
MaketFacade
public interface MarketFacade {
}
The text was updated successfully, but these errors were encountered: