Repo for Rice 2021 Datathon QuantLab Challenge
Our strategy is divided into two parts, the first is prediction, and the second is business logic, which is implemented by trades and arbitrage. The latest strategy file can be found in the ./businessLogic/Strategy 3.0.ipynb. Although our results for the three periods are not yet complete, shown by the current data we have, our strategy is fairly accurate and gains a margin of profit. Unfortunately, due to the limited time, we did not have enough time to run all nine months of data before submission. We have processed a few days of data, and we are proud to say that every additional bitcoin we obtained are authentic profits.
- Prediction
Our program predicts the trade value of next tick using AROMA as our time series prediction model. In the tick-and-trade loop, we first reference to previous market trade data, including usd-btc, eth-btc from the previous 24 hours; and then we feed the data into VAROMA to get the predicted mean and confidence intervals. - Business Logic
Trade:
Based on the predicted data, our program calculates the probability of profiting from the next tick and choose the most feasible investment plan.
Arbitrage:
Based on the current tick data, our program exchanges our holding from one currency to another multiple times if the exchange ratio between multiple currency can bring us profits. The difference in exchange rates between currencies can be an opportunity for us to leverage. We involved two other cryptocurrencies and Euro in the arbitrage. By computing the ratio between the current prices, we determine if the expected revenue would exceed the costs such as taker fee.