Page 1 of 1

Ich kann keine Aktion mit der Bitbit -API mit dem Demo -Konto ausführen. Was kann Grund sein?

Posted: 07 Apr 2025, 06:14
by Anonymous
Ich verbinde http mit pybit: < /p>
session = HTTP(
api_key="api_key",
api_secret="secret_key",
return_response_headers=True,
demo=True
)
< /code>
Dann versuche ich jede HTTP -Methode und abrufen "Die API -Taste ist ungültig. (Errcode: 10003)"
Zum Beispiel: < /p>
info=session.get_api_key_information()
info=list(info)[0]['result']
for key, value in info.items():
print (key, " ", value)
< /code>
Als Ergebnis erholte ich "API -Schlüssel ist ungültig. (Errcode: 10003)".>