2
Follow
3
Followers
حساب کتاب js تخروپن میں درست ہے، لیکن حقیقی حساب کتاب میں غلط ہے۔
Created 2019-05-30 10:35:09
2
1692
میں نے یہ حساب لگایا ہے: data.lastprice لیٹ ٹرانزیکشن قیمت ہے، changeprice_sell تبدیلی کی قیمت ہے، data.avgprice اوسط قیمت ہے <unk>
اس حساب کا مقصد زیادہ سے زیادہ قیمت + تبدیلی کی قیمت اور اوسط قیمت + تبدیلی کی قیمت کا حساب لگانا ہے۔
کوڈ درج ذیل ہے:
nextsell = _N(Math.max(data.lastprice + changeprice_sell, data.avgprice + changeprice_sell),2);
nextsell ایک فنکشن کے اندر مقامی متغیر ہے ، ڈیٹا آبجیکٹ اور changeprice_sell ایک عالمی متغیر ہے ، جس میں changeprice_sell کو انٹرایکٹو ٹیمپلیٹ کے ذریعہ ریئل ٹائم میں تبدیل کیا جاسکتا ہے

اب مسئلہ یہ ہے کہ: ہم نے سمیلیٹ کیا ہے، اور نیکسٹ سیل کا حساب درست ہے

ریئل ڈسک میں لاگ ان کا ریکارڈ درست نہیں ہے

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

