Skip to content

Commit aaaddf3

Browse files
committed
commit before forking the app logic
1 parent 0ad6c9a commit aaaddf3

File tree

6 files changed

+32
-262
lines changed

6 files changed

+32
-262
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
trade_logic.py filter=git-crypt diff=git-crypt
1+
# trade_logic.py filter=git-crypt diff=git-crypt

.pylintrc

Lines changed: 0 additions & 249 deletions
This file was deleted.

app/trade_logic.py

-16 Bytes
Binary file not shown.

devenv.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"devenv": {
44
"locked": {
55
"dir": "src/modules",
6-
"lastModified": 1723487333,
6+
"lastModified": 1731782081,
77
"owner": "cachix",
88
"repo": "devenv",
9-
"rev": "b285601679c7686f623791ad93a8e0debc322633",
10-
"treeHash": "724e2581d01b2775202a61459cc6e63abbf56063",
9+
"rev": "206ac362af93a3d14593cd4fbae1d94c53b925df",
10+
"treeHash": "2a664af8874dc36a6d2594d357196a6146d13055",
1111
"type": "github"
1212
},
1313
"original": {
@@ -94,11 +94,11 @@
9494
]
9595
},
9696
"locked": {
97-
"lastModified": 1722978926,
97+
"lastModified": 1730716553,
9898
"owner": "cachix",
9999
"repo": "nixpkgs-python",
100-
"rev": "7c550bca7e6cf95898e32eb2173efe7ebb447460",
101-
"treeHash": "d9d38ef1b6fc92be18170b74e9889a7ab9174f6e",
100+
"rev": "8fcdb8ec34a1c2bae3f5326873a41b310e948ccc",
101+
"treeHash": "f48cfcda00e3b75bddc0c0a76ed67470d8b58e46",
102102
"type": "github"
103103
},
104104
"original": {
@@ -109,11 +109,11 @@
109109
},
110110
"nixpkgs-stable": {
111111
"locked": {
112-
"lastModified": 1723556749,
112+
"lastModified": 1731797254,
113113
"owner": "NixOS",
114114
"repo": "nixpkgs",
115-
"rev": "4a92571f9207810b559c9eac203d1f4d79830073",
116-
"treeHash": "e3518a5882da387efc1f99184797844a9952ecd0",
115+
"rev": "e8c38b73aeb218e27163376a2d617e61a2ad9b59",
116+
"treeHash": "414dfa1e410a7dffdc26d668b49159e8020a839d",
117117
"type": "github"
118118
},
119119
"original": {
@@ -133,11 +133,11 @@
133133
"nixpkgs-stable": "nixpkgs-stable"
134134
},
135135
"locked": {
136-
"lastModified": 1723202784,
136+
"lastModified": 1731363552,
137137
"owner": "cachix",
138138
"repo": "pre-commit-hooks.nix",
139-
"rev": "c7012d0c18567c889b948781bc74a501e92275d1",
140-
"treeHash": "0016d5d748d61d3bfaa69d3c02abff74740a46b7",
139+
"rev": "cd1af27aa85026ac759d5d3fccf650abe7e1bbf0",
140+
"treeHash": "d246c8c2f312332367d56063d2b049419880acc7",
141141
"type": "github"
142142
},
143143
"original": {

docker-compose-evd.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,27 @@ services:
1414
TWOFA_TIMEOUT_ACTION: restart
1515
GATEWAY_OR_TWS: gateway
1616
IBC_TradingMode: live
17+
IBC_ReadOnlyApi: "no"
18+
IBC_ReloginAfterSecondFactorAuthenticationTimeout: "yes"
1719
restart: always
1820
healthcheck:
1921
test: pidof java || exit 1
2022
interval: 30s
2123
timeout: 10s
2224
retries: 3
2325
start_period: 20s
26+
27+
# ib-trading-app:
28+
# build:
29+
# context: ./app
30+
# dockerfile: Dockerfile
31+
# restart: always
32+
# depends_on:
33+
# - ib-gateway
34+
# environment:
35+
# IBKR_LIVE_USER_ID: ${LIVE_USER_ID}
36+
# IBKR_LIVE_PASSWORD: ${LIVE_PASSWORD}
37+
# TWILIO_ACCOUNT_SID: ${TWILIO_ACCOUNT_SID}
38+
# TWILIO_AUTH_TOKEN: ${TWILIO_AUTH_TOKEN}
39+
# TWILIO_WHATSAPP_NUMBER: ${TWILIO_WHATSAPP_NUMBER}
40+
# ADMIN_WHATSAPP_NUMBER: ${ADMIN_WHATSAPP_NUMBER}

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jupyterlab = "^4.0.8"
2525
pulumi = "3.112.0"
2626
pulumi-aws = "6.28.2"
2727
ruff = "^0.6.2"
28+
python-telegram-bot = "^21.7"
29+
twilio = "^9.3.6"
2830

2931
[build-system]
3032
requires = ["poetry-core>=1.0.0"]

0 commit comments

Comments
 (0)