DCAv2Earn/credentials.py.example

21 lines
829 B
Plaintext

def get_api_key(exchange):
if exchange=="binance":
api_key = "place_your_api_key_here"
api_secret = "place_your_api_secret_here"
return api_key, api_secret
elif exchange=="kucoin":
api_key = "place_your_api_key_here"
api_secret = "place_your_api_secret_here"
api_passphrase = "place_your_passphrase_here"
return api_key, api_secret, api_passphrase
elif exchange=="okx":
api_key = "place_your_api_key_here"
api_secret = "place_your_api_secret_here"
api_passphrase = "place_your_passphrase_here"
return api_key, api_secret, api_passphrase
elif exchange=="gateio":
api_key = "place_your_api_key_here"
api_secret = "place_your_api_secret_here"
return api_key, api_secret
else:
return None,None