knowm / XChange

XChange is a Java library providing a streamlined API for interacting with 60+ Bitcoin and Altcoin exchanges providing a consistent interface for trading and accessing market data.
http://knowm.org/open-source/xchange/
MIT License
3.87k stars 1.94k forks source link

Bad field name in create order #4932

Closed arass closed 2 months ago

arass commented 2 months ago

https://github.com/knowm/XChange/blob/341810df99d7f05eb84fba50d9d23d63f4a860c7/xchange-okex/src/main/java/org/knowm/xchange/okex/dto/trade/OkexOrderRequest.java#L19

This property is called clOrdId now.

https://www.okx.com/docs-v5/en/#order-book-trading

5 min fix. Please update.

bigscoop commented 2 months ago

nice catch, well documented, thanks. :+1:

Created a PR