Username: Password:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - 125xx

Pages: [1]
1
More on this.  So I setup a proxy and intercepted the API calls to binance.

When gunbot is attempting to BUY against a SELL [close a short] - it sends: timestamp=1582949894415&recvWindow=5000&symbol=BTCUSDT&quantity=-2&type=LIMIT&side=BUY&newClientOrderId=<clientID>&price=8747.8&timeInForce=GTC&signature=<sig>  to https://fapi.binance.com/fapi/v1/order

However, fapi.binance.com is returning:

{
    "code": -1102,
    "msg": "Mandatory parameter '-2' was not sent, was empty/null, or malformed."
}

Thus, the position isn't being closed.

Why is this? Is this a bug or a setting I need to tweak to ensure this param is passed?

2
Hi! [sorry, I posted this in general originally by accident]

I'm having issues closing positions on binanceFutures.

gunthy-linux Logs look like so - https://pastebin.com/9qFNP1Wx
Config.js - https://pastebin.com/28HXYtwY

It will print its attempts to close positions for hours, but never does.

Is there any way to get better granularity on whats happening here? Can the API calls be traced/logged to a file or the server-side responses?

I'm really struggling and just grabbed an ultimate license... I have to make all position closes manually :(

Appreciate any help!

Pages: [1]