Merge pull request #21 from AAVikings/master

Mode Selection and new cloud version
This commit is contained in:
z@tOr authored and GitHub committed 2019-02-09 12:17:05 -03:00
commit 4b286abd9e
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@superalgos/operations-client",
"version": "0.0.12",
"version": "0.0.13",
"description": "Superalgos Operations client-side web app",
"main": "src/index.js",
"dependencies": {
+4 -4
View File
@@ -183,7 +183,7 @@ class AddClone extends Component {
))}
</TextField>
{ this.state.mode == "Backtest" &&
{ this.state.mode == "backtest" &&
<React.Fragment>
<DateTimePicker
autoOk
@@ -297,7 +297,7 @@ class AddClone extends Component {
))}
</TextField>
{ this.state.mode === "All Months" &&
{ this.state.mode === "allMonths" &&
<React.Fragment>
<TextField
id="beginYearInput"
@@ -333,7 +333,7 @@ class AddClone extends Component {
</React.Fragment>
}
{ this.state.mode === "One Month" &&
{ this.state.mode === "oneMonth" &&
<React.Fragment>
<TextField
id="beginYearInput"
@@ -453,7 +453,7 @@ class AddClone extends Component {
}
}
if(this.state.mode === "Backtest"){
if(this.state.mode === "backtest"){
variables.clone.beginDatetime = this.state.beginDatetime.valueOf() / 1000|0
variables.clone.endDatetime = this.state.endDatetime.valueOf() / 1000|0
variables.clone.waitTime = this.state.waitTime
+1 -1
View File
@@ -14,7 +14,7 @@
"containers": [
{
"name": "aadev",
"image": "benme/aadev:v3.7",
"image": "benme/aadev:v3.8",
"command": ["node", "Run.js"],
"env": [
]