工作已完成
执行时间5 小时
客户反馈
Good and fast programmer, quickly responds to messages, stays on point.
员工反馈
Great customer, very friendly and kindly.
指定
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.
反馈
1
等级
项目
5
20%
仲裁
2
0%
/
100%
逾期
1
20%
空闲
2
等级
项目
93
34%
仲裁
10
40%
/
30%
逾期
5
5%
空闲
相似订单
8 cap prop firm passing
30 - 3000 USD
I am looking for an experienced MQL4/MQL5 HFT developer to build or optimize a High-Frequency Trading (HFT) Expert Advisor that can successfully pass proprietary trading firm challenges and perform consistently under live trading conditions with brokers such as 8cap or BlackBull Markets . The developer should have proven experience with HFT execution, ultra-low-latency trading, broker execution, slippage, spreads
MT4/MT5 HFT EA Live Trading
40 - 10000 USD
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
EA Crafter
500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE
Advanced Forex Expert Advisor-fully automated system
200 - 300 USD
I require a custom EA and an accompanying custom indicator built in MQL5 for Meta Trader 4/5. The EA must be fully automated (Algo Trading); Telegram-Signal-Linked and named 'AMK Fx'
项目信息
预算
30 - 60 USD
截止日期
从 1 到 2 天