Bắt đầu xử lý đóng lệnh tự động
Cấu hình database: host=localhost, user=kiencoin_fu6, db=kiencoin_fu6
Kết nối database...
Kết nối database thành công
Kiểm tra lệnh Open...
Số lệnh Open: 12
Kiểm tra lệnh BUY Chinh và SELL Nguoc...
Truy vấn BUY Chinh và SELL Nguoc thành công
Kiểm tra lệnh SELL Chinh và BUY Nguoc...
Truy vấn SELL Chinh và BUY Nguoc thành công
Xử lý BUY Chinh và SELL Nguoc...
Symbol: AERGOUSDT, Max BUY Chinh: 0.16175000
Max SELL Nguoc: 0.14073000, % Chênh lệch: 12.995363214838
Chênh lệch > 8%, kiểm tra giá hiện tại...
Lấy giá hiện tại cho AERGOUSDT
Gọi API: https://fapi.binance.com/fapi/v1/ticker/price?symbol=AERGOUSDT
API trả về: {"symbol":"AERGOUSDT","price":"0.0572000","time":1769968414821}
Giá hiện tại AERGOUSDT: 0.0572
Giá hiện tại: 0.0572, % so với SELL Nguoc: -59.354792865771
Đạt điều kiện (<-1%), đóng tất cả lệnh Open của AERGOUSDT
Số lệnh Open của AERGOUSDT: 12
Lệnh ID: 121, Side: BUY, Quantity: 60.00
Đóng lệnh: symbol=AERGOUSDT, side=SELL, quantity=60.00, type=LONG
Gọi API: https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=60.00000000&type=LONG
Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=60.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT SELL: Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=60.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 121): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=60.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lệnh ID: 134, Side: BUY, Quantity: 600.00
Đóng lệnh: symbol=AERGOUSDT, side=SELL, quantity=600.00, type=LONG
Gọi API: https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG
Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT SELL: Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 134): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lệnh ID: 135, Side: BUY, Quantity: 600.00
Đóng lệnh: symbol=AERGOUSDT, side=SELL, quantity=600.00, type=LONG
Gọi API: https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG
Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT SELL: Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 135): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lệnh ID: 138, Side: BUY, Quantity: 600.00
Đóng lệnh: symbol=AERGOUSDT, side=SELL, quantity=600.00, type=LONG
Gọi API: https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG
Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT SELL: Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 138): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lệnh ID: 139, Side: BUY, Quantity: 600.00
Đóng lệnh: symbol=AERGOUSDT, side=SELL, quantity=600.00, type=LONG
Gọi API: https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG
Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT SELL: Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 139): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lệnh ID: 141, Side: BUY, Quantity: 600.00
Đóng lệnh: symbol=AERGOUSDT, side=SELL, quantity=600.00, type=LONG
Gọi API: https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG
Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT SELL: Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 141): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lệnh ID: 144, Side: BUY, Quantity: 600.00
Đóng lệnh: symbol=AERGOUSDT, side=SELL, quantity=600.00, type=LONG
Gọi API: https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG
Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT SELL: Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 144): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lệnh ID: 160, Side: SELL, Quantity: 600.00
Đóng lệnh: symbol=AERGOUSDT, side=BUY, quantity=600.00, type=SHORT
Gọi API: https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=BUY&quantity=600.00000000&type=SHORT
Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=BUY&quantity=600.00000000&type=SHORT): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT BUY: Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=BUY&quantity=600.00000000&type=SHORT): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 160): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=BUY&quantity=600.00000000&type=SHORT): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lệnh ID: 163, Side: BUY, Quantity: 600.00
Đóng lệnh: symbol=AERGOUSDT, side=SELL, quantity=600.00, type=LONG
Gọi API: https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG
Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT SELL: Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 163): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lệnh ID: 168, Side: BUY, Quantity: 600.00
Đóng lệnh: symbol=AERGOUSDT, side=SELL, quantity=600.00, type=LONG
Gọi API: https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG
Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT SELL: Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 168): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lệnh ID: 169, Side: BUY, Quantity: 600.00
Đóng lệnh: symbol=AERGOUSDT, side=SELL, quantity=600.00, type=LONG
Gọi API: https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG
Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT SELL: Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 169): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lệnh ID: 170, Side: BUY, Quantity: 600.00
Đóng lệnh: symbol=AERGOUSDT, side=SELL, quantity=600.00, type=LONG
Gọi API: https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG
Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT SELL: Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 170): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Xử lý SELL Chinh và BUY Nguoc...
Đóng kết nối database
Close Orders

Quản lý đóng lệnh tự động

Lỗi đóng lệnh AERGOUSDT (ID: 121): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=60.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 134): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 135): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 138): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 139): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 141): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 144): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 160): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=BUY&quantity=600.00000000&type=SHORT): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 163): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 168): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 169): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'
Lỗi đóng lệnh AERGOUSDT (ID: 170): Lỗi gọi API (https://future.congtytraxanh.com/api-binance/future/Dong-lenh-2-chieu.php?symbol=AERGOUSDT&side=SELL&quantity=600.00000000&type=LONG): SSL: no alternative certificate subject name matches target hostname 'future.congtytraxanh.com'