Compare commits

..

No commits in common. "07ef55bcd27689e1305da3923b546b8a93aa6a4d" and "f9d4f7d8ed8dfd10e871b9bfee48112adb5d06bc" have entirely different histories.

2 changed files with 1 additions and 6 deletions

View File

@ -34,11 +34,6 @@ function f_ccxt {
local f_exchange_type="swap"
[ -z "$LEVERAGE" ] && f_exchange_type="spot"
g_python "${STOCK_EXCHANGE} = ccxt.${STOCK_EXCHANGE}({'apiKey': '${API_KEY}','secret': '${API_SECRET}','enableRateLimit': True,'options': {'defaultType': '${f_exchange_type}',},})" || return 1
if [[ $TESTNET = true ]]
then
g_echo_note "ATTENTION: RUNNING IN TESTNET/SIMULATION/MOCK MODE OF EXCHANGE ${STOCK_EXCHANGE}!!!"
g_python "exchange.set_sandbox_mode(True)" || return 1
fi
g_python "${STOCK_EXCHANGE}markets=${STOCK_EXCHANGE}.load_markets()" || return 1
f_ccxt_initialized="${f_ccxt_initialized}${STOCK_EXCHANGE},"
fi

View File

@ -35,7 +35,7 @@ function get_ohlcv-candles {
do
# fetch only single symbols (for debugging)
#[ "$f_symbol" = "BTC/USDT:USDT" ] || continue
g_echo_note "Fetching/Refreshing $f_symbol $f_timeframe"
echo "=== Fetching/Refreshing $f_symbol ==="
for f_timeframe in $f_timeframes
do
f_asset="${f_symbol//:*}"