-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid KC-API-SIGN when sending an order using Restful API #17
Comments
OUTPUT for this test: signStr:1583485900489POST/api/v1/orders{"clientOid":"b471b25d-22a3-4618-8137-74e0beff83c6","side":"sell","size":"10","symbol":"MAP-USDT","type":"market"} Process finished with exit code 0 |
Have you fixed this issue? |
public void postKubiOrder(String url) {
CloseableHttpClient httpclient = HttpClients.createDefault();
HttpPost httpPost = new HttpPost(url);
long nowts = Calendar.getInstance().getTimeInMillis();
// return result;
}
public static void main(String[] args) {
String url = "https://api.kucoin.com/api/v1/orders";
ExchangeTradeServiceImpl exchangeTradeService = new ExchangeTradeServiceImpl();
exchangeTradeService.postKubiOrder(url);
}
The text was updated successfully, but these errors were encountered: