response = requests.get('http://**.**.241.254:5000/info/') can_short = int(response.json()['can_short']) logging.info('can_short: ' + str(can_short)) if can_short == 1: logging.info('当前大周期内暂停做多') return '', 200
1、币安币本位合约macd纯多策略,已增加大周期判断