-
Notifications
You must be signed in to change notification settings - Fork 16
ASX Gym Configurations
James Shen edited this page Jun 13, 2020
·
6 revisions
ASX Gym Env is also configurable, like support whole 2000+ companies or select a subset of companies for simulations.
# default values and configurations
self.user_set_start_date = kwargs.get('start_date', self.min_stock_date)
self.random_start_days = kwargs.get('random_start_days', RANDOM_START_DAYS_PERIOD)
self.user_set_max_simulation_days = kwargs.get('max_days', -1)
self.start_date = self.user_set_start_date
self.display_days = kwargs.get('display_days', RENDER_DEFAULT_DISPLAY_DAYS)
self.keep_same_company_when_reset = kwargs.get('keep_same_company_when_reset', True)
self.keep_same_start_date_when_reset = kwargs.get('keep_same_start_date_when_reset', False)
self.simulate_company_number = kwargs.get('simulate_company_number', -1)
self.simulate_company_list = kwargs.get('simulate_company_list', None)
self.initial_fund = kwargs.get('initial_fund', DEFAULT_INITIAL_FUND)
self.initial_bank_balance = kwargs.get('initial_bank_balance', 0)
self.expected_fund_increase_ratio = kwargs.get('expected_fund_increase_ratio',
DEFAULT_EXPECTED_FUND_INCREASE_RATIO)
self.expected_fund_decrease_ratio = kwargs.get('expected_fund_decrease_ratio',
DEFAULT_EXPECTED_FUND_DECREASE_RATIO)
transaction_fee_list = kwargs.get('transaction_fee_list', [])
OpenAI ASX Gym Environment by Guidebee IT