-
Notifications
You must be signed in to change notification settings - Fork 53
Home
miti0 edited this page Mar 28, 2018
·
6 revisions
Welcome to the mosquito wiki!
Q: Backtest simulation takes too long time. Is there anything I can do to speed it up?
A: Try to create following index in your mongodb (mosquito)
# 1) Login to mongo
mongo
# 2) Select mosquito collection
use mosquito
# 3) Create indexes for ticker and trades tables
db.ticker.createIndex({ date: 1, exchange: 1, pair:1 })
db.trades.createIndex({ date: 1, exchange: 1, pair:1 })