This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-11-05T02:08:06.346607+00:00 heroku[worker.1]: Starting process with command `/app/presearch-node` | |
2021-11-05T02:08:07.190650+00:00 heroku[worker.1]: State changed from starting to up | |
2021-11-05T02:08:09.098182+00:00 app[worker.1]: 2021-11-05T02:08:09.097Z info: | |
2021-11-05T02:08:09.098195+00:00 app[worker.1]: .((((((((((((((((((((((((((((((. | |
2021-11-05T02:08:09.098196+00:00 app[worker.1]: (((((((((((((((((((((((((((((((( | |
2021-11-05T02:08:09.098196+00:00 app[worker.1]: (((( (((( | |
2021-11-05T02:08:09.098196+00:00 app[worker.1]: (((( (((((((((((* (((( | |
2021-11-05T02:08:09.098196+00:00 app[worker.1]: (((( ((((((((((((( (((( | |
2021-11-05T02:08:09.098197+00:00 app[worker.1]: (((( (((( ((((( (((( | |
2021-11-05T02:08:09.098197+00:00 app[worker.1]: (((( (((( ((((( (((( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku ps -a $APP <aws:default> | |
Free dyno hours quota remaining this month: 926h 53m (92%) | |
Free dyno usage for this app: 0h 0m (0%) | |
For more information on dyno sleeping and how to upgrade, see: | |
https://devcenter.heroku.com/articles/dyno-sleeping | |
=== node (Free): /app/presearch-node (1) | |
node.1: up 2021/10/22 11:15:20 -0700 (~ 3m ago) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku container:release -a $APP node -v <aws:default> | |
Releasing images node to presrch... done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker push registry.heroku.com/$APP/node <aws:default> | |
Using default tag: latest | |
The push refers to repository [registry.heroku.com/presrch/node] | |
089d07b9998b: Mounted from prenodes/presearch-node | |
187ca5f5e80c: Mounted from prenodes/presearch-node | |
ac0ec3d50b66: Mounted from prenodes/presearch-node | |
69d7fbbb553c: Mounted from prenodes/presearch-node | |
9a64eb56097f: Mounted from prenodes/presearch-node | |
98de9fdc70fb: Mounted from prenodes/presearch-node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker tag prenode registry.heroku.com/presrch/node | |
docker images | |
REPOSITORY TAG IMAGE ID CREATED SIZE | |
prenode latest 8ca9d5afa427 3 days ago 67.7MB | |
registry.heroku.com/presrch/node latest 8ca9d5afa427 3 days ago 67.7MB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker build -t prenode . <aws:default> | |
[+] Building 1.8s (10/10) FINISHED | |
=> [internal] load build definition from Dockerfile 0.0s | |
=> => transferring dockerfile: 383B 0.0s | |
=> [internal] load .dockerignore 0.0s | |
=> => transferring context: 2B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku apps:stacks:set -a presrch container <aws:default> | |
Setting stack to container... done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku apps:create presrch <aws:default> | |
Creating ⬢ presrch... done | |
https://presrch.herokuapp.com/ | https://git.heroku.com/presrch.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#instead of | |
if buy - sell > 0 and isMarketOpen: | |
#add some order logic | |
#use | |
conditionList = [ buy - sell > 0, isMarketOpen ] | |
all(conditionList) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{'apply': 33554, | |
'bare bones': 11996, | |
'iloc loop': 811999, | |
'iterrows': 689649, | |
'itertuples': 83192, | |
'to_dict': 37311, | |
'to_numpy (iterative)': 22984, | |
'to_numpy (vectorized)': 4164, | |
'to_records': 343681, | |
'vectorized': 9842} |
NewerOlder