Skip to content

Commit b1854cd

Browse files
committed
[Requirements] light octobot_commons compatibility
1 parent b6f533f commit b1854cd

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
import asyncio
2+
import os
3+
# allow minimal octobot_commons imports
4+
os.environ["USE_MINIMAL_LIBS"] = "true"
25

36
import octobot_commons.symbols as symbols
47
import octobot_commons.os_util as os_util
@@ -17,7 +20,7 @@
1720

1821
# start arbitrage detection
1922
print("Scanning...")
20-
exchange_name = "binanceus" # allow pickable exchange_id from https://github.com/ccxt/ccxt/wiki/manual#exchanges
23+
exchange_name = "cryptocom" # allow pickable exchange_id from https://github.com/ccxt/ccxt/wiki/manual#exchanges
2124

2225
best_opportunities, best_profit = asyncio.run(detector.run_detection(exchange_name))
2326

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
ccxt
2-
networkx[default]
2+
networkx[default]>=3.4, <3.5
33

44
OctoBot-Commons>=1.9, <1.10

0 commit comments

Comments
 (0)