fix ccxt.base.errors.BadRequest: binance fetchConvertTradeHistory() the max interval between startTime and endTime is 30 days.
This commit is contained in:
parent
d9a82b2844
commit
91763326e1
@ -200,7 +200,7 @@ function get_transactions {
|
||||
#em=$((m+1))
|
||||
#[ $em = 13 ] && em=1
|
||||
#f_aend_date="$(date -d "$y-$em-1" +%s)000"
|
||||
f_end_date="$(date -d "$y-$m-1 +30days" +%s)000"
|
||||
f_end_date="$(date -d "$y-$m-1 +29days" +%s)000"
|
||||
f_convert_file="TRANSACTIONS-$f_exchange/CONVERT-$y-$m"
|
||||
|
||||
[ -s "${f_convert_file}.csv" ] && continue
|
||||
|
Loading…
Reference in New Issue
Block a user