33
Follow
63
Followers
Die Datenbank, in der die Botvs gespeichert sind, wurde zurückgetest. Gelegentlich fehlten Daten, was zu einem Sprung von k-Linien führte, wie zum Beispiel der Sprung von okx vom 27. bis 28. März, der bis zu zehn Stunden dauerte.
var last_ticker_time = new Date().getTime(); // Zeichnet die letzte Zeit ein, in der der Tick erfasst wurde
function onTick() {
var this_ticker_time = new Date().getTime();
if (this_ticker_time - last_ticker_time >= 15 * 60 * 1000) { // Zwei ticker sind 15min voneinander entfernt, das ist ein Flug
Log(exchange.GetTicker())
}
last_ticker_time = new Date().getTime();
}
function main() {
while (true) {
onTick()
Sleep(60000)
}
}
Related Recommendations
Advanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?5.5 Trading strategy optimization
Comment
All comments (5)
- 1

