2
Follow
3
Followers
제가 계산을 해봤는데, data.lastprice는 상금 거래 가격이고, changeprice_sell는 변화값이고, data.avgprice는 평균값입니다.
이 연산의 목적은 상금 거래 가격 + 변화 값과 평균 가격 + 변화 값의 최대 값을 구하는 것이다.
코드는 다음과 같습니다.
nextsell = _N(Math.max(data.lastprice + changeprice_sell, data.avgprice + changeprice_sell),2);
nextsell은 함수 내의 지역 변수이며, data object와 changeprice_sell은 글로벌 변수이며, 여기서 changeprice_sell은 인터랙티브 템플릿을 통해 실시간으로 수정할 수 있습니다.

이제 문제가 되는 것은, 시뮬레이션이 작동하고, nextsell의 계산이 옳다는 것입니다.

로그 기록이 잘못 되어 있습니다.

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

