Automated Tools for Crypto Arsenal 2021 NTU & NTHU Competition
In no event shall we be liable for any special indirect or consequential damages or any damages whatsoever resulting from this program.
KEEP CALM AND WRITE CODE:chart_with_upwards_trend:
- Install Python language bindings for Selenium WebDriver.
pip install selenium
- Install Chrome driver according to your Chrome version.
- Directories structure
\Crypto-Arsenal-WebCrawler \chromedriver_win32 \chromedriver.exe \Fintech.py \runner.ipynb \email-password.txt (optionally, you should make this txt file by youself) \...
- Import the crawler module:
from Fintech import crypto_arsenal_crawler
- Open Crypto Arsenal with your email address and your passward:
run = crypto_arsenal_crawler(email-address, passward)
- Open all of the strategies on the website and get a list of all strategies:
run.openStrategySpace()
- Run backtest on one of the strategies:
run.backtesting(strategies, start_date, end_date, exchange, pairs, amount)
For example,run.backtesting("RSI14v2", "2021/3/30", "2021/4/30", "BINANCE", "BTC-USDT", 100000)
- Please use something like
time.sleep(1)
to slow down the process when running lots of backtest.
- Please use something like
- Get all records of backtesting:
run.get_backtesting_records(strategies)
- Remove all records of backtesting:
run.rm_backtesting_records(strategies)
- Also, you can follow
runner.ipynb
to learn how to use the crawler.