Upbit's market order does not work
String symbol = "BTC"; String market ="KRW";
Instrument pair = new CurrencyPair(symbol, market);
MarketOrder marketOrder = new MarketOrder.Builder(Order.OrderType.BID, pair) .originalAmount(new BigDecimal("0.00007")) // Bithumb Success , Upbit Fail .build(); trade_id = tradeService.placeMarketOrder(marketOrder);
If I place an order for KRW Bitcoin in Upbit or Bithumb, an error will occur in the market price order in Upbit. Bithumb works well Even if you enter a value of 10,000 won, the order will not proceed.
- library version def xchange_version = "5.1.0" implementation "org.knowm.xchange:xchange-core:$xchange_version" implementation "org.knowm.xchange:xchange-upbit:$xchange_version" implementation "org.knowm.xchange:xchange-bithumb:$xchange_version"
hi @tkddlf4209 I don't have accounts in Upbit or Bithumb, so I can't check placeMarketOrder.
But maybe it's worth taking a fresh XChange snapshot and trying with it?
And it would be good to provide a full stack trace of the error, maybe it will immediately understand what the matter is.