MCPcopy Index your code
hub / github.com/ccxt/ccxt / createOrder

Method createOrder

java/lib/src/main/java/io/github/ccxt/Exchange.java:9936–9946  ·  view source on GitHub ↗
(Object symbol, Object type, Object side, Object amount, Object... optionalArgs)

Source from the content-addressed store, hash-verified

9934 }
9935
9936 public java.util.concurrent.CompletableFuture<Object> createOrder(Object symbol, Object type, Object side, Object amount, Object... optionalArgs)
9937 {
9938
9939 return java.util.concurrent.CompletableFuture.supplyAsync(() -> {
9940
9941 Object price = Helpers.getArg(optionalArgs, 0, null);
9942 Object parameters = Helpers.getArg(optionalArgs, 1, new java.util.HashMap<String, Object>() {{}});
9943 throw new NotSupported((String)Helpers.add(this.id, " createOrder() is not supported yet")) ;
9944 });
9945
9946 }
9947
9948 public java.util.concurrent.CompletableFuture<Object> createTwapOrder(Object symbol, Object side, Object amount, Object duration, Object... optionalArgs)
9949 {

Calls 2

getArgMethod · 0.95
addMethod · 0.95

Tested by 15

testBinanceMethod · 0.76
testOkxMethod · 0.76
testCryptocomMethod · 0.76
testBybitMethod · 0.76
testKucoinMethod · 0.76
testKucoinfuturesMethod · 0.76
testBitgetMethod · 0.76
testMexcMethod · 0.76
testHtxMethod · 0.76
testWooMethod · 0.76
testBitmartMethod · 0.76
testCoinexMethod · 0.76