()
| 45 | async def test_online_hyperliquid(): |
| 46 | |
| 47 | def parse_args(): |
| 48 | parser = argparse.ArgumentParser(description='Online Trading Agent Example') |
| 49 | parser.add_argument("--config", default=os.path.join(root, "configs", "online_trading_agent.py"), help="config file path") |
| 50 | |
| 51 | parser.add_argument( |
| 52 | '--cfg-options', |
| 53 | nargs='+', |
| 54 | action=DictAction, |
| 55 | help='override some settings in the used config, the key-value pair ' |
| 56 | 'in xxx=yyy format will be merged into config file. If the value to ' |
| 57 | 'be overwritten is a list, it should be like key="[a,b]" or key=a,b ' |
| 58 | 'It also allows nested list/tuple values, e.g. key="[(a,b),(c,d)]" ' |
| 59 | 'Note that the quotation marks are necessary and that no white space ' |
| 60 | 'is allowed.') |
| 61 | args = parser.parse_args() |
| 62 | return args |
| 63 | |
| 64 | args = parse_args() |
| 65 |
no test coverage detected