alpacahq / alpacahq/pylivetrader

Unit test framework

Aperta
#16 2 commenti 1 reazione 1 assegnatario Rivendicata da @shlomiku Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
685
Fork
198
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Each algo code should be easily unit tested. The concept of unit test is not very known to the type of users here. Rather than asking them to build their own unit test, we should provide some high level template that does:

- provide local fake backend
- provide fast replay executor
- use real (past) market data
- with a pre-defined small set of symbols, simulate a (constant) day using the historical data quickly, basically smoke test to catch any issues like typo.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.