Closed Chriane closed 6 years ago
Fixed the problem; had to set the Timezone to UTC:
from kucoin.client import Client
from kucoin.exceptions import KucoinAPIException
import os
os.environ['TZ']='UTC'
try:
client = Client(API_KEY, SECRET_KEY)
clientLanguages = client.get_languages()
print(clientLanguages)
clientActiveOrders = client.get_active_orders('KCS-BTC', True)
print(clientActiveOrders)
except KucoinAPIException as e:
print('your exception was due to {}'.format(e) )
print('error code {}'.format(e.code) ) # UNAUTH
print('error message {}'.format(e.message) ) # Not Found
Hello there,
I am receiving a KucoinAPIException whenever I try to execute certain commands; other commands, like
get_languages()
orget_historical_klines_tv()
work fine.I created a simple script:
This returns the following output:
So the first command is executing fine, but the second one is not... Anyone can tell me what I am doing incorrectly?
Thanks in advance!