Tâche terminée
Temps d'exécution 5 heures
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Commentaires du client
Good and fast programmer, quickly responds to messages, stays on point.
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Commentaires de l'employé
Great customer, very friendly and kindly.
Spécifications
I have been using bittrex bot for over a year and few days ago it started to report BAD REQUEST (400) error. (my code did not change, something changed in Bittrex)
this is my mql code:
int nonce = TimeGMT(); string uri = "https://bittrex.com/api/v1.1/market/getopenorders?apikey="+api_key+"&nonce="+nonce; StringToCharArray(uri, uri_char, 0, WHOLE_ARRAY, CP_UTF8); string output = CryptCreateSHA512Hash(uri,api_secret); ArrayResize(uri_char, ArraySize(uri_char)-1); string headers = "apisign:"+output; int res=WebRequest("POST",uri, headers,private_api_timeout,uri_char, result_char, result_headers); result = CharArrayToString(result_char,0,WHOLE_ARRAY); if(res!=200) { Print2("Authorization error #"+(string)res+", LastError="+(string)GetLastError()); Print2("result = "+result); Print2("ERROR: Positions NOT LOADED from all pairs!"); } else { ... }
reports:
Authorization error #400, LastError=0 result2 = Bad Request
php example, that works:
<?php
$apikey='xxx';
$apisecret='xxx';
$nonce=time();
$uri='https://bittrex.com/api/v1.1/market/getopenorders?apikey='.$apikey.'&nonce='.$nonce;
$sign=hash_hmac('sha512',$uri,$apisecret);
$ch = curl_init($uri);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('apisign:'.$sign));
$execResult = curl_exec($ch);
$obj = json_decode($execResult);
if (curl_error($ch)) {
$error_msg = curl_error($ch);
echo 'error='.$error_msg;
} else {
echo 'execResult='.$execResult;
}
?>
returns:
{"success":true,"message":"","result":[]}execResult=1
When I wrote their customer support, they replied:
Hi, The the V1.1 API has been changed to no longer accept request bodies. You must use the API as documented with a query string. https://support.bittrex.com/hc/en-us/articles/115003723911-Developer-s-Guide-API Best Regards,
But I still can't catch what am I doing wrong in my code. Another response from service desk, after me implying that their method doesn't work for me:
HI, Our developers are working to resolve this issue. Please see the information below. There is a workaround to use GetOrdersEx which does not require a POST. ## API POST Account/GetOrders * Method : POST * URL : https://bittrex.com/api/v1.1/Account/GetOrders?apikey=xxx&nonce=1234 * HEADER : * apisign : signature with hmac(sah512) fro above URL * BODY format : * {"orders":["xxxxxxxx-2f68-405b-bfd3-fb19b362feea","xxxxxxxx-3583-48e5-951f-29b3ed04b65f"]} * LIMIT : orders count <= 1000
I need someone to make my code great again and make it work with Bittrex API, as it used to.
Répondu
1
Évaluation
Projets
5
20%
Arbitrage
2
0%
/
100%
En retard
1
20%
Gratuit
2
Évaluation
Projets
93
34%
Arbitrage
10
40%
/
30%
En retard
5
5%
Gratuit
Commandes similaires
Edit MyFxBook Data
30 - 40 USD
Hello Everyone, How do I change data on my MT4 so that on MyFxBook it will be seen differently. Because I got a high Drowdown and some loss, I just simply want to hide this data. Please not from inspect because at the end it will be seen, directly from my MT4
I want to make something automatic which EMA will automatically trade in my account. For this I want to make a simple robot I want to get this made automatically on a simple EMA
Saya memerlukan Expert Advisor berdasarkan sinyal AOX. Itu harus memiliki pemeriksaan dan penanganan kesalahan operasi perdagangan. Kriteria utama pembukaan dan posisi penutupan: ■ arah rata-rata bergerak ■ harga lebih tinggi dari bar sebelumnya. Lot perdagangan adalah parameter masukan
Skarito98
30 - 100 USD
Always stay winning and survive....we all want a better life now this is a chance someone can take,to change their lives for the better.No one is supposed to suffer in this world,we create and invert new things and come up with ideas to solve situations we come across especially when it comes to finance. We all need better things in life and God want good things for us
Octafx Copytrading to Mt4
50 - 100 USD
Mt4 EA Copy trades from octafx copytrading master trader trades 1-i need a bot which will copy trades from Octafx Copytrading Master Trader trades to Metatrader 4 account. 2-bot will copy exactly same trade with same lotsize 3-Bot should open exactly same time when master open and close exactly same time when master close 4-provide complete source code Guide Completely how to Run*
I need an urgent requirement by the developer who are able expert in designing the EA-Anil and can give best trailing result of profit in EA-Anil I am sending.Developer should design the best graphic user trader panel info, plus a buy sell input panel and should display trade result within 4-5 days of this development program
Good Day I would like to create a trading bot that is able to link to my news provider. The bot will execute trades based on the actual news release data as soon as the data is released. I will need to input parameters that would automatically trigger once the actual data is released (Need to know what format you will require or other recommendations) Execution speed will be a crucial factor in this regard. Adding to
Bollinger Bands and Grid EA Development
30 - 100 USD
The strategy uses a grid trading system where trades are placed at set intervals (grid levels) and are managed using Bollinger Bands for entry and exit signals. A fixed lot size, trades are managed to comply with maximum spread conditions and specific trading hours, with the possibility of closing trades based on Bollinger Bands signals. The use of Bollinger Bands indicates a focus on volatility-based trading, while
Robotics Artificial Intelligence
100+ USD
I believe in Robotics as a major artificial intellect to function of growth of business.Therefore if you script there is a likelihood of bringing economies of scale.The retrospective of the dynamics of indulgence of work can be economics of scale
Hi I need a software like Mirror trade copier ( https://www.antonnel.net/mirror/ ) which directly connect to the Accounts over api with out MT4 terminal and copies trades from mater to client. I want the same and possible improvement like can be accessed over a url and dashboard for some basic metrics (optional)
Informations sur le projet
Budget
30 - 60 USD
TVA (23%):
6.9
- 13.8
USD
Total:
36.9
- 73.8
USD
Pour le développeur
27
- 54
USD
Délais
de 1 à 2 jour(s)