binance_futures_bot icon indicating copy to clipboard operation
binance_futures_bot copied to clipboard

Api Key Error

Open tradingplatfroms opened this issue 3 years ago • 13 comments

Kindly check gmail urgent .

tradingplatfroms avatar May 13 '21 07:05 tradingplatfroms

really need him... i am also in trouble Please help me.

python3 bot.py Bot Starting Encountered Exception ('ExecuteError', '[Executing] -2015: Invalid API-key, IP, or permissions for action, request ip: 103.126.149.19') Encountered Exception ('ExecuteError', '[Executing] -2015: Invalid API-key, IP, or permissions for action, request ip: 103.126.149.19')

crypto-kotha avatar May 16 '21 19:05 crypto-kotha

Running into same issue

prafulrana avatar May 16 '21 19:05 prafulrana

Running into same issue

if you found any solution please don't forget to help me :(

crypto-kotha avatar May 16 '21 19:05 crypto-kotha

Yes. Figured it out. My Futures account was not enabled. Go to binanance.com/en/futures to enable it.

prafulrana avatar May 16 '21 20:05 prafulrana

Yes. Figured it out. My Futures account was not enabled. Go to binanance.com/en/futures to enable it.

hey bro, looks like its very interesting bot. but the problem is bot closing position very by trilling stop triggered . and please give me your telegram... my telegram @newsrell

crypto-kotha avatar May 17 '21 13:05 crypto-kotha

Hi all,

Having the same Error message as mentioned above I have checked my binance account settings! looks all good. Futurestrading is enabled and API key and secret is new created and pasted into file keys.json

Have you any idea to solve the problem

Encountered Exception ('ExecuteError', '[Executing] -2015: Invalid API-key, IP, or permissions for action, request ip: 103.126.149.19')

Chris6622 avatar May 18 '21 16:05 Chris6622

Hey All, apologies for not seeing these messages until now. Check the security in your API settings. You may need to add your IP address to the allowed devices.

Hephyrius avatar May 19 '21 15:05 Hephyrius

Yes. Figured it out. My Futures account was not enabled. Go to binanance.com/en/futures to enable it.

hey bro, looks like its very interesting bot. but the problem is bot closing position very by trilling stop triggered . and please give me your telegram... my telegram @Newsrell

hi, handle_signal seems like making side = -1 regardless buy or sell

add this in hND

Yes. Figured it out. My Futures account was not enabled. Go to binanance.com/en/futures to enable it.

hey bro, looks like its very interesting bot. but the problem is bot closing position very by trilling stop triggered . and please give me your telegram... my telegram @Newsrell

hi, edit the handle signal

def handle_signal(client, std, market="ETHUSDT", leverage=3, order_side="BUY", stop_side="SELL", _callbackRate=2.0): initialise_futures(client, _market=market, _leverage=leverage) qty = calculate_position(client, market, _leverage=leverage)

enablePrint(std)
execute_order(client, _qty=qty, _side=order_side, _market=market)
blockPrint()

in_position = True

if order_side == "BUY" :
    side = 1
elif order_side == "SELL" :
    side = -1

market_price = get_market_price(client, _market=market)

singlePrint(f"{order_side}: {qty} ${market_price} using x{leverage} leverage", std)

mhgutier avatar May 20 '21 09:05 mhgutier

after adding that i am getting error msg if order_side == "BUY" : side = 1 elif order_side == "SELL" : side = -1

like that

Encountered Exception ('ExecuteError', "[Executing] -4061: Order's position side does not match user's setting.")

crypto-kotha avatar May 20 '21 17:05 crypto-kotha

after adding that i am getting error msg if order_side == "BUY" : side = 1 elif order_side == "SELL" : side = -1

like that

Encountered Exception ('ExecuteError', "[Executing] -4061: Order's position side does not match user's setting.")

are you using some sort of hedge mode?

Hephyrius avatar May 20 '21 19:05 Hephyrius

i turned off hedge mode when I start it. Then two things are happening together. IMG_20210522_194944 IMG_20210522_194920

crypto-kotha avatar May 22 '21 13:05 crypto-kotha

Mt bot setting is

{ "market": "1000SHIBUSDT", "leverage": "3", "trading_periods": "5m,15m", "margin_type": "CROSSED", "trailing_percentage": "2.0" }

First time i transferred 100usdt in future acc. Bot take it all slowly. When he has set up all the money, he says, it is an insignificant margin.

crypto-kotha avatar May 22 '21 13:05 crypto-kotha

I found what is problem. https://help.quantower.com/connections/connection-to-binance-futures/errors-with-binance-connection#error-invalid-api-key-ip-or-permissions-for-action Here is link!.

shin31120 avatar Jun 18 '21 12:06 shin31120