Cancelled

Javascript, Binance api post order request (Need help with debugging)

I've wrote a piece of code to post an order to Binance api. I'm getting 404 error. Binance docs state:

(HTTP 4XX return codes are used for for malformed requests; the issue is on the sender's side.)

I have derived (probably incorrectly) from the official node.js version ([url removed, login to view]) .But I do not want to work with node.js.

I can't figure out what i'm doing wrong. Relatively new to JS.

This project is simply helping me by getting this script to work.

Official documentation: [url removed, login to view]

All other resources used are zipped and attached.

You will need to register in binance to get your own api key and api secret.

Please bid only if you can do this. There is not much more information I can give you after you've bid.

Running from local machine (directly from browser, no server or localhost), just FYI.

Thank you in advance.

This is my current situation:

<script src="/assets/js/[url removed, login to view]"></script>

<script src="/assets/js/[url removed, login to view]"></script>

<script type="text/javascript">

var symbol = 'BTCUSDT';

var bs = 'BUY';

var amount = 1;

var api_key = '***********';

var api_secret = '***********';

var base = '[url removed, login to view]';

var thequery = 'symbol='+symbol+'&side='+bs+'&type=MARKET&timeInForce=GTC&quantity='+amount+'&recvWindow=60000&timestamp='+[url removed, login to view]();

var hash = [url removed, login to view](thequery, api_secret);

//var hashInBase64 = [url removed, login to view](hash);

$.ajax({

url: base+'?'+thequery+'&signature='+hash,

type: 'POST',

dataType: 'jsonp', //CORS FIX

beforeSend: function(xhrObj){

[url removed, login to view]("X-MBX-APIKEY",api_key);

[url removed, login to view]("User-Agent",'Mozilla/4.0 (compatible; Node Binance API)');

[url removed, login to view]("Content-type",'application/x-www-form-urlencoded');

},

success: function (result) {

[url removed, login to view](result);

},

error: function (error) {

[url removed, login to view](error);

}

});

</script>

ทักษะ: วิทยาการเข้ารหัสลับ, Javascript

ดูเพิ่มเติม : Need help in writing some java code, need help to repair javascript freelancer, i need help with someone writing my book for me where do i go, need help debugging, need help fixing javascript, need help paypal adaptive payment api, need help dutch german post classified 2009, need help implementing api resellerclub, post app request facebook javascript, using fasthost api need help, converting http site css javascript drupal need help, need help post affiliate pro, need help text website, open source projects need help, freelance need help wsdl file, need help adding google adsense site, mp3 files need help transcribing

เกี่ยวกับนายจ้าง:
( 15 บทวิจารณ์ ) Sofia, Bulgaria

หมายเลขโปรเจค: #16081540

freelancer 6 คน กำลังเสนอราคาเฉลี่ยที่ $192 สำหรับงานนี้

Europa17

Hi there. Just checked your description carefully. I have good skills in cryptocurrnecy api integration. I am good at bitgo, bitpay , kraken and [login to view URL] api. So I can do your job successuflly. Relevant Skills and Exp เพิ่มเติม

$222 USD ใน 3 วัน
(20 บทวิจารณ์)
5.4
infowider11

Hello i can do this i m expert in jquery. Relevant Skills and Experience I have good knowledge of Mobile Jquery,WordPress,Codeigniter, php,Ajax,HTML5,CSS3,mysql,PDO SQl,Bootstrap, All Browser and Mobile Responsive Des เพิ่มเติม

$250 USD ใน 3 วัน
(12 บทวิจารณ์)
5.0
schoudhary1553

Greeting, I have understood your Javascript task and can do it with your 100% satisfaction. Please ping me for more discussion. Relevant Skills and Experience I have more than 5 years of experience in Cryptography, เพิ่มเติม

$250 USD ใน 3 วัน
(9 บทวิจารณ์)
4.2
hiteshkumar2

I understand your requirements regarding Web. I am professionals BTech IT engineer. I am providing the every kind of service related to Web sites and server management. I have 5 years experience i Relevant Skills and เพิ่มเติม

$155 USD ใน 1 วัน
(10 บทวิจารณ์)
4.0
bantutulasi

ping me back im interested so we can discuss further

$222 USD ใน 5 วัน
(0 บทวิจารณ์)
0.0
sayanprogrammer2

Hi I'm   RICH P. I've reviewed your complete job description. I have more than 12 years of experience in this field. if you will respond me then I will be able to explain my skills. Relevant Skills and Experience เพิ่มเติม

$50 USD ใน 3 วัน
(0 บทวิจารณ์)
0.0