Commit 3b1d99fb authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent f525046d
......@@ -826,7 +826,7 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
lossDone++
lossDonePer=lossDonePer+data[i].profit-0.1
allDonePer=allDonePer+data[i].profit-0.1
if (data[i].profit>0)
if (data[i].profit>0.1)
{
lossPlusDone++
lossPlusDonePer=lossPlusDonePer+(data[i].profit+-0.1)
......
......@@ -2,12 +2,12 @@
let t='13.83_3.6_16.5_29.63_9.11_6.92_35.64_5.04_21.04_2.16_2.79_10.6_12.83_5.89_4.89_0.52_1.2_7.95_11.68_3.98_1.33_7.75_2.32_5.38_0.94_0.83_0.29_1.27_7.06_9.82_1.4_10.96_4.74_7.63_1.73_0_0.38_12.56_1.77_0.27_31.27_0.73_3.8_2.06_1.27_0.94_8.82_12.52_9.18_17.37_64.31_8.33_22.06_5.39_34.59_12_18.02_48.23_25.17_24.57_40.88_2.59_11.93_11.07_10.11_5.01_19.46_9.47_3.64_28.49_37.97_2.08_4.42_2.38_0.14_3.43_1.56_11.25_4.57_3.66_1.77_15.35_0.7_3.74_0.29_0.83_5.97_0.44_2.42_1.39_25.47_4.07_0.72_15.56_24.88_2.4_6.21_2.13_0.71_8.54_1.45_14.47_18_8.96_0.93_7.2_7.94_22.4_0.76_1.15_5.9_3.7_1.2_1.32_21.17_16.97_4.36_1.22_0.91_6.88_1.87_0.29_2.19_2.93_14.56_2.48_5.27_1.28_5.45_21.51_0.93_13.41_4.31_7.23_0.47_1.21_0.81_16.34_2.54_4.87_1.27_0.9_1.67_7.28_2.62_15.16_7.25_3.7_6.65_4.35_1.06_0.77_3.36_1.23_0.17_3.53_3.64_1.6_1.34_0.95_0.04_10.43_3.8_10.38_0.46_1.96_4.9_3.43_0.54_0.22_14.19_0.85_12.05_8.13_6.19_5.91_0.94_0.36_0.93_2.52_7.11_0.83_0.27_25.3_17.18_13.55_1.29_11.12_20.03_0.83_2.57_3.96_7.29_5.81_0.32_5.35_0.71_0.45_3.57_1.28_3.33_13.85_0.63_0.57_0.78_0.47_1.8_0.2_4.05_0.58_0.31_4.97_0.27_0.86_0.31_18.46_0.9_31.93_16.71_9.11_13.75_24.82_5.87_6.61_2.51_0.75_2.82_2.26_1.07_0.65_5.96_0.62_0.33_12.36_12.36_11.62_39.27_2.54_1.09_8.63_14.81_14.87_0.9_5.56_1.38_0.32_3.56_1.32_18.68_2.19_6.24_0.4_2.83_0.34_7.94_0.71_1.55_12.59_0.08_2.76_3.1_3.71_1.59_0.46_5.16_0.86_0.82_16.43_3.76_0.63_0.74_0.42_1.36_0.42_22.48_1.48_1.81_0.22_12.11_7.29_0.24_0.31_3.91_3.91_1.16_3.05_0.42_3.3_8.53_0.53_0.48_0.35_0.81_4.6_0.1_2.67_3.29_0.47_0.93_22.43_2.48_1.92_12.65_3.25_9.76_3.25_8.23_6.28_1.27_3.86_3.79_0.2_0.38_0.02_5.92_19.88_47.11_0.5_9.12_3.57_8.28_10.11_0.82_2.55_5.93_11.96_0.71_10.99_1.81_8.09_6.68_1.7_2.43_1.23_0.11_18.46_17.19_1.77_5.03_8.05_3.12_4.08_0.89_0.26_0.43_0.85_0.6_9.35_13.66_14.4_5.94_5.69_1.93_6.21_5.64_2.01_1.95_2.98_0.4_3.17_0.72_2.42_1.09_6.52_2.46_0.59_7.79_0.8_3.2_15.98_9.13_1.06_0.9_0.37_0.71_0.32_11.49_0.73_0.97_6.13_5.04_2.01_1.3_0.18_3.23_2.16_0.53_8.11_30.28_1.04_5.64_0.41_3.98_7.25_0.74_1.9_3.98_0.45_2.34_3.52_6.95_7.71_5.78_2.95_1.54_3.53_21.69_4.62_0.82_4_4.22_1.6_1.46_3.65_0.34_3.43_2.37_1.61_4.57_5.79_0.19_20.61_11.68_0.93_4.92_2.31_0.01_0.01_4.61_0.38_1.58_0.96_1.13_2.31_6.66_0.98_0.53_4.49_5.08_4.76_0.3_0.48_18.87_8.43_3.43_1.52_0.01_1.1_6.97_9.75_7.31_3.22_3.14_23.25_6.27_13.37_4.36_0.31_19.24_5.54_1.3_4.64_4.3_3.15_0.61_0.67_3.46_0.23_8.45_56.28_5.29_2.5_1.67_0.4_16.53_1.71_6.85_9.75_0.83_3.49_8.13_3.24_4.73_2.29_1.42_22.41_1.09_9.44_2.11_4.21_2.74_3.58_5.36_14.63_1.35_7.22_8.61_3.36_7.93_1.51_3.96_4.07_4.8_0.13_4.09_8.9_8.79_6.02_2.06_2.82_1.1_0.95_0.83_0.55_2.47_1.34_0.15_2.19_0.86_1.96_7.79_1.35_0.76_0.91_6.8_1.56_0.09_2.13_2.46_0.26_1.63_7.07_1.58_0.37_1.06_0.73_0.64_3.78_0.75_29.03_7.67_3.59_5.47_3.66_0.92_1.12_0.36_0.54_6.02_12.51_8.32_4.18_6.93_0.62_1.74_25.94_17.85_5.56_1.12_5.39_10.19_5.67_13.03_1.89_0.12_0.4_3.31_7.44_1.98_5.28_2.89_0.87_1.24_1.59_0.1_1.67_2.93_0.06_1.93_2.71_11.33_1_0.32_5.17_2.05_4.12_0.67_0.29_2.71_5.11_3.68_0.57_0.36_17.83_3.34_0.53_0.16_1.06_0.82_0.2_5.34_0.22_3.05_5.46_1.46_17.14_13.8_3.49_6.92_0.86_9.72_0.02_3.24_7.36_0.97_0.33_14.1_8.92_11.14_3.65_2_74.88_10.38_23.53_1.81_3.73_15.63_8.89_1.48_0.61_1.45_15.88_3.28_19.05_6.29_5.59_0.58_4.44_5.59_26.85_6.5_9.24_12.44_4.68_1.41_1.51_8.37_1.69_2.1_13.08_29.37_10.41_9.61_12.77_6.93_7.29_0.13_23.13_1.41_3.04_1.89_2.22_8.61_0.92_2.39_3.35_3.61_3.81_1.31_3.39_2.39_0.93_18.07_18.58_2.91_18.42_34.39_13.19_7.19_3.55_8.95_12.76_7.61_43.07_34.76_8.22_0.77_1.45_13.95_9.33_3.35_2.78_12.12_8.41_2.47_6.25_9.42_18.95_1.07_11.22_3.32_5.19_12.87_1.04_0.32_0.73_1.83_11.9_1.19_10.58_3.86_0.6_6.62_11.45_1.61_0.51_16.78_1.82_4.1_2.71_0.59_12.39_6.09_1.62_8.57_3.03_4.17_0.93_18.26_5.81_22.63_8.21_0.59_6.61_10.88_17.04_9.93_6.89_2.41_18.95_3.62_1.87_3.94_0.49_0.64_4.12_1.31_3.18_0.49_1.11_13.01_0.13_4.82_0.79_2.65_14.68_0.47_3.52_1.61_4.02_0.16_0.47_0.69_5.95_2.95_7.36_0.27_2.13_0.04_3.61_7.67_5.18_1.89_3.68_0.27_0.51_0.63_1.84_2.07_11.96_1.62_5.56_1.78_1.83_5.54_9.91_1.91_0.55_1.18_16.23_21.59_5.69_1.92_6.89_5.07_2.85_8.2_5.58_0.33_0.74_0.12_0.84_11.4_3.02_3.08_18.22_5.11_1.64_5.71_9.41_7.93_25.36_1.97_0.47_10.66_10.14_4.2_0.48_0.23_6.71'
let t='-1.42_-1.4_-2.51_-2.09_-2.61_-1.98_-1.18_-0.91_-0.78_-0.45_-1.87_-2.22_-2.69_-2.4_-1.73_-1.79_-4.66_-2.36_-3.09_-3.03_-7.78_-9.95_-3.41_-4.93_-2.35_-1.67_-3.76_-3.19_-3.29_-1.16_-0.33_-0.13_-3.36_-5.37_-3.14_-3.57_-2.6_-3.28_-3.9_-3.42_-1.61_-1.72_-2.3_-2.19_-3.15_-4.05_-3_-2.05_-2.31_-2.91_-2.35_-0.57_-0.84_-6.88_-3.13_-1.5_-3.12_-0.12_-2.11_-1.96_-1.35_-3.28_-1.17_-1.27_-1.06_-1.28_-2.48_-1.54_-1.01_-1.41_-3.53_-2.06_-3.14_-1.74_-0.94_-2.1_-2.6_-2.55_-4.19_-2.08_-2.14_-2.31_-1.55_-0.37_-3.35_-1.76_-1.08_-0.98_-0.47_-1.28_-0.4_-0.97_-1.08_-0.85_-1.61_-3.93_-0.65_-2.91_-1.1_-0.64_-1.58_-3.5_-2.78_-1.95_-3.19_-6.15_-3.36_-4.63_-3.8_-1.34_-2.78_-3.29_-3.59_-2.83_-0.72_-0.65_-3.84_-0.51_-0.65_-1.4_-0.96_-1.32_-1.75_-2.34_-1.56_-1.28_-1.21_-0.83_-0.06_-1.33_-1.63_-1.61_-1.58_-1.01_-1.38_-1.61_-1.5_-0.73_-0.95_-0.35_-0.94_-2.96_-0.89_-1.66_-1.27_-1.23_-1.07_-1.46_-4.39_-2.5_-2.11_-2.93_-0.92_-1.26_0.2_-0.42_-1.97_-2.89_-3.56_-1.57_-1.87_-2.8_-1.75_-2.57_-1.47_-2.2_-1.27_-1.55_0.04_-1.13_-0.35_-2.02_-2.93_-2.73_-1.14_-1.55_-0.88_-1.29_-2.56_-0.76_-1.31_-1.19_-1.48_-0.02_-1.19_-2.8_-1.94_-1.78_-0.75_-1.96_-0.62_0.01_-1.91_-0.8_-0.21_-1.07_0.1_-0.26_-1.81_-4.28_-1.1_-1.62_-1.27_-2.86_-1.65_-0.38_-0.28_0.66_-0.74_-1.67_-2.46_-1.21_-1_-2.71_-1.41_-4.37_-3.17_-2.53_-2.06_-2.36_-3.3_-8.76_-8.87_-5.07_-1.58_-0.2_-0.88_-2.69_-0.57_-1.32_-2.33_-1.49_-5.04_-2.43_-0.5_-2.89_-2.33_-1.48_-1.16_-0.66_-0.35_-1.33_-0.69_-1.03_0_-0.45_-0.24_-1.82_-0.99_-1.65_0.28_-0.64_-1.39_-0.41_-1.09_-2.17_-1.66_-0.76_-0.63_-1.86_-1.85_-2.08_-2.57_-1.81_-4.21_-2.67_-2.47_-0.83_-2_-1.59_0.43_-1.55_-1.29_-1.79_-1.16_-3.39_-0.51_-1.09_-0.42_-0.66_-0.8_-1.63_-1.28_-2.48_-2.26_-0.3_-2.46_-5.07_-3.47_-4.48_-3.11_-2.24_-2.48_-2.36_-1.62_-1.89_-2.61_-1.49_-1.73_-1.12_-9.2_-6.67_-4.86_-3.43_-6.03_-1.81_-0.85_-2.45_-2.57_-5.14_-3.53_-2.97_-1.79_-2.81_-0.73_-2.56_-1.41_-1.72_-6.02_-4.32_-4.6_-2.41_-4.01_-2.16_-2.95_-2.17_-0.84_-3.17_-2.88_-1.96_-2.09_-2.73_-1.2_-3.73_-1.36_-2.4_-2.9_-2.86_-4.38_-1.58_-2.66_-1.74_-1.82_-1.82_-2.06_-2.24_-1.03_-2.23_-1.66_-3.92_-3.78_-3.3_-2.95_-1.02_-1.62_-0.86_-1.62_-1.41_-1.58_-1.66_-1.27_-2.75_-1.48_-1.57_-1.33_-2.36_-2.5_-1.91_-1.44_-1.53_-0.92_-1.38_-1.15_-1.7_-4.69_-4.55_-3.55_-4.17'
let f=t.split('_')
let arr=[]
for (let i=0;i<f.length;i++)
if (parseFloat(f[i])<1)
if (parseFloat(f[i])>0)
arr.push(f[i])
console.log(arr)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment