bbgo_origin/scripts/sync_time.sh

4 lines
117 B
Bash
Raw Permalink Normal View History

2022-11-30 03:41:25 +00:00
#!/usr/bin/sh
date -s @`echo "$(curl https://api.binance.com/api/v3/time 2>/dev/null | jq .serverTime)/1000"|bc -l`