I write this code:
api_key = "https://api.binance.com/api/v3/myTrades??X-MBX-APIKEY="+config.API_Key+"&signature="+config.Secret_Key
and get this error:
{"code":-2014,"msg":"API-key format invalid."}
and this the documentation of binance api https://binance-docs.github.io/apidocs/spot/en/#endpoint-security-type