download 100个币对
This commit is contained in:
parent
d951cd4143
commit
bca5684f63
@ -76,7 +76,7 @@ timeframe=$(get_csv_param_value "--timeframe" "$@")
|
||||
if [[ -z "$pairs" ]]; then
|
||||
# 从API获取交易对列表
|
||||
echo "Fetching pairs from API..."
|
||||
pairs_json=$(curl -s "http://pairlist.xl.home/api/pairlist?mute=true&count=50")
|
||||
pairs_json=$(curl -s "http://pairlist.xl.home/api/pairlist?mute=true&count=100")
|
||||
|
||||
# 检查API响应是否成功
|
||||
if [[ $? -ne 0 || -z "$pairs_json" ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user