Skip to content

Commit

Permalink
Merge pull request #4240 from Superalgos/develop
Browse files Browse the repository at this point in the history
Develop into master
  • Loading branch information
Luis-Fernando-Molina authored Aug 5, 2022
2 parents d0d6f23 + 9ac1946 commit 45802a6
Show file tree
Hide file tree
Showing 1,294 changed files with 123,606 additions and 5,914 deletions.
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,14 @@ Plugins/Trading-Signals
tmp/
Superalgos.desktop
.dccache
testfile.js
testfile.js
ForecastCases
TestCases
OutputData
parameters.CSV
time-series.CSV
instructions.CSV
models
Bitcoin-Factory/Test-Client/notebooks/parameters.csv
Bitcoin-Factory/Test-Client/notebooks/time-series.csv
Bitcoin-Factory/Test-Client/notebooks/ray_results/
7 changes: 4 additions & 3 deletions .tests/Environment.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const expectedObject = {
BASE_PATH: basePath,
WEB_SERVER_URL: 'localhost',
PLATFORM_WEB_SOCKETS_INTERFACE_PORT: 18041,
NETWORK_WEB_SOCKETS_INTERFACE_PORT: 17041,
NETWORK_WEB_SOCKETS_INTERFACE_PORT: 18042,
DESKTOP_WEB_SOCKETS_INTERFACE_PORT: 16041,
DESKTOP_WEB_SOCKETS_INTERFACE_HOST: 'localhost',
PLATFORM_HTTP_INTERFACE_PORT: 34248,
Expand All @@ -35,6 +35,7 @@ const expectedObject = {
PATH_TO_MY_WORKSPACES: path.join(basePath, './Platform/My-Workspaces'),
PATH_TO_SECRETS: path.join(basePath, './My-Secrets'),
PATH_TO_FONTS: path.join(basePath, './Platform/WebServer/Fonts'),
PATH_TO_BITCOIN_FACTORY: path.join(basePath, './Bitcoin-Factory'),
DESKTOP_APP_SIGNING_ACCOUNT: 'Social-Trading-Desktop-App-1',
DESKTOP_APP_MAX_OUTGOING_PEERS: 1,
DESKTOP_APP_MAX_OUTGOING_START_PEERS: 0,
Expand All @@ -44,7 +45,7 @@ const expectedObject = {
SERVER_APP_SIGNING_ACCOUNT: 'Social-Trading-Server-App-1',
PLATFORM_APP_SIGNING_ACCOUNT: 'Algo-Traders-Platform-1',
P2P_NETWORK_NODE_SIGNING_ACCOUNT: 'P2P-Network-Node-1',
P2P_NETWORK_NODE_MAX_INCOMING_CLIENTS: 2,
P2P_NETWORK_NODE_MAX_INCOMING_CLIENTS: 1000,
P2P_NETWORK_NODE_MAX_INCOMING_PEERS: 0,
P2P_NETWORK_NODE_MAX_OUTGOING_PEERS: 0,
DESKTOP_TARGET_NETWORK_TYPE: 'P2P Network',
Expand All @@ -66,4 +67,4 @@ describe('newEnvironment', () => {
it('should contain no new environment variables', () => {
expect(env.newEnvironment()).toEqual(expectedObject)
})
})
})
10 changes: 10 additions & 0 deletions .vscode/Network-Node-4.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"folders": [
{
"path": "/home/alexandrustefan/Projects/Superalgos/"
}
],
"settings": {
"search.maintainFileSearchCache": true
}
}
13 changes: 13 additions & 0 deletions .vscode/TaskServer-4.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"folders": [
{
"path": "/home/alexandrustefan/Projects/Superalgos/TaskServer"
},
{
"path": "/home/alexandrustefan/Projects/Superalgos/Projects"
}
],
"settings": {
"search.maintainFileSearchCache": true
}
}
13 changes: 13 additions & 0 deletions .vscode/TaskServer-5.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"folders": [
{
"path": "/home/alexandrustefan/Projects/Superalgos/TaskServer"
},
{
"path": "/home/alexandrustefan/Projects/Superalgos/Projects"
}
],
"settings": {
"search.maintainFileSearchCache": true
}
}
5 changes: 5 additions & 0 deletions Bitcoin-Factory/ArmDockerBuild/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM armswdev/tensorflow-arm-neoverse:latest
RUN pip install --upgrade --no-cache-dir notebook scikit-learn pandas
WORKDIR /tf
EXPOSE 8888
CMD ["jupyter", "notebook", "--port=8888", "--no-browser", "--ip=0.0.0.0"]
4 changes: 4 additions & 0 deletions Bitcoin-Factory/Dashboard/.browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
> 1%
last 2 versions
not dead
not ie 11
23 changes: 23 additions & 0 deletions Bitcoin-Factory/Dashboard/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.DS_Store
node_modules
/dist


# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
16 changes: 16 additions & 0 deletions Bitcoin-Factory/Dashboard/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Project Setup

After cloning the repository, run the following command in the "Superalgos-Network-Node-Dashboard" folder.
```
npm install
```

## Running the Dashboard

To access the Dashboard, run the following command in the "Superalgos-Network-Node-Dashboard" folder.
```
npm start
```


--- When you open the Url in the browser, you display it on the dashboard. Data is automatically refreshed every 5 seconds.
19 changes: 19 additions & 0 deletions Bitcoin-Factory/Dashboard/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"compilerOptions": {
"target": "es5",
"module": "esnext",
"baseUrl": "./",
"moduleResolution": "node",
"paths": {
"@/*": [
"src/*"
]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
}
}
Loading

0 comments on commit 45802a6

Please sign in to comment.