This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import argparse | |
| from pathlib import Path | |
| import time | |
| parser = argparse.ArgumentParser(description="Download data from Binance Data Vision") | |
| parser.add_argument("-c", "--codes", nargs="+", help="a list of all codes you want to download") | |
| parser.add_argument("-a", "--against", type=str, help="crypto against which the price needs to be checked") | |
| parser.add_argument("-i", "--interval", type=str, help="1s, 1m, etc.") |