Provide trade logic, as submodule of CS175 Project.
When you commit and push, if it is for the project, try to upload to the project repository(CS-175-project) so that the logic will be more stable. If it is your version of agent, you can create a new branch to the project repository(CS-175-project). There are 2 repositories, and the trade logic(This one) is the submodule of the main repository(CS-175-project)
- Add percentage functionality. in agent_thread a function called get_percentages and _find_percentage. (more details to come)- Fix Bugs
- Change default mrkt_data to 4 fields:open, close, low, high. But it also backward support for only one field(price), depending on the format of input file.
- Add method to customize mrkt_data. By pass a new init in
trade_platform
- The agent now provide a price(offer) when return a SELL or BUY action, and the trade_logic will check if the offered price is valid (between that day's low and high) Change member variable offer_price to enable this.