Ameobea / algobot3

Third iteration of the algorithmic trading bot I've been working on.
5 stars 0 forks source link

[TODO] Performance improvements #3

Open Ameobea opened 8 years ago

Ameobea commented 8 years ago

✓ Reduce the amount of smas calculated to only calculate if the core algorithm has need of them.

Do anything possible to reduce the amount of queries made to the database.

Optimize the database by indexing the collections in ways that improve performance.

Ameobea commented 8 years ago

✓ Calculate averages/momentums with larger scales less often.

Possibly set code to determine when momentums even need to even be calculated.

Ameobea commented 8 years ago

Set up sharding for mongoDB to allow for higher performance OR Create an entirely separate database for old data/data of a different type.

Setup automated data backups for all databases.

Add an archival database for old data that is infrequently accessed. Perhaps convert old data to a format such as hour time formats etc.

dalexj commented 8 years ago

you can use - [ ] to make checkboxes in markdown