2
Follow
1
Followers
"비밀검사"는 "비밀검사"라고 불리며, "비밀검사"는 "비밀검사"라고 불리며, "비밀검사"는 "비밀검사"라고 불린다.
예를 들어 다음과 같은 코드입니다.
function onTick() {
Log(exchange.GetTicker());
Log(exchange.GetTicker());
}
function main() {
exchange.SetContractType("this_week");
while (true) {
onTick();
Sleep(1000);
}
}
만약 로드 디스크가 실행되면
실행 과정은 매우 이해하기 쉽습니다. main () 함수는 죽은 순환입니다. Sleep () 1000) 에 두 번 틱러 데이터를 가져와 인쇄합니다. 두 틱러 데이터는 매우 가깝습니다.
탐지 동작
지금 Sleep(1000) 은 실제 잠이 아닌 것 같고, exchange.GetTicker() 을 호출할 때마다, 시뮬레이션된 ticker 시간은 다음 단계로 진행된다.
그리고 onTick () 함수를 쓰지 않으면, 프로그램이 마치 정말 죽은 순환을 하고 있는 것 같고, 끝이 없을 것입니다.
<unk>, <unk>, <unk>, <unk>, <unk>, <unk>.
Related Recommendations
Get 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 optimization5.4 Why do we need an off-sample test5.3 How to read the strategy backtest performance report
