I want to set leverage before entering position. But when I call it in the code as I mentioned below, I get an error. It mentions missing parameter or empty. There doesn't seem to be any problem with timestamp taken in sgcHTP_API_Binance.pas. How can I set pre-position leverage without getting this error?
Post Code:
procedure TFRMSGCBinanceTradeFutures.Button1Click(Sender: TObject);
begin
DoBinanceAPI;
HTTP/1.1 400 Bad Request. {"code":-1102,"msg":"Mandatory parameter 'timestamp' was not sent, was empty/null, or malformed."}
Thank You.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »