MCPcopy Create free account
hub / github.com/DVampire/FinAgent / StockDownloaderProcess

Class StockDownloaderProcess

tools/download_expert_knowledege.py:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17from finagent.utils.misc import update_data_root
18
19class StockDownloaderProcess(multiprocessing.Process):
20 def __init__(self, stocks, downloader):
21 super().__init__()
22 self.stocks = stocks
23 self.downloader = downloader
24 def run(self):
25 self.downloader.download(self.stocks)
26
27def parse_args():
28 parser = argparse.ArgumentParser(description='Download expert knowledge')

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected