Skip to content

Commit 43216dd

Browse files
committed
[OKX] update compliance error
1 parent aecc0bc commit 43216dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Trading/Exchange/okx/okx_exchange.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ class Okx(exchanges.RestExchange):
9999
EXCHANGE_COMPLIANCY_ERRORS: typing.List[typing.Iterable[str]] = [
100100
# OKX ex: Trading of this pair or contract is restricted due to local compliance requirements
101101
("restricted", "compliance"),
102+
# OKX ex: You can't trade this pair or borrow this crypto due to local compliance restrictions.
103+
("restrictions", "compliance"),
102104
]
103105
# text content of errors due to unhandled authentication issues
104106
EXCHANGE_AUTHENTICATION_ERRORS: typing.List[typing.Iterable[str]] = [

0 commit comments

Comments
 (0)