coinrising / okex-api-v5

237 stars 115 forks source link

Broker id of APIKey does not match current environment #4

Closed Kalindro closed 2 years ago

Kalindro commented 2 years ago

Hi, I can't wrap my head around this. Is there any reason why I'm getting "Broker id of APIKey does not match current environment" when using "TradeAPI.get_order_list()"? Obviously in Okex docs there is no explanation of this error, any clues?

Kalindro commented 2 years ago

Jesus christ, flag = "0" is for real trading, default is demo... Issue resolved