Type/to search
1
Follow
0
Followers
Как повысить отказоустойчивость, если система автоматически прекращает работу после сообщения об ошибке?
Help
Created 2021-11-21 19:14:45  
 5
 1166

2021-11-21 19:01:02 Futures_Binance Ошибка Sell ((4375.3, 0.032): 502:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE>ERROR: The request could not be satisfied</TITLE> </HEAD><BODY> <H1>502 ERROR</H1> <H2>The request could not be satisfied.</H2> <HR noshade size="1px"> The origin closed the connection. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. <BR clear="all"> If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. <BR clear="all"> <HR noshade size="1px"> <PRE> Generated by cloudfront (CloudFront) Request ID: DljBV97uNoogEXLJOBuBi3JjQXprvIEfWL17DPmrT4IpSB7ifm5waA== </PRE> <ADDRESS> </ADDRESS> </BODY></HTML>
Я сообщаю об этой ошибке, а затем автоматически прекращаю работу, и я хочу спросить, как повысить допустимость ошибок при продаже, как будто я не могу использовать функцию _C в exchange.sell

Related Recommendations
Comment
All comments (5)

    重复测试买入可以通过try函数建立递归

    5 years ago

    try:
    exchange.Sell XXX
    except:
    continue

    5 years ago

    理解了谢谢

    5 years ago

    这个是报错之后继续尝试挂卖单,还是就是直接跳过挂卖单这一步

    5 years ago

    看你自己策略需求

    5 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)