MCPcopy Index your code
hub / github.com/SkyworkAI/DeepResearchAgent / parse_args

Function parse_args

tests/test_hyperliquid.py:47–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45async 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

Callers 2

test_online_hyperliquidFunction · 0.70
test_offline_hyperliquidFunction · 0.70

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected