Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
forex
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
forex
Commits
b3d579cc
Commit
b3d579cc
authored
Dec 08, 2021
by
Ahmad Nemati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
0beab47c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
final.js
final.js
+1
-1
final1000.js
final1000.js
+1
-1
run.js
run.js
+5
-5
No files found.
final.js
View file @
b3d579cc
...
@@ -40,7 +40,7 @@ async function work() {
...
@@ -40,7 +40,7 @@ async function work() {
run
(
'
default
'
,
'
compound1000
'
,
arr
,
timestamp
)
run
(
'
default
'
,
'
compound1000
'
,
arr
,
timestamp
)
run
(
'
default
'
,
'
compound1000Start
'
,
arr
,
timestamp
)
run
(
'
default
'
,
'
compound1000Start
'
,
arr
,
timestamp
)
run
(
'
default
'
,
'
profitPerMonth1000
'
,
arr
,
timestamp
)
run
(
'
default
'
,
'
profitPerMonth1000
'
,
arr
,
timestamp
)
generateByDrawDown
(
timestamp
,
arr
)
//
generateByDrawDown(timestamp,arr)
await
run
(
'
default
'
,
'
profitPerMonth1000Start
'
,
arr
,
timestamp
)
await
run
(
'
default
'
,
'
profitPerMonth1000Start
'
,
arr
,
timestamp
)
...
...
final1000.js
View file @
b3d579cc
...
@@ -40,7 +40,7 @@ async function work() {
...
@@ -40,7 +40,7 @@ async function work() {
run
(
'
default
'
,
'
compound1000
'
,
arr
,
timestamp
)
run
(
'
default
'
,
'
compound1000
'
,
arr
,
timestamp
)
run
(
'
default
'
,
'
compound1000Start
'
,
arr
,
timestamp
)
run
(
'
default
'
,
'
compound1000Start
'
,
arr
,
timestamp
)
run
(
'
default
'
,
'
profitPerMonth1000
'
,
arr
,
timestamp
)
run
(
'
default
'
,
'
profitPerMonth1000
'
,
arr
,
timestamp
)
generateByDrawDown
(
timestamp
,
arr
)
//
generateByDrawDown(timestamp,arr)
await
run
(
'
default
'
,
'
profitPerMonth1000Start
'
,
arr
,
timestamp
)
await
run
(
'
default
'
,
'
profitPerMonth1000Start
'
,
arr
,
timestamp
)
...
...
run.js
View file @
b3d579cc
...
@@ -75,9 +75,9 @@ async function run() {
...
@@ -75,9 +75,9 @@ async function run() {
await
fs
.
mkdirSync
(
'
result/
'
+
csvFile
)
await
fs
.
mkdirSync
(
'
result/
'
+
csvFile
)
await
fs
.
mkdirSync
(
'
result/
'
+
csvFile
+
'
/default
'
)
await
fs
.
mkdirSync
(
'
result/
'
+
csvFile
+
'
/default
'
)
await
fs
.
mkdirSync
(
'
result/
'
+
csvFile
+
'
/drawDown30
'
)
//
await fs.mkdirSync('result/' + csvFile+'/drawDown30')
await
fs
.
mkdirSync
(
'
result/
'
+
csvFile
+
'
/drawdown40
'
)
//
await fs.mkdirSync('result/' + csvFile+'/drawdown40')
await
fs
.
mkdirSync
(
'
result/
'
+
csvFile
+
'
/drawdown50
'
)
//
await fs.mkdirSync('result/' + csvFile+'/drawdown50')
}
catch
(
e
)
{
}
catch
(
e
)
{
}
}
...
@@ -116,8 +116,8 @@ async function run() {
...
@@ -116,8 +116,8 @@ async function run() {
// createfileADV('allocatedReserveCompoundUnder2' , JSON.stringify(arrReservCompoundNew, null, 2))
// createfileADV('allocatedReserveCompoundUnder2' , JSON.stringify(arrReservCompoundNew, null, 2))
startAgain
(
arr
,
configs
.
start
)
startAgain
(
arr
,
configs
.
start
)
generateBaseDrawDown
(
arr2
)
//
generateBaseDrawDown(arr2)
generateDrawDownBaseStart
(
arr2
,
configs
.
start
)
//
generateDrawDownBaseStart(arr2,configs.start)
console
.
log
(
'
Done
'
)
console
.
log
(
'
Done
'
)
await
makeStatus
(
directory
,
'
0
'
)
await
makeStatus
(
directory
,
'
0
'
)
// process.exit(0)
// process.exit(0)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment