Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api Key Error #3

Open
tradingplatfroms opened this issue May 13, 2021 · 13 comments
Open

Api Key Error #3

tradingplatfroms opened this issue May 13, 2021 · 13 comments

Comments

@tradingplatfroms
Copy link

Kindly check gmail urgent .

@Nai-mul
Copy link

Nai-mul commented May 16, 2021

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')

@prafulrana
Copy link

Running into same issue

@Nai-mul
Copy link

Nai-mul commented May 16, 2021

Running into same issue

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

@prafulrana
Copy link

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

@Nai-mul
Copy link

Nai-mul commented May 17, 2021

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

@Chris6622
Copy link

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')

@Hephyrius
Copy link
Owner

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.

@mhgutier
Copy link

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)

@Nai-mul
Copy link

Nai-mul commented May 20, 2021

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.")

@Hephyrius
Copy link
Owner

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?

@Nai-mul
Copy link

Nai-mul commented May 22, 2021

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

@Nai-mul
Copy link

Nai-mul commented May 22, 2021

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.

@Hephyrius Hephyrius reopened this Nov 22, 2021
@Hephyrius Hephyrius changed the title Email sent to your gmail about issue Api Key Error Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants