src_fm_fc_ms_ff
stringlengths 43
86.8k
| target
stringlengths 20
276k
|
---|---|
JsonUtils { @SuppressWarnings("unchecked") public static Map<String, String> jsonToMap(Reader in) { AwsJsonReader reader = getJsonReader(in); try { if (reader.peek() == null) { return Collections.EMPTY_MAP; } Map<String, String> map = new HashMap<String, String>(); reader.beginObject(); while (reader.hasNext()) { String key = reader.nextName(); if (reader.isContainer()) { reader.skipValue(); } else { map.put(key, reader.nextString()); } } reader.endObject(); reader.close(); return Collections.unmodifiableMap(map); } catch (IOException e) { throw new AmazonClientException("Unable to parse JSON String.", e); } } static void setJsonEngine(JsonEngine jsonEngine); static AwsJsonReader getJsonReader(Reader in); static AwsJsonWriter getJsonWriter(Writer out); @SuppressWarnings("unchecked") static Map<String, String> jsonToMap(Reader in); @SuppressWarnings("unchecked") static Map<String, String> jsonToMap(String json); static String mapToString(Map<String, String> map); } | @Test public void testJsonToMap() { Map<String, String> map = JsonUtils.jsonToMap(JSON_STRING); assertEquals("string value", "string", map.get("string")); assertEquals("long value", "123", map.get("long")); assertEquals("double value", "123.45", map.get("double")); assertEquals("null value", null, map.get("null")); assertEquals("true value", "true", map.get("true")); assertEquals("false value", "false", map.get("false")); assertEquals("encoding", "Chloë", map.get("encoding")); assertNull("array is ignored", map.get("array")); assertNull("object is ignored", map.get("object")); }
@Test public void testNullJsonToMap() { String nullStr = null; Map<String, String> map = JsonUtils.jsonToMap(nullStr); assertNotNull("map isn't null", map); assertTrue("map is empty", map.isEmpty()); }
@Test public void testEmptyJsonToMap() { String json = ""; Map<String, String> map = JsonUtils.jsonToMap(json); assertTrue("empty string", map.isEmpty()); } |
JsonUtils { public static String mapToString(Map<String, String> map) { if (map == null || map.isEmpty()) { return "{}"; } try { StringWriter out = new StringWriter(); AwsJsonWriter writer = getJsonWriter(out); writer.beginObject(); for (Map.Entry<String, String> entry : map.entrySet()) { writer.name(entry.getKey()).value(entry.getValue()); } writer.endObject(); writer.close(); return out.toString(); } catch (IOException e) { throw new AmazonClientException("Unable to serialize to JSON String.", e); } } static void setJsonEngine(JsonEngine jsonEngine); static AwsJsonReader getJsonReader(Reader in); static AwsJsonWriter getJsonWriter(Writer out); @SuppressWarnings("unchecked") static Map<String, String> jsonToMap(Reader in); @SuppressWarnings("unchecked") static Map<String, String> jsonToMap(String json); static String mapToString(Map<String, String> map); } | @Test public void testEmptyMapToJson() { Map<String, String> source = new HashMap<String, String>(); assertEquals("empty map", "{}", JsonUtils.mapToString(source)); } |
JsonUtils { public static AwsJsonReader getJsonReader(Reader in) { if (factory == null) { throw new IllegalStateException("Json engine is unavailable."); } return factory.getJsonReader(in); } static void setJsonEngine(JsonEngine jsonEngine); static AwsJsonReader getJsonReader(Reader in); static AwsJsonWriter getJsonWriter(Writer out); @SuppressWarnings("unchecked") static Map<String, String> jsonToMap(Reader in); @SuppressWarnings("unchecked") static Map<String, String> jsonToMap(String json); static String mapToString(Map<String, String> map); } | @Test public void testJsonReader() throws IOException { AwsJsonReader reader = JsonUtils.getJsonReader(new StringReader(JSON_STRING)); reader.beginObject(); assertTrue("has properties", reader.hasNext()); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("string")) { assertTrue("VALUE_STRING", AwsJsonToken.VALUE_STRING == reader.peek()); assertEquals("string value", "string", reader.nextString()); } else if (name.equals("long")) { assertTrue("VALUE_NUMBER", AwsJsonToken.VALUE_NUMBER == reader.peek()); assertEquals("long value", "123", reader.nextString()); } else if (name.equals("double")) { assertTrue("VALUE_NUMBER", AwsJsonToken.VALUE_NUMBER == reader.peek()); assertEquals("double value", "123.45", reader.nextString()); } else if (name.equals("null")) { assertTrue("VALUE_NULL", AwsJsonToken.VALUE_NULL == reader.peek()); assertNull("null value", reader.nextString()); } else if (name.equals("true")) { assertTrue("VALUE_BOOLEAN", AwsJsonToken.VALUE_BOOLEAN == reader.peek()); assertEquals("true value", "true", reader.nextString()); } else if (name.equals("false")) { assertTrue("VALUE_BOOLEAN", AwsJsonToken.VALUE_BOOLEAN == reader.peek()); assertEquals("false value", "false", reader.nextString()); } else if (name.equals("encoding")) { assertTrue("VALUE_STRING", AwsJsonToken.VALUE_STRING == reader.peek()); assertEquals("encoding", "Chloë", reader.nextString()); } else if (name.equals("array")) { assertTrue("BEGIN_ARRAY", AwsJsonToken.BEGIN_ARRAY == reader.peek()); reader.beginArray(); assertTrue("has next", reader.hasNext()); assertEquals("string value", "string", reader.nextString()); assertEquals("long value", "123", reader.nextString()); assertEquals("double value", "123.45", reader.nextString()); assertNull("null value", reader.nextString()); assertEquals("true value", "true", reader.nextString()); assertEquals("false value", "false", reader.nextString()); reader.endArray(); } else if (name.equals("object")) { assertTrue("BEGIN_OBJECT", AwsJsonToken.BEGIN_OBJECT == reader.peek()); reader.beginObject(); assertFalse("empty object", reader.hasNext()); reader.endObject(); } else { fail("should not reach here"); } } reader.endObject(); } |
JsonUtils { public static AwsJsonWriter getJsonWriter(Writer out) { if (factory == null) { throw new IllegalStateException("Json engine is unavailable."); } return factory.getJsonWriter(out); } static void setJsonEngine(JsonEngine jsonEngine); static AwsJsonReader getJsonReader(Reader in); static AwsJsonWriter getJsonWriter(Writer out); @SuppressWarnings("unchecked") static Map<String, String> jsonToMap(Reader in); @SuppressWarnings("unchecked") static Map<String, String> jsonToMap(String json); static String mapToString(Map<String, String> map); } | @Test public void testJsonWriter() throws IOException { StringWriter out = new StringWriter(); AwsJsonWriter writer = JsonUtils.getJsonWriter(out); writer.beginObject() .name("string").value("string") .name("long").value(123) .name("double").value(123.45) .name("null").value() .name("true").value(true) .name("false").value(false) .name("encoding").value("Chloë") .name("array").beginArray() .value("string").value(123).value(123.45).value().value(true).value(false) .endArray() .name("object").beginObject().endObject() .endObject().close(); String json = out.toString(); assertEquals("same json", JSON_STRING, json); } |
PeriodicRateGenerator implements RateGenerator { @Override public double getRate(long time) { double valueInPeriod = normalizeValue(time); double result = rateFunction(valueInPeriod); LOGGER.trace("rateFunction returned: {} for value: {}", result, valueInPeriod); return result < 0 ? 0d : result; } PeriodicRateGenerator(long periodInSeconds); @Override double getRate(long time); } | @Test public void rate_should_return_1_when_period_is_100_and_time_is_201() { ConcretePeriodicRateGenerator periodicRateGenerator = new ConcretePeriodicRateGenerator(100); double rate = periodicRateGenerator.getRate(TimeUnit.SECONDS.toNanos(201)); Assert.assertEquals(1d, rate, DELTA); }
@Test public void rate_should_return_0_when_period_is_50_and_time_is_150() { ConcretePeriodicRateGenerator periodicRateGenerator = new ConcretePeriodicRateGenerator(50); double rate = periodicRateGenerator.getRate(TimeUnit.SECONDS.toNanos(150)); Assert.assertEquals(0d, rate, DELTA); }
@Test public void rate_should_return_60_when_period_is_10_and_time_is_16() { ConcretePeriodicRateGenerator periodicRateGenerator = new ConcretePeriodicRateGenerator(10); double rate = periodicRateGenerator.getRate(TimeUnit.SECONDS.toNanos(16)); Assert.assertEquals(60d, rate, DELTA); }
@Test public void rate_should_return_99_when_period_is_100_and_time_is_399() { ConcretePeriodicRateGenerator periodicRateGenerator = new ConcretePeriodicRateGenerator(100); double rate = periodicRateGenerator.getRate(TimeUnit.SECONDS.toNanos(399)); Assert.assertEquals(99d, rate, DELTA); } |
LoadGenerator { public void run() { try { checkState(); LOGGER.info("Load generator started."); long beginning = System.nanoTime(); long previous = beginning; infiniteWhile: while (true) { if (terminate.get()) { LOGGER.info("Termination signal detected. Terminating load generator..."); break; } long now = System.nanoTime(); long fromBeginning = now - beginning; long elapsed = now - previous; double rate = rateGenerator.getRate(fromBeginning); long normalizedRate = normalizeRate(elapsed, rate); if (normalizedRate > 0) { previous += calculateConsumedTime(normalizedRate, rate); } for (int i = 0; i < normalizedRate; i++) { if (!dataSource.hasNext(fromBeginning)) { LOGGER.info("Reached end of data source. Terminating load generator..."); terminate.set(true); break infiniteWhile; } T data = dataSource.getNext(fromBeginning); worker.accept(data); } } LOGGER.info("Load generator terminated."); } catch (Exception e) { LOGGER.error("Terminating load generator due to error. Error: ", e); } } LoadGenerator(DataSource<T> dataSource, RateGenerator rateGenerator, Consumer<T> worker); void run(); void terminate(); } | @Test(timeout = DEFAULT_TEST_TIMEOUT) public void loadGenerator_should_be_terminated_when_dataSource_has_no_next_element() { LoadGenerator<Integer> loadGenerator = new LoadGenerator<>(new DataSource<Integer>() { @Override public boolean hasNext(long time) { return false; } @Override public Integer getNext(long time) { return 123; } }, new ConstantRateGenerator(1000), (x) -> { }); loadGenerator.run(); } |
LinkedEvictingBlockingQueue { public T take() throws InterruptedException { final ReentrantLock lock = this.lock; lock.lock(); try { T x; while ((x = unlinkFromHead()) == null) notEmpty.await(); return x; } finally { lock.unlock(); } } LinkedEvictingBlockingQueue(); LinkedEvictingBlockingQueue(boolean dropFromHead); LinkedEvictingBlockingQueue(boolean dropFromHead, int capacity); T put(T e); T take(); int size(); } | @Test(timeout = 2000) public void should_not_take_value_from_queue_when_value_is_not_put() throws InterruptedException { LinkedEvictingBlockingQueue<Integer> queue = new LinkedEvictingBlockingQueue<>(); Thread takeFromQueueThread = newStartedThread(() -> { try { queue.take(); } catch (InterruptedException e) { } }); Thread.sleep(1000); Assert.assertTrue(takeFromQueueThread.isAlive()); takeFromQueueThread.interrupt(); } |
InternalWorker implements Consumer<T>, AutoCloseable { @Override public void close() throws Exception { if (!closed) { threadPoolExecutor.shutdownNow(); closed = true; } } InternalWorker(Worker<T> delegate, int queueCapacity); InternalWorker(Worker<T> delegate, int queueCapacity, boolean dropFromHead); InternalWorker(Worker<T> delegate, int queueCapacity, boolean dropFromHead, String metricsPrefix); InternalWorker(Worker<T> delegate, int queueCapacity, boolean dropFromHead, String metricsPrefix,
int threadCount); InternalWorker(Worker<T> delegate, int queueCapacity, boolean dropFromHead, String metricsPrefix,
int threadCount, ThreadFactory threadFactory); @Override void accept(T message); @Override void close(); MetricRegistry getMetricRegistry(); } | @Test(timeout = 3000) public void should_not_block_thread_when_delegate_of_asyncWorker_is_blocking() throws Exception { RateGenerator rg = new ConstantRateGenerator(10); Object lock = new Object(); AtomicInteger delegateInvokeCount = new AtomicInteger(); Worker<Integer> delegate = (x, y, z) -> { synchronized (lock) { delegateInvokeCount.incrementAndGet(); } }; DataSource<Integer> ds = new DataSource<Integer>() { private int i = 0; @Override public boolean hasNext(long time) { return i < 10; } @Override public Integer getNext(long time) { return i++; } }; InternalWorker<Integer> w = new InternalWorker<>(delegate, 4, true, null, 4); LoadGenerator<Integer> lg = new LoadGenerator<>(ds, rg, w); synchronized (lock) { lg.run(); } w.close(); }
@Test(timeout = 3000) public void should_drop_packet_from_head_of_the_queue_when_queue_is_full_and_dropFromHead_is_true() throws Exception { RateGenerator rg = new ConstantRateGenerator(10); CountDownLatch countDownLatch = new CountDownLatch(6); CountDownLatch dsCountDownLatch = new CountDownLatch(3); Object lock = new Object(); AtomicInteger delegateInvokeCount = new AtomicInteger(); Worker<Integer> delegate = (x, y, z) -> { dsCountDownLatch.countDown(); synchronized (lock) { delegateInvokeCount.addAndGet(x); countDownLatch.countDown(); } }; DataSource<Integer> ds = new DataSource<Integer>() { private int i = 1; @Override public boolean hasNext(long time) { return i < 10; } @Override public Integer getNext(long time) { if (i == 4) { try { dsCountDownLatch.await(); } catch (InterruptedException ignored) { } } return i++; } }; InternalWorker<Integer> w = new InternalWorker<>(delegate, 3, true, null, 3); LoadGenerator<Integer> lg = new LoadGenerator<>(ds, rg, w); synchronized (lock) { lg.run(); } countDownLatch.await(); w.close(); Assert.assertEquals(30, delegateInvokeCount.get()); }
@Test(timeout = 3000) public void should_drop_packet_from_head_of_the_queue_when_queue_is_full_and_dropFromHead_is_false() throws Exception { RateGenerator rg = new ConstantRateGenerator(10); CountDownLatch countDownLatch = new CountDownLatch(6); CountDownLatch dsCountDownLatch = new CountDownLatch(3); Object lock = new Object(); AtomicInteger delegateInvokeCount = new AtomicInteger(); Worker<Integer> delegate = (x, y, z) -> { dsCountDownLatch.countDown(); synchronized (lock) { delegateInvokeCount.addAndGet(x); countDownLatch.countDown(); } }; DataSource<Integer> ds = new DataSource<Integer>() { private int i = 1; @Override public boolean hasNext(long time) { return i < 10; } @Override public Integer getNext(long time) { if (i == 4) { try { dsCountDownLatch.await(); } catch (InterruptedException ignored) { } } return i++; } }; InternalWorker<Integer> w = new InternalWorker<>(delegate, 3, false, null, 3); LoadGenerator<Integer> lg = new LoadGenerator<>(ds, rg, w); synchronized (lock) { lg.run(); } countDownLatch.await(); w.close(); Assert.assertEquals(24, delegateInvokeCount.get()); } |
Balance { public Balance exchangeId(String exchangeId) { this.exchangeId = exchangeId; return this; } Balance exchangeId(String exchangeId); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN", value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); Balance data(List<BalanceData> data); Balance addDataItem(BalanceData dataItem); @javax.annotation.Nullable @ApiModelProperty(value = "") List<BalanceData> getData(); void setData(List<BalanceData> data); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_DATA; } | @Test public void exchangeIdTest() { } |
ValidationError { public ValidationError errors(String errors) { this.errors = errors; return this; } ValidationError type(String type); @javax.annotation.Nullable @ApiModelProperty(example = "https://tools.ietf.org/html/rfc7231#section-6.5.1", value = "") String getType(); void setType(String type); ValidationError title(String title); @javax.annotation.Nullable @ApiModelProperty(example = "One or more validation errors occurred.", value = "") String getTitle(); void setTitle(String title); ValidationError status(BigDecimal status); @javax.annotation.Nullable @ApiModelProperty(example = "400", value = "") BigDecimal getStatus(); void setStatus(BigDecimal status); ValidationError traceId(String traceId); @javax.annotation.Nullable @ApiModelProperty(example = "d200e8b5-4271a5461ce5342f", value = "") String getTraceId(); void setTraceId(String traceId); ValidationError errors(String errors); @javax.annotation.Nullable @ApiModelProperty(value = "") String getErrors(); void setErrors(String errors); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_TYPE; static final String SERIALIZED_NAME_TITLE; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_TRACE_ID; static final String SERIALIZED_NAME_ERRORS; } | @Test public void errorsTest() { } |
OrderExecutionReportAllOf { public OrderExecutionReportAllOf clientOrderIdFormatExchange(String clientOrderIdFormatExchange) { this.clientOrderIdFormatExchange = clientOrderIdFormatExchange; return this; } OrderExecutionReportAllOf clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReportAllOf exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReportAllOf amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReportAllOf amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReportAllOf avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReportAllOf status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReportAllOf statusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReportAllOf fills(List<Fills> fills); OrderExecutionReportAllOf addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void clientOrderIdFormatExchangeTest() { } |
OrderExecutionReportAllOf { public OrderExecutionReportAllOf exchangeOrderId(String exchangeOrderId) { this.exchangeOrderId = exchangeOrderId; return this; } OrderExecutionReportAllOf clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReportAllOf exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReportAllOf amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReportAllOf amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReportAllOf avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReportAllOf status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReportAllOf statusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReportAllOf fills(List<Fills> fills); OrderExecutionReportAllOf addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void exchangeOrderIdTest() { } |
OrderExecutionReportAllOf { public OrderExecutionReportAllOf amountOpen(BigDecimal amountOpen) { this.amountOpen = amountOpen; return this; } OrderExecutionReportAllOf clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReportAllOf exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReportAllOf amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReportAllOf amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReportAllOf avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReportAllOf status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReportAllOf statusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReportAllOf fills(List<Fills> fills); OrderExecutionReportAllOf addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void amountOpenTest() { } |
OrderExecutionReportAllOf { public OrderExecutionReportAllOf amountFilled(BigDecimal amountFilled) { this.amountFilled = amountFilled; return this; } OrderExecutionReportAllOf clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReportAllOf exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReportAllOf amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReportAllOf amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReportAllOf avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReportAllOf status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReportAllOf statusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReportAllOf fills(List<Fills> fills); OrderExecutionReportAllOf addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void amountFilledTest() { } |
OrderExecutionReportAllOf { public OrderExecutionReportAllOf avgPx(BigDecimal avgPx) { this.avgPx = avgPx; return this; } OrderExecutionReportAllOf clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReportAllOf exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReportAllOf amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReportAllOf amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReportAllOf avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReportAllOf status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReportAllOf statusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReportAllOf fills(List<Fills> fills); OrderExecutionReportAllOf addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void avgPxTest() { } |
OrderExecutionReportAllOf { public OrderExecutionReportAllOf status(OrdStatus status) { this.status = status; return this; } OrderExecutionReportAllOf clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReportAllOf exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReportAllOf amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReportAllOf amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReportAllOf avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReportAllOf status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReportAllOf statusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReportAllOf fills(List<Fills> fills); OrderExecutionReportAllOf addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void statusTest() { } |
OrderExecutionReportAllOf { public OrderExecutionReportAllOf statusHistory(List<List<String>> statusHistory) { this.statusHistory = statusHistory; return this; } OrderExecutionReportAllOf clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReportAllOf exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReportAllOf amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReportAllOf amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReportAllOf avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReportAllOf status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReportAllOf statusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReportAllOf fills(List<Fills> fills); OrderExecutionReportAllOf addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void statusHistoryTest() { } |
OrderExecutionReportAllOf { public OrderExecutionReportAllOf errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } OrderExecutionReportAllOf clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReportAllOf exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReportAllOf amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReportAllOf amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReportAllOf avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReportAllOf status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReportAllOf statusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReportAllOf fills(List<Fills> fills); OrderExecutionReportAllOf addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void errorMessageTest() { } |
OrderExecutionReportAllOf { public OrderExecutionReportAllOf fills(List<Fills> fills) { this.fills = fills; return this; } OrderExecutionReportAllOf clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReportAllOf exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReportAllOf amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReportAllOf amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReportAllOf avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReportAllOf status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReportAllOf statusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReportAllOf errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReportAllOf fills(List<Fills> fills); OrderExecutionReportAllOf addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void fillsTest() { } |
Balance { public Balance data(List<BalanceData> data) { this.data = data; return this; } Balance exchangeId(String exchangeId); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN", value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); Balance data(List<BalanceData> data); Balance addDataItem(BalanceData dataItem); @javax.annotation.Nullable @ApiModelProperty(value = "") List<BalanceData> getData(); void setData(List<BalanceData> data); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_DATA; } | @Test public void dataTest() { } |
OrderNewSingleRequest { public OrderNewSingleRequest exchangeId(String exchangeId) { this.exchangeId = exchangeId; return this; } OrderNewSingleRequest exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderNewSingleRequest clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderNewSingleRequest symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderNewSingleRequest symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderNewSingleRequest amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderNewSingleRequest price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderNewSingleRequest side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderNewSingleRequest orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderNewSingleRequest timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderNewSingleRequest expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderNewSingleRequest execInst(List<ExecInstEnum> execInst); OrderNewSingleRequest addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; } | @Test public void exchangeIdTest() { } |
OrderNewSingleRequest { public OrderNewSingleRequest clientOrderId(String clientOrderId) { this.clientOrderId = clientOrderId; return this; } OrderNewSingleRequest exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderNewSingleRequest clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderNewSingleRequest symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderNewSingleRequest symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderNewSingleRequest amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderNewSingleRequest price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderNewSingleRequest side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderNewSingleRequest orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderNewSingleRequest timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderNewSingleRequest expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderNewSingleRequest execInst(List<ExecInstEnum> execInst); OrderNewSingleRequest addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; } | @Test public void clientOrderIdTest() { } |
OrderNewSingleRequest { public OrderNewSingleRequest symbolIdExchange(String symbolIdExchange) { this.symbolIdExchange = symbolIdExchange; return this; } OrderNewSingleRequest exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderNewSingleRequest clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderNewSingleRequest symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderNewSingleRequest symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderNewSingleRequest amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderNewSingleRequest price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderNewSingleRequest side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderNewSingleRequest orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderNewSingleRequest timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderNewSingleRequest expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderNewSingleRequest execInst(List<ExecInstEnum> execInst); OrderNewSingleRequest addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; } | @Test public void symbolIdExchangeTest() { } |
OrderNewSingleRequest { public OrderNewSingleRequest symbolIdCoinapi(String symbolIdCoinapi) { this.symbolIdCoinapi = symbolIdCoinapi; return this; } OrderNewSingleRequest exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderNewSingleRequest clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderNewSingleRequest symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderNewSingleRequest symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderNewSingleRequest amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderNewSingleRequest price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderNewSingleRequest side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderNewSingleRequest orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderNewSingleRequest timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderNewSingleRequest expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderNewSingleRequest execInst(List<ExecInstEnum> execInst); OrderNewSingleRequest addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; } | @Test public void symbolIdCoinapiTest() { } |
OrderNewSingleRequest { public OrderNewSingleRequest amountOrder(BigDecimal amountOrder) { this.amountOrder = amountOrder; return this; } OrderNewSingleRequest exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderNewSingleRequest clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderNewSingleRequest symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderNewSingleRequest symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderNewSingleRequest amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderNewSingleRequest price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderNewSingleRequest side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderNewSingleRequest orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderNewSingleRequest timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderNewSingleRequest expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderNewSingleRequest execInst(List<ExecInstEnum> execInst); OrderNewSingleRequest addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; } | @Test public void amountOrderTest() { } |
OrderNewSingleRequest { public OrderNewSingleRequest price(BigDecimal price) { this.price = price; return this; } OrderNewSingleRequest exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderNewSingleRequest clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderNewSingleRequest symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderNewSingleRequest symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderNewSingleRequest amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderNewSingleRequest price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderNewSingleRequest side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderNewSingleRequest orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderNewSingleRequest timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderNewSingleRequest expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderNewSingleRequest execInst(List<ExecInstEnum> execInst); OrderNewSingleRequest addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; } | @Test public void priceTest() { } |
OrderNewSingleRequest { public OrderNewSingleRequest side(OrdSide side) { this.side = side; return this; } OrderNewSingleRequest exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderNewSingleRequest clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderNewSingleRequest symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderNewSingleRequest symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderNewSingleRequest amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderNewSingleRequest price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderNewSingleRequest side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderNewSingleRequest orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderNewSingleRequest timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderNewSingleRequest expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderNewSingleRequest execInst(List<ExecInstEnum> execInst); OrderNewSingleRequest addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; } | @Test public void sideTest() { } |
OrderNewSingleRequest { public OrderNewSingleRequest orderType(OrdType orderType) { this.orderType = orderType; return this; } OrderNewSingleRequest exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderNewSingleRequest clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderNewSingleRequest symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderNewSingleRequest symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderNewSingleRequest amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderNewSingleRequest price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderNewSingleRequest side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderNewSingleRequest orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderNewSingleRequest timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderNewSingleRequest expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderNewSingleRequest execInst(List<ExecInstEnum> execInst); OrderNewSingleRequest addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; } | @Test public void orderTypeTest() { } |
OrderNewSingleRequest { public OrderNewSingleRequest timeInForce(TimeInForce timeInForce) { this.timeInForce = timeInForce; return this; } OrderNewSingleRequest exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderNewSingleRequest clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderNewSingleRequest symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderNewSingleRequest symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderNewSingleRequest amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderNewSingleRequest price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderNewSingleRequest side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderNewSingleRequest orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderNewSingleRequest timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderNewSingleRequest expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderNewSingleRequest execInst(List<ExecInstEnum> execInst); OrderNewSingleRequest addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; } | @Test public void timeInForceTest() { } |
OrderNewSingleRequest { public OrderNewSingleRequest expireTime(LocalDate expireTime) { this.expireTime = expireTime; return this; } OrderNewSingleRequest exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderNewSingleRequest clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderNewSingleRequest symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderNewSingleRequest symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderNewSingleRequest amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderNewSingleRequest price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderNewSingleRequest side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderNewSingleRequest orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderNewSingleRequest timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderNewSingleRequest expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderNewSingleRequest execInst(List<ExecInstEnum> execInst); OrderNewSingleRequest addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; } | @Test public void expireTimeTest() { } |
OrderCancelAllRequest { public OrderCancelAllRequest exchangeId(String exchangeId) { this.exchangeId = exchangeId; return this; } OrderCancelAllRequest exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Identifier of the exchange from which active orders should be canceled.") String getExchangeId(); void setExchangeId(String exchangeId); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; } | @Test public void exchangeIdTest() { } |
OrderNewSingleRequest { public OrderNewSingleRequest execInst(List<ExecInstEnum> execInst) { this.execInst = execInst; return this; } OrderNewSingleRequest exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderNewSingleRequest clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderNewSingleRequest symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderNewSingleRequest symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderNewSingleRequest amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderNewSingleRequest price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderNewSingleRequest side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderNewSingleRequest orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderNewSingleRequest timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderNewSingleRequest expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderNewSingleRequest execInst(List<ExecInstEnum> execInst); OrderNewSingleRequest addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; } | @Test public void execInstTest() { } |
Fills { public Fills time(LocalDate time) { this.time = time; return this; } Fills time(LocalDate time); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Execution time.") LocalDate getTime(); void setTime(LocalDate time); Fills price(BigDecimal price); @javax.annotation.Nullable @ApiModelProperty(example = "10799.2", value = "Execution price.") BigDecimal getPrice(); void setPrice(BigDecimal price); Fills amount(BigDecimal amount); @javax.annotation.Nullable @ApiModelProperty(example = "0.002", value = "Executed quantity.") BigDecimal getAmount(); void setAmount(BigDecimal amount); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_TIME; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_AMOUNT; } | @Test public void timeTest() { } |
Fills { public Fills price(BigDecimal price) { this.price = price; return this; } Fills time(LocalDate time); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Execution time.") LocalDate getTime(); void setTime(LocalDate time); Fills price(BigDecimal price); @javax.annotation.Nullable @ApiModelProperty(example = "10799.2", value = "Execution price.") BigDecimal getPrice(); void setPrice(BigDecimal price); Fills amount(BigDecimal amount); @javax.annotation.Nullable @ApiModelProperty(example = "0.002", value = "Executed quantity.") BigDecimal getAmount(); void setAmount(BigDecimal amount); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_TIME; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_AMOUNT; } | @Test public void priceTest() { } |
Fills { public Fills amount(BigDecimal amount) { this.amount = amount; return this; } Fills time(LocalDate time); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Execution time.") LocalDate getTime(); void setTime(LocalDate time); Fills price(BigDecimal price); @javax.annotation.Nullable @ApiModelProperty(example = "10799.2", value = "Execution price.") BigDecimal getPrice(); void setPrice(BigDecimal price); Fills amount(BigDecimal amount); @javax.annotation.Nullable @ApiModelProperty(example = "0.002", value = "Executed quantity.") BigDecimal getAmount(); void setAmount(BigDecimal amount); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_TIME; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_AMOUNT; } | @Test public void amountTest() { } |
OrderExecutionReport { public OrderExecutionReport exchangeId(String exchangeId) { this.exchangeId = exchangeId; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void exchangeIdTest() { } |
OrderExecutionReport { public OrderExecutionReport clientOrderId(String clientOrderId) { this.clientOrderId = clientOrderId; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void clientOrderIdTest() { } |
OrderExecutionReport { public OrderExecutionReport symbolIdExchange(String symbolIdExchange) { this.symbolIdExchange = symbolIdExchange; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void symbolIdExchangeTest() { } |
OrderExecutionReport { public OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi) { this.symbolIdCoinapi = symbolIdCoinapi; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void symbolIdCoinapiTest() { } |
OrderExecutionReport { public OrderExecutionReport amountOrder(BigDecimal amountOrder) { this.amountOrder = amountOrder; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void amountOrderTest() { } |
OrderExecutionReport { public OrderExecutionReport price(BigDecimal price) { this.price = price; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void priceTest() { } |
OrderCancelSingleRequest { public OrderCancelSingleRequest exchangeId(String exchangeId) { this.exchangeId = exchangeId; return this; } OrderCancelSingleRequest exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderCancelSingleRequest exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system. One of the properties (`exchange_order_id`, `client_order_id`) is required to identify the new order.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderCancelSingleRequest clientOrderId(String clientOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", value = "The unique identifier of the order assigned by the client. One of the properties (`exchange_order_id`, `client_order_id`) is required to identify the new order.") String getClientOrderId(); void setClientOrderId(String clientOrderId); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; } | @Test public void exchangeIdTest() { } |
OrderExecutionReport { public OrderExecutionReport side(OrdSide side) { this.side = side; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void sideTest() { } |
OrderExecutionReport { public OrderExecutionReport orderType(OrdType orderType) { this.orderType = orderType; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void orderTypeTest() { } |
OrderExecutionReport { public OrderExecutionReport timeInForce(TimeInForce timeInForce) { this.timeInForce = timeInForce; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void timeInForceTest() { } |
OrderExecutionReport { public OrderExecutionReport expireTime(LocalDate expireTime) { this.expireTime = expireTime; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void expireTimeTest() { } |
OrderExecutionReport { public OrderExecutionReport execInst(List<ExecInstEnum> execInst) { this.execInst = execInst; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void execInstTest() { } |
OrderExecutionReport { public OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange) { this.clientOrderIdFormatExchange = clientOrderIdFormatExchange; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void clientOrderIdFormatExchangeTest() { } |
OrderExecutionReport { public OrderExecutionReport exchangeOrderId(String exchangeOrderId) { this.exchangeOrderId = exchangeOrderId; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void exchangeOrderIdTest() { } |
OrderExecutionReport { public OrderExecutionReport amountOpen(BigDecimal amountOpen) { this.amountOpen = amountOpen; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void amountOpenTest() { } |
OrderExecutionReport { public OrderExecutionReport amountFilled(BigDecimal amountFilled) { this.amountFilled = amountFilled; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void amountFilledTest() { } |
OrderExecutionReport { public OrderExecutionReport avgPx(BigDecimal avgPx) { this.avgPx = avgPx; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void avgPxTest() { } |
OrderCancelSingleRequest { public OrderCancelSingleRequest exchangeOrderId(String exchangeOrderId) { this.exchangeOrderId = exchangeOrderId; return this; } OrderCancelSingleRequest exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderCancelSingleRequest exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system. One of the properties (`exchange_order_id`, `client_order_id`) is required to identify the new order.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderCancelSingleRequest clientOrderId(String clientOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", value = "The unique identifier of the order assigned by the client. One of the properties (`exchange_order_id`, `client_order_id`) is required to identify the new order.") String getClientOrderId(); void setClientOrderId(String clientOrderId); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; } | @Test public void exchangeOrderIdTest() { } |
OrderExecutionReport { public OrderExecutionReport status(OrdStatus status) { this.status = status; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void statusTest() { } |
OrderExecutionReport { public OrderExecutionReport statusHistory(List<List<String>> statusHistory) { this.statusHistory = statusHistory; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void statusHistoryTest() { } |
OrderExecutionReport { public OrderExecutionReport errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void errorMessageTest() { } |
OrderExecutionReport { public OrderExecutionReport fills(List<Fills> fills) { this.fills = fills; return this; } OrderExecutionReport exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderExecutionReport clientOrderId(String clientOrderId); @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", required = true, value = "The unique identifier of the order assigned by the client.") String getClientOrderId(); void setClientOrderId(String clientOrderId); OrderExecutionReport symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT/USDT", value = "Exchange symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); OrderExecutionReport symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN_SPOT_BTC_USDT", value = "CoinAPI symbol. One of the properties (`symbol_id_exchange`, `symbol_id_coinapi`) is required to identify the market for the new order.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); OrderExecutionReport amountOrder(BigDecimal amountOrder); @ApiModelProperty(example = "0.045", required = true, value = "Order quantity.") BigDecimal getAmountOrder(); void setAmountOrder(BigDecimal amountOrder); OrderExecutionReport price(BigDecimal price); @ApiModelProperty(example = "0.0783", required = true, value = "Order price.") BigDecimal getPrice(); void setPrice(BigDecimal price); OrderExecutionReport side(OrdSide side); @ApiModelProperty(required = true, value = "") OrdSide getSide(); void setSide(OrdSide side); OrderExecutionReport orderType(OrdType orderType); @ApiModelProperty(required = true, value = "") OrdType getOrderType(); void setOrderType(OrdType orderType); OrderExecutionReport timeInForce(TimeInForce timeInForce); @ApiModelProperty(required = true, value = "") TimeInForce getTimeInForce(); void setTimeInForce(TimeInForce timeInForce); OrderExecutionReport expireTime(LocalDate expireTime); @javax.annotation.Nullable @ApiModelProperty(example = "2020-01-01T10:45:20.1677709Z", value = "Expiration time. Conditionaly required for orders with time_in_force = `GOOD_TILL_TIME_EXCHANGE` or `GOOD_TILL_TIME_OEML`.") LocalDate getExpireTime(); void setExpireTime(LocalDate expireTime); OrderExecutionReport execInst(List<ExecInstEnum> execInst); OrderExecutionReport addExecInstItem(ExecInstEnum execInstItem); @javax.annotation.Nullable @ApiModelProperty(example = "[\"MAKER_OR_CANCEL\"]", value = "Order execution instructions are documented in the separate section: <a href=\"#oeml-order-params-exec\">OEML / Starter Guide / Order parameters / Execution instructions</a> ") List<ExecInstEnum> getExecInst(); void setExecInst(List<ExecInstEnum> execInst); OrderExecutionReport clientOrderIdFormatExchange(String clientOrderIdFormatExchange); @ApiModelProperty(example = "f81211e2-27c4-b86a-8143-01088ba9222c", required = true, value = "The unique identifier of the order assigned by the client converted to the exchange order tag format for the purpose of tracking it.") String getClientOrderIdFormatExchange(); void setClientOrderIdFormatExchange(String clientOrderIdFormatExchange); OrderExecutionReport exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderExecutionReport amountOpen(BigDecimal amountOpen); @ApiModelProperty(example = "0.22", required = true, value = "Quantity open for further execution. `amount_open` = `amount_order` - `amount_filled`") BigDecimal getAmountOpen(); void setAmountOpen(BigDecimal amountOpen); OrderExecutionReport amountFilled(BigDecimal amountFilled); @ApiModelProperty(example = "0.0", required = true, value = "Total quantity filled.") BigDecimal getAmountFilled(); void setAmountFilled(BigDecimal amountFilled); OrderExecutionReport avgPx(BigDecimal avgPx); @javax.annotation.Nullable @ApiModelProperty(example = "0.0783", value = "Calculated average price of all fills on this order.") BigDecimal getAvgPx(); void setAvgPx(BigDecimal avgPx); OrderExecutionReport status(OrdStatus status); @ApiModelProperty(required = true, value = "") OrdStatus getStatus(); void setStatus(OrdStatus status); OrderExecutionReport statusHistory(List<List<String>> statusHistory); OrderExecutionReport addStatusHistoryItem(List<String> statusHistoryItem); @javax.annotation.Nullable @ApiModelProperty(value = "Timestamped history of order status changes.") List<List<String>> getStatusHistory(); void setStatusHistory(List<List<String>> statusHistory); OrderExecutionReport errorMessage(String errorMessage); @javax.annotation.Nullable @ApiModelProperty(example = "{\"result\":\"error\",\"reason\":\"InsufficientFunds\",\"message\":\"Failed to place buy order on symbol 'BTCUSD' for price $7,000.00 and quantity 0.22 BTC due to insufficient funds\"}", value = "Error message.") String getErrorMessage(); void setErrorMessage(String errorMessage); OrderExecutionReport fills(List<Fills> fills); OrderExecutionReport addFillsItem(Fills fillsItem); @javax.annotation.Nullable @ApiModelProperty(value = "Relay fill information on working orders.") List<Fills> getFills(); void setFills(List<Fills> fills); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AMOUNT_ORDER; static final String SERIALIZED_NAME_PRICE; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_ORDER_TYPE; static final String SERIALIZED_NAME_TIME_IN_FORCE; static final String SERIALIZED_NAME_EXPIRE_TIME; static final String SERIALIZED_NAME_EXEC_INST; static final String SERIALIZED_NAME_CLIENT_ORDER_ID_FORMAT_EXCHANGE; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_AMOUNT_OPEN; static final String SERIALIZED_NAME_AMOUNT_FILLED; static final String SERIALIZED_NAME_AVG_PX; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_STATUS_HISTORY; static final String SERIALIZED_NAME_ERROR_MESSAGE; static final String SERIALIZED_NAME_FILLS; } | @Test public void fillsTest() { } |
BalanceData { public BalanceData assetIdExchange(String assetIdExchange) { this.assetIdExchange = assetIdExchange; return this; } BalanceData assetIdExchange(String assetIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT", value = "Exchange currency code.") String getAssetIdExchange(); void setAssetIdExchange(String assetIdExchange); BalanceData assetIdCoinapi(String assetIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BTC", value = "CoinAPI currency code.") String getAssetIdCoinapi(); void setAssetIdCoinapi(String assetIdCoinapi); BalanceData balance(Float balance); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current total currency balance on the exchange.") Float getBalance(); void setBalance(Float balance); BalanceData available(Float available); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current available currency balance on the exchange that can be used as collateral.") Float getAvailable(); void setAvailable(Float available); BalanceData locked(Float locked); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Value of the current locked currency balance by the exchange.") Float getLocked(); void setLocked(Float locked); BalanceData lastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); @javax.annotation.Nullable @ApiModelProperty(example = "EXCHANGE", value = "Source of the last modification. ") LastUpdatedByEnum getLastUpdatedBy(); void setLastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); BalanceData rateUsd(Float rateUsd); @javax.annotation.Nullable @ApiModelProperty(example = "1355.12", value = "Current exchange rate to the USD for the single unit of the currency. ") Float getRateUsd(); void setRateUsd(Float rateUsd); BalanceData traded(Float traded); @javax.annotation.Nullable @ApiModelProperty(example = "0.007", value = "Value of the current total traded.") Float getTraded(); void setTraded(Float traded); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_ASSET_ID_EXCHANGE; static final String SERIALIZED_NAME_ASSET_ID_COINAPI; static final String SERIALIZED_NAME_BALANCE; static final String SERIALIZED_NAME_AVAILABLE; static final String SERIALIZED_NAME_LOCKED; static final String SERIALIZED_NAME_LAST_UPDATED_BY; static final String SERIALIZED_NAME_RATE_USD; static final String SERIALIZED_NAME_TRADED; } | @Test public void assetIdExchangeTest() { } |
BalanceData { public BalanceData assetIdCoinapi(String assetIdCoinapi) { this.assetIdCoinapi = assetIdCoinapi; return this; } BalanceData assetIdExchange(String assetIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT", value = "Exchange currency code.") String getAssetIdExchange(); void setAssetIdExchange(String assetIdExchange); BalanceData assetIdCoinapi(String assetIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BTC", value = "CoinAPI currency code.") String getAssetIdCoinapi(); void setAssetIdCoinapi(String assetIdCoinapi); BalanceData balance(Float balance); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current total currency balance on the exchange.") Float getBalance(); void setBalance(Float balance); BalanceData available(Float available); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current available currency balance on the exchange that can be used as collateral.") Float getAvailable(); void setAvailable(Float available); BalanceData locked(Float locked); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Value of the current locked currency balance by the exchange.") Float getLocked(); void setLocked(Float locked); BalanceData lastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); @javax.annotation.Nullable @ApiModelProperty(example = "EXCHANGE", value = "Source of the last modification. ") LastUpdatedByEnum getLastUpdatedBy(); void setLastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); BalanceData rateUsd(Float rateUsd); @javax.annotation.Nullable @ApiModelProperty(example = "1355.12", value = "Current exchange rate to the USD for the single unit of the currency. ") Float getRateUsd(); void setRateUsd(Float rateUsd); BalanceData traded(Float traded); @javax.annotation.Nullable @ApiModelProperty(example = "0.007", value = "Value of the current total traded.") Float getTraded(); void setTraded(Float traded); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_ASSET_ID_EXCHANGE; static final String SERIALIZED_NAME_ASSET_ID_COINAPI; static final String SERIALIZED_NAME_BALANCE; static final String SERIALIZED_NAME_AVAILABLE; static final String SERIALIZED_NAME_LOCKED; static final String SERIALIZED_NAME_LAST_UPDATED_BY; static final String SERIALIZED_NAME_RATE_USD; static final String SERIALIZED_NAME_TRADED; } | @Test public void assetIdCoinapiTest() { } |
BalanceData { public BalanceData balance(Float balance) { this.balance = balance; return this; } BalanceData assetIdExchange(String assetIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT", value = "Exchange currency code.") String getAssetIdExchange(); void setAssetIdExchange(String assetIdExchange); BalanceData assetIdCoinapi(String assetIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BTC", value = "CoinAPI currency code.") String getAssetIdCoinapi(); void setAssetIdCoinapi(String assetIdCoinapi); BalanceData balance(Float balance); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current total currency balance on the exchange.") Float getBalance(); void setBalance(Float balance); BalanceData available(Float available); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current available currency balance on the exchange that can be used as collateral.") Float getAvailable(); void setAvailable(Float available); BalanceData locked(Float locked); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Value of the current locked currency balance by the exchange.") Float getLocked(); void setLocked(Float locked); BalanceData lastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); @javax.annotation.Nullable @ApiModelProperty(example = "EXCHANGE", value = "Source of the last modification. ") LastUpdatedByEnum getLastUpdatedBy(); void setLastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); BalanceData rateUsd(Float rateUsd); @javax.annotation.Nullable @ApiModelProperty(example = "1355.12", value = "Current exchange rate to the USD for the single unit of the currency. ") Float getRateUsd(); void setRateUsd(Float rateUsd); BalanceData traded(Float traded); @javax.annotation.Nullable @ApiModelProperty(example = "0.007", value = "Value of the current total traded.") Float getTraded(); void setTraded(Float traded); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_ASSET_ID_EXCHANGE; static final String SERIALIZED_NAME_ASSET_ID_COINAPI; static final String SERIALIZED_NAME_BALANCE; static final String SERIALIZED_NAME_AVAILABLE; static final String SERIALIZED_NAME_LOCKED; static final String SERIALIZED_NAME_LAST_UPDATED_BY; static final String SERIALIZED_NAME_RATE_USD; static final String SERIALIZED_NAME_TRADED; } | @Test public void balanceTest() { } |
BalanceData { public BalanceData available(Float available) { this.available = available; return this; } BalanceData assetIdExchange(String assetIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT", value = "Exchange currency code.") String getAssetIdExchange(); void setAssetIdExchange(String assetIdExchange); BalanceData assetIdCoinapi(String assetIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BTC", value = "CoinAPI currency code.") String getAssetIdCoinapi(); void setAssetIdCoinapi(String assetIdCoinapi); BalanceData balance(Float balance); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current total currency balance on the exchange.") Float getBalance(); void setBalance(Float balance); BalanceData available(Float available); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current available currency balance on the exchange that can be used as collateral.") Float getAvailable(); void setAvailable(Float available); BalanceData locked(Float locked); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Value of the current locked currency balance by the exchange.") Float getLocked(); void setLocked(Float locked); BalanceData lastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); @javax.annotation.Nullable @ApiModelProperty(example = "EXCHANGE", value = "Source of the last modification. ") LastUpdatedByEnum getLastUpdatedBy(); void setLastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); BalanceData rateUsd(Float rateUsd); @javax.annotation.Nullable @ApiModelProperty(example = "1355.12", value = "Current exchange rate to the USD for the single unit of the currency. ") Float getRateUsd(); void setRateUsd(Float rateUsd); BalanceData traded(Float traded); @javax.annotation.Nullable @ApiModelProperty(example = "0.007", value = "Value of the current total traded.") Float getTraded(); void setTraded(Float traded); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_ASSET_ID_EXCHANGE; static final String SERIALIZED_NAME_ASSET_ID_COINAPI; static final String SERIALIZED_NAME_BALANCE; static final String SERIALIZED_NAME_AVAILABLE; static final String SERIALIZED_NAME_LOCKED; static final String SERIALIZED_NAME_LAST_UPDATED_BY; static final String SERIALIZED_NAME_RATE_USD; static final String SERIALIZED_NAME_TRADED; } | @Test public void availableTest() { } |
BalanceData { public BalanceData locked(Float locked) { this.locked = locked; return this; } BalanceData assetIdExchange(String assetIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT", value = "Exchange currency code.") String getAssetIdExchange(); void setAssetIdExchange(String assetIdExchange); BalanceData assetIdCoinapi(String assetIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BTC", value = "CoinAPI currency code.") String getAssetIdCoinapi(); void setAssetIdCoinapi(String assetIdCoinapi); BalanceData balance(Float balance); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current total currency balance on the exchange.") Float getBalance(); void setBalance(Float balance); BalanceData available(Float available); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current available currency balance on the exchange that can be used as collateral.") Float getAvailable(); void setAvailable(Float available); BalanceData locked(Float locked); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Value of the current locked currency balance by the exchange.") Float getLocked(); void setLocked(Float locked); BalanceData lastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); @javax.annotation.Nullable @ApiModelProperty(example = "EXCHANGE", value = "Source of the last modification. ") LastUpdatedByEnum getLastUpdatedBy(); void setLastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); BalanceData rateUsd(Float rateUsd); @javax.annotation.Nullable @ApiModelProperty(example = "1355.12", value = "Current exchange rate to the USD for the single unit of the currency. ") Float getRateUsd(); void setRateUsd(Float rateUsd); BalanceData traded(Float traded); @javax.annotation.Nullable @ApiModelProperty(example = "0.007", value = "Value of the current total traded.") Float getTraded(); void setTraded(Float traded); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_ASSET_ID_EXCHANGE; static final String SERIALIZED_NAME_ASSET_ID_COINAPI; static final String SERIALIZED_NAME_BALANCE; static final String SERIALIZED_NAME_AVAILABLE; static final String SERIALIZED_NAME_LOCKED; static final String SERIALIZED_NAME_LAST_UPDATED_BY; static final String SERIALIZED_NAME_RATE_USD; static final String SERIALIZED_NAME_TRADED; } | @Test public void lockedTest() { } |
BalanceData { public BalanceData lastUpdatedBy(LastUpdatedByEnum lastUpdatedBy) { this.lastUpdatedBy = lastUpdatedBy; return this; } BalanceData assetIdExchange(String assetIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT", value = "Exchange currency code.") String getAssetIdExchange(); void setAssetIdExchange(String assetIdExchange); BalanceData assetIdCoinapi(String assetIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BTC", value = "CoinAPI currency code.") String getAssetIdCoinapi(); void setAssetIdCoinapi(String assetIdCoinapi); BalanceData balance(Float balance); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current total currency balance on the exchange.") Float getBalance(); void setBalance(Float balance); BalanceData available(Float available); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current available currency balance on the exchange that can be used as collateral.") Float getAvailable(); void setAvailable(Float available); BalanceData locked(Float locked); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Value of the current locked currency balance by the exchange.") Float getLocked(); void setLocked(Float locked); BalanceData lastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); @javax.annotation.Nullable @ApiModelProperty(example = "EXCHANGE", value = "Source of the last modification. ") LastUpdatedByEnum getLastUpdatedBy(); void setLastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); BalanceData rateUsd(Float rateUsd); @javax.annotation.Nullable @ApiModelProperty(example = "1355.12", value = "Current exchange rate to the USD for the single unit of the currency. ") Float getRateUsd(); void setRateUsd(Float rateUsd); BalanceData traded(Float traded); @javax.annotation.Nullable @ApiModelProperty(example = "0.007", value = "Value of the current total traded.") Float getTraded(); void setTraded(Float traded); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_ASSET_ID_EXCHANGE; static final String SERIALIZED_NAME_ASSET_ID_COINAPI; static final String SERIALIZED_NAME_BALANCE; static final String SERIALIZED_NAME_AVAILABLE; static final String SERIALIZED_NAME_LOCKED; static final String SERIALIZED_NAME_LAST_UPDATED_BY; static final String SERIALIZED_NAME_RATE_USD; static final String SERIALIZED_NAME_TRADED; } | @Test public void lastUpdatedByTest() { } |
OrderCancelSingleRequest { public OrderCancelSingleRequest clientOrderId(String clientOrderId) { this.clientOrderId = clientOrderId; return this; } OrderCancelSingleRequest exchangeId(String exchangeId); @ApiModelProperty(example = "KRAKEN", required = true, value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); OrderCancelSingleRequest exchangeOrderId(String exchangeOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "3456456754", value = "Unique identifier of the order assigned by the exchange or executing system. One of the properties (`exchange_order_id`, `client_order_id`) is required to identify the new order.") String getExchangeOrderId(); void setExchangeOrderId(String exchangeOrderId); OrderCancelSingleRequest clientOrderId(String clientOrderId); @javax.annotation.Nullable @ApiModelProperty(example = "6ab36bc1-344d-432e-ac6d-0bf44ee64c2b", value = "The unique identifier of the order assigned by the client. One of the properties (`exchange_order_id`, `client_order_id`) is required to identify the new order.") String getClientOrderId(); void setClientOrderId(String clientOrderId); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_EXCHANGE_ORDER_ID; static final String SERIALIZED_NAME_CLIENT_ORDER_ID; } | @Test public void clientOrderIdTest() { } |
BalanceData { public BalanceData rateUsd(Float rateUsd) { this.rateUsd = rateUsd; return this; } BalanceData assetIdExchange(String assetIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT", value = "Exchange currency code.") String getAssetIdExchange(); void setAssetIdExchange(String assetIdExchange); BalanceData assetIdCoinapi(String assetIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BTC", value = "CoinAPI currency code.") String getAssetIdCoinapi(); void setAssetIdCoinapi(String assetIdCoinapi); BalanceData balance(Float balance); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current total currency balance on the exchange.") Float getBalance(); void setBalance(Float balance); BalanceData available(Float available); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current available currency balance on the exchange that can be used as collateral.") Float getAvailable(); void setAvailable(Float available); BalanceData locked(Float locked); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Value of the current locked currency balance by the exchange.") Float getLocked(); void setLocked(Float locked); BalanceData lastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); @javax.annotation.Nullable @ApiModelProperty(example = "EXCHANGE", value = "Source of the last modification. ") LastUpdatedByEnum getLastUpdatedBy(); void setLastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); BalanceData rateUsd(Float rateUsd); @javax.annotation.Nullable @ApiModelProperty(example = "1355.12", value = "Current exchange rate to the USD for the single unit of the currency. ") Float getRateUsd(); void setRateUsd(Float rateUsd); BalanceData traded(Float traded); @javax.annotation.Nullable @ApiModelProperty(example = "0.007", value = "Value of the current total traded.") Float getTraded(); void setTraded(Float traded); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_ASSET_ID_EXCHANGE; static final String SERIALIZED_NAME_ASSET_ID_COINAPI; static final String SERIALIZED_NAME_BALANCE; static final String SERIALIZED_NAME_AVAILABLE; static final String SERIALIZED_NAME_LOCKED; static final String SERIALIZED_NAME_LAST_UPDATED_BY; static final String SERIALIZED_NAME_RATE_USD; static final String SERIALIZED_NAME_TRADED; } | @Test public void rateUsdTest() { } |
BalanceData { public BalanceData traded(Float traded) { this.traded = traded; return this; } BalanceData assetIdExchange(String assetIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBT", value = "Exchange currency code.") String getAssetIdExchange(); void setAssetIdExchange(String assetIdExchange); BalanceData assetIdCoinapi(String assetIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BTC", value = "CoinAPI currency code.") String getAssetIdCoinapi(); void setAssetIdCoinapi(String assetIdCoinapi); BalanceData balance(Float balance); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current total currency balance on the exchange.") Float getBalance(); void setBalance(Float balance); BalanceData available(Float available); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Value of the current available currency balance on the exchange that can be used as collateral.") Float getAvailable(); void setAvailable(Float available); BalanceData locked(Float locked); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Value of the current locked currency balance by the exchange.") Float getLocked(); void setLocked(Float locked); BalanceData lastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); @javax.annotation.Nullable @ApiModelProperty(example = "EXCHANGE", value = "Source of the last modification. ") LastUpdatedByEnum getLastUpdatedBy(); void setLastUpdatedBy(LastUpdatedByEnum lastUpdatedBy); BalanceData rateUsd(Float rateUsd); @javax.annotation.Nullable @ApiModelProperty(example = "1355.12", value = "Current exchange rate to the USD for the single unit of the currency. ") Float getRateUsd(); void setRateUsd(Float rateUsd); BalanceData traded(Float traded); @javax.annotation.Nullable @ApiModelProperty(example = "0.007", value = "Value of the current total traded.") Float getTraded(); void setTraded(Float traded); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_ASSET_ID_EXCHANGE; static final String SERIALIZED_NAME_ASSET_ID_COINAPI; static final String SERIALIZED_NAME_BALANCE; static final String SERIALIZED_NAME_AVAILABLE; static final String SERIALIZED_NAME_LOCKED; static final String SERIALIZED_NAME_LAST_UPDATED_BY; static final String SERIALIZED_NAME_RATE_USD; static final String SERIALIZED_NAME_TRADED; } | @Test public void tradedTest() { } |
Message { public Message message(String message) { this.message = message; return this; } Message type(String type); @javax.annotation.Nullable @ApiModelProperty(example = "message", value = "Type of message.") String getType(); void setType(String type); Message severity(Severity severity); @javax.annotation.Nullable @ApiModelProperty(value = "") Severity getSeverity(); void setSeverity(Severity severity); Message exchangeId(String exchangeId); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN", value = "If the message related to exchange, then the identifier of the exchange will be provided.") String getExchangeId(); void setExchangeId(String exchangeId); Message message(String message); @javax.annotation.Nullable @ApiModelProperty(example = "Ok", value = "Message text.") String getMessage(); void setMessage(String message); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_TYPE; static final String SERIALIZED_NAME_SEVERITY; static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_MESSAGE; } | @Test public void testMessage() { }
@Test public void messageTest() { } |
Message { public Message type(String type) { this.type = type; return this; } Message type(String type); @javax.annotation.Nullable @ApiModelProperty(example = "message", value = "Type of message.") String getType(); void setType(String type); Message severity(Severity severity); @javax.annotation.Nullable @ApiModelProperty(value = "") Severity getSeverity(); void setSeverity(Severity severity); Message exchangeId(String exchangeId); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN", value = "If the message related to exchange, then the identifier of the exchange will be provided.") String getExchangeId(); void setExchangeId(String exchangeId); Message message(String message); @javax.annotation.Nullable @ApiModelProperty(example = "Ok", value = "Message text.") String getMessage(); void setMessage(String message); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_TYPE; static final String SERIALIZED_NAME_SEVERITY; static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_MESSAGE; } | @Test public void typeTest() { } |
Message { public Message severity(Severity severity) { this.severity = severity; return this; } Message type(String type); @javax.annotation.Nullable @ApiModelProperty(example = "message", value = "Type of message.") String getType(); void setType(String type); Message severity(Severity severity); @javax.annotation.Nullable @ApiModelProperty(value = "") Severity getSeverity(); void setSeverity(Severity severity); Message exchangeId(String exchangeId); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN", value = "If the message related to exchange, then the identifier of the exchange will be provided.") String getExchangeId(); void setExchangeId(String exchangeId); Message message(String message); @javax.annotation.Nullable @ApiModelProperty(example = "Ok", value = "Message text.") String getMessage(); void setMessage(String message); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_TYPE; static final String SERIALIZED_NAME_SEVERITY; static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_MESSAGE; } | @Test public void severityTest() { } |
Message { public Message exchangeId(String exchangeId) { this.exchangeId = exchangeId; return this; } Message type(String type); @javax.annotation.Nullable @ApiModelProperty(example = "message", value = "Type of message.") String getType(); void setType(String type); Message severity(Severity severity); @javax.annotation.Nullable @ApiModelProperty(value = "") Severity getSeverity(); void setSeverity(Severity severity); Message exchangeId(String exchangeId); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN", value = "If the message related to exchange, then the identifier of the exchange will be provided.") String getExchangeId(); void setExchangeId(String exchangeId); Message message(String message); @javax.annotation.Nullable @ApiModelProperty(example = "Ok", value = "Message text.") String getMessage(); void setMessage(String message); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_TYPE; static final String SERIALIZED_NAME_SEVERITY; static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_MESSAGE; } | @Test public void exchangeIdTest() { } |
PositionData { public PositionData symbolIdExchange(String symbolIdExchange) { this.symbolIdExchange = symbolIdExchange; return this; } PositionData symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBTUSD", value = "Exchange symbol.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); PositionData symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BITMEX_PERP_BTC_USD", value = "CoinAPI symbol.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); PositionData avgEntryPrice(BigDecimal avgEntryPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Calculated average price of all fills on this position.") BigDecimal getAvgEntryPrice(); void setAvgEntryPrice(BigDecimal avgEntryPrice); PositionData quantity(BigDecimal quantity); @javax.annotation.Nullable @ApiModelProperty(example = "7", value = "The current position quantity.") BigDecimal getQuantity(); void setQuantity(BigDecimal quantity); PositionData side(OrdSide side); @javax.annotation.Nullable @ApiModelProperty(value = "") OrdSide getSide(); void setSide(OrdSide side); PositionData unrealizedPnl(BigDecimal unrealizedPnl); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Unrealised profit or loss (PNL) of this position.") BigDecimal getUnrealizedPnl(); void setUnrealizedPnl(BigDecimal unrealizedPnl); PositionData leverage(BigDecimal leverage); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Leverage for this position reported by the exchange.") BigDecimal getLeverage(); void setLeverage(BigDecimal leverage); PositionData crossMargin(Boolean crossMargin); @javax.annotation.Nullable @ApiModelProperty(example = "true", value = "Is cross margin mode enable for this position?") Boolean getCrossMargin(); void setCrossMargin(Boolean crossMargin); PositionData liquidationPrice(BigDecimal liquidationPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.072323", value = "Liquidation price. If mark price will reach this value, the position will be liquidated.") BigDecimal getLiquidationPrice(); void setLiquidationPrice(BigDecimal liquidationPrice); PositionData rawData(Object rawData); @javax.annotation.Nullable @ApiModelProperty(example = "Other information provided by the exchange on this position.", value = "") Object getRawData(); void setRawData(Object rawData); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AVG_ENTRY_PRICE; static final String SERIALIZED_NAME_QUANTITY; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_UNREALIZED_PNL; static final String SERIALIZED_NAME_LEVERAGE; static final String SERIALIZED_NAME_CROSS_MARGIN; static final String SERIALIZED_NAME_LIQUIDATION_PRICE; static final String SERIALIZED_NAME_RAW_DATA; } | @Test public void symbolIdExchangeTest() { } |
PositionData { public PositionData symbolIdCoinapi(String symbolIdCoinapi) { this.symbolIdCoinapi = symbolIdCoinapi; return this; } PositionData symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBTUSD", value = "Exchange symbol.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); PositionData symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BITMEX_PERP_BTC_USD", value = "CoinAPI symbol.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); PositionData avgEntryPrice(BigDecimal avgEntryPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Calculated average price of all fills on this position.") BigDecimal getAvgEntryPrice(); void setAvgEntryPrice(BigDecimal avgEntryPrice); PositionData quantity(BigDecimal quantity); @javax.annotation.Nullable @ApiModelProperty(example = "7", value = "The current position quantity.") BigDecimal getQuantity(); void setQuantity(BigDecimal quantity); PositionData side(OrdSide side); @javax.annotation.Nullable @ApiModelProperty(value = "") OrdSide getSide(); void setSide(OrdSide side); PositionData unrealizedPnl(BigDecimal unrealizedPnl); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Unrealised profit or loss (PNL) of this position.") BigDecimal getUnrealizedPnl(); void setUnrealizedPnl(BigDecimal unrealizedPnl); PositionData leverage(BigDecimal leverage); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Leverage for this position reported by the exchange.") BigDecimal getLeverage(); void setLeverage(BigDecimal leverage); PositionData crossMargin(Boolean crossMargin); @javax.annotation.Nullable @ApiModelProperty(example = "true", value = "Is cross margin mode enable for this position?") Boolean getCrossMargin(); void setCrossMargin(Boolean crossMargin); PositionData liquidationPrice(BigDecimal liquidationPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.072323", value = "Liquidation price. If mark price will reach this value, the position will be liquidated.") BigDecimal getLiquidationPrice(); void setLiquidationPrice(BigDecimal liquidationPrice); PositionData rawData(Object rawData); @javax.annotation.Nullable @ApiModelProperty(example = "Other information provided by the exchange on this position.", value = "") Object getRawData(); void setRawData(Object rawData); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AVG_ENTRY_PRICE; static final String SERIALIZED_NAME_QUANTITY; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_UNREALIZED_PNL; static final String SERIALIZED_NAME_LEVERAGE; static final String SERIALIZED_NAME_CROSS_MARGIN; static final String SERIALIZED_NAME_LIQUIDATION_PRICE; static final String SERIALIZED_NAME_RAW_DATA; } | @Test public void symbolIdCoinapiTest() { } |
PositionData { public PositionData avgEntryPrice(BigDecimal avgEntryPrice) { this.avgEntryPrice = avgEntryPrice; return this; } PositionData symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBTUSD", value = "Exchange symbol.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); PositionData symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BITMEX_PERP_BTC_USD", value = "CoinAPI symbol.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); PositionData avgEntryPrice(BigDecimal avgEntryPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Calculated average price of all fills on this position.") BigDecimal getAvgEntryPrice(); void setAvgEntryPrice(BigDecimal avgEntryPrice); PositionData quantity(BigDecimal quantity); @javax.annotation.Nullable @ApiModelProperty(example = "7", value = "The current position quantity.") BigDecimal getQuantity(); void setQuantity(BigDecimal quantity); PositionData side(OrdSide side); @javax.annotation.Nullable @ApiModelProperty(value = "") OrdSide getSide(); void setSide(OrdSide side); PositionData unrealizedPnl(BigDecimal unrealizedPnl); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Unrealised profit or loss (PNL) of this position.") BigDecimal getUnrealizedPnl(); void setUnrealizedPnl(BigDecimal unrealizedPnl); PositionData leverage(BigDecimal leverage); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Leverage for this position reported by the exchange.") BigDecimal getLeverage(); void setLeverage(BigDecimal leverage); PositionData crossMargin(Boolean crossMargin); @javax.annotation.Nullable @ApiModelProperty(example = "true", value = "Is cross margin mode enable for this position?") Boolean getCrossMargin(); void setCrossMargin(Boolean crossMargin); PositionData liquidationPrice(BigDecimal liquidationPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.072323", value = "Liquidation price. If mark price will reach this value, the position will be liquidated.") BigDecimal getLiquidationPrice(); void setLiquidationPrice(BigDecimal liquidationPrice); PositionData rawData(Object rawData); @javax.annotation.Nullable @ApiModelProperty(example = "Other information provided by the exchange on this position.", value = "") Object getRawData(); void setRawData(Object rawData); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AVG_ENTRY_PRICE; static final String SERIALIZED_NAME_QUANTITY; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_UNREALIZED_PNL; static final String SERIALIZED_NAME_LEVERAGE; static final String SERIALIZED_NAME_CROSS_MARGIN; static final String SERIALIZED_NAME_LIQUIDATION_PRICE; static final String SERIALIZED_NAME_RAW_DATA; } | @Test public void avgEntryPriceTest() { } |
ValidationError { public ValidationError type(String type) { this.type = type; return this; } ValidationError type(String type); @javax.annotation.Nullable @ApiModelProperty(example = "https://tools.ietf.org/html/rfc7231#section-6.5.1", value = "") String getType(); void setType(String type); ValidationError title(String title); @javax.annotation.Nullable @ApiModelProperty(example = "One or more validation errors occurred.", value = "") String getTitle(); void setTitle(String title); ValidationError status(BigDecimal status); @javax.annotation.Nullable @ApiModelProperty(example = "400", value = "") BigDecimal getStatus(); void setStatus(BigDecimal status); ValidationError traceId(String traceId); @javax.annotation.Nullable @ApiModelProperty(example = "d200e8b5-4271a5461ce5342f", value = "") String getTraceId(); void setTraceId(String traceId); ValidationError errors(String errors); @javax.annotation.Nullable @ApiModelProperty(value = "") String getErrors(); void setErrors(String errors); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_TYPE; static final String SERIALIZED_NAME_TITLE; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_TRACE_ID; static final String SERIALIZED_NAME_ERRORS; } | @Test public void typeTest() { } |
PositionData { public PositionData quantity(BigDecimal quantity) { this.quantity = quantity; return this; } PositionData symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBTUSD", value = "Exchange symbol.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); PositionData symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BITMEX_PERP_BTC_USD", value = "CoinAPI symbol.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); PositionData avgEntryPrice(BigDecimal avgEntryPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Calculated average price of all fills on this position.") BigDecimal getAvgEntryPrice(); void setAvgEntryPrice(BigDecimal avgEntryPrice); PositionData quantity(BigDecimal quantity); @javax.annotation.Nullable @ApiModelProperty(example = "7", value = "The current position quantity.") BigDecimal getQuantity(); void setQuantity(BigDecimal quantity); PositionData side(OrdSide side); @javax.annotation.Nullable @ApiModelProperty(value = "") OrdSide getSide(); void setSide(OrdSide side); PositionData unrealizedPnl(BigDecimal unrealizedPnl); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Unrealised profit or loss (PNL) of this position.") BigDecimal getUnrealizedPnl(); void setUnrealizedPnl(BigDecimal unrealizedPnl); PositionData leverage(BigDecimal leverage); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Leverage for this position reported by the exchange.") BigDecimal getLeverage(); void setLeverage(BigDecimal leverage); PositionData crossMargin(Boolean crossMargin); @javax.annotation.Nullable @ApiModelProperty(example = "true", value = "Is cross margin mode enable for this position?") Boolean getCrossMargin(); void setCrossMargin(Boolean crossMargin); PositionData liquidationPrice(BigDecimal liquidationPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.072323", value = "Liquidation price. If mark price will reach this value, the position will be liquidated.") BigDecimal getLiquidationPrice(); void setLiquidationPrice(BigDecimal liquidationPrice); PositionData rawData(Object rawData); @javax.annotation.Nullable @ApiModelProperty(example = "Other information provided by the exchange on this position.", value = "") Object getRawData(); void setRawData(Object rawData); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AVG_ENTRY_PRICE; static final String SERIALIZED_NAME_QUANTITY; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_UNREALIZED_PNL; static final String SERIALIZED_NAME_LEVERAGE; static final String SERIALIZED_NAME_CROSS_MARGIN; static final String SERIALIZED_NAME_LIQUIDATION_PRICE; static final String SERIALIZED_NAME_RAW_DATA; } | @Test public void quantityTest() { } |
PositionData { public PositionData side(OrdSide side) { this.side = side; return this; } PositionData symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBTUSD", value = "Exchange symbol.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); PositionData symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BITMEX_PERP_BTC_USD", value = "CoinAPI symbol.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); PositionData avgEntryPrice(BigDecimal avgEntryPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Calculated average price of all fills on this position.") BigDecimal getAvgEntryPrice(); void setAvgEntryPrice(BigDecimal avgEntryPrice); PositionData quantity(BigDecimal quantity); @javax.annotation.Nullable @ApiModelProperty(example = "7", value = "The current position quantity.") BigDecimal getQuantity(); void setQuantity(BigDecimal quantity); PositionData side(OrdSide side); @javax.annotation.Nullable @ApiModelProperty(value = "") OrdSide getSide(); void setSide(OrdSide side); PositionData unrealizedPnl(BigDecimal unrealizedPnl); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Unrealised profit or loss (PNL) of this position.") BigDecimal getUnrealizedPnl(); void setUnrealizedPnl(BigDecimal unrealizedPnl); PositionData leverage(BigDecimal leverage); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Leverage for this position reported by the exchange.") BigDecimal getLeverage(); void setLeverage(BigDecimal leverage); PositionData crossMargin(Boolean crossMargin); @javax.annotation.Nullable @ApiModelProperty(example = "true", value = "Is cross margin mode enable for this position?") Boolean getCrossMargin(); void setCrossMargin(Boolean crossMargin); PositionData liquidationPrice(BigDecimal liquidationPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.072323", value = "Liquidation price. If mark price will reach this value, the position will be liquidated.") BigDecimal getLiquidationPrice(); void setLiquidationPrice(BigDecimal liquidationPrice); PositionData rawData(Object rawData); @javax.annotation.Nullable @ApiModelProperty(example = "Other information provided by the exchange on this position.", value = "") Object getRawData(); void setRawData(Object rawData); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AVG_ENTRY_PRICE; static final String SERIALIZED_NAME_QUANTITY; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_UNREALIZED_PNL; static final String SERIALIZED_NAME_LEVERAGE; static final String SERIALIZED_NAME_CROSS_MARGIN; static final String SERIALIZED_NAME_LIQUIDATION_PRICE; static final String SERIALIZED_NAME_RAW_DATA; } | @Test public void sideTest() { } |
PositionData { public PositionData unrealizedPnl(BigDecimal unrealizedPnl) { this.unrealizedPnl = unrealizedPnl; return this; } PositionData symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBTUSD", value = "Exchange symbol.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); PositionData symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BITMEX_PERP_BTC_USD", value = "CoinAPI symbol.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); PositionData avgEntryPrice(BigDecimal avgEntryPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Calculated average price of all fills on this position.") BigDecimal getAvgEntryPrice(); void setAvgEntryPrice(BigDecimal avgEntryPrice); PositionData quantity(BigDecimal quantity); @javax.annotation.Nullable @ApiModelProperty(example = "7", value = "The current position quantity.") BigDecimal getQuantity(); void setQuantity(BigDecimal quantity); PositionData side(OrdSide side); @javax.annotation.Nullable @ApiModelProperty(value = "") OrdSide getSide(); void setSide(OrdSide side); PositionData unrealizedPnl(BigDecimal unrealizedPnl); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Unrealised profit or loss (PNL) of this position.") BigDecimal getUnrealizedPnl(); void setUnrealizedPnl(BigDecimal unrealizedPnl); PositionData leverage(BigDecimal leverage); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Leverage for this position reported by the exchange.") BigDecimal getLeverage(); void setLeverage(BigDecimal leverage); PositionData crossMargin(Boolean crossMargin); @javax.annotation.Nullable @ApiModelProperty(example = "true", value = "Is cross margin mode enable for this position?") Boolean getCrossMargin(); void setCrossMargin(Boolean crossMargin); PositionData liquidationPrice(BigDecimal liquidationPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.072323", value = "Liquidation price. If mark price will reach this value, the position will be liquidated.") BigDecimal getLiquidationPrice(); void setLiquidationPrice(BigDecimal liquidationPrice); PositionData rawData(Object rawData); @javax.annotation.Nullable @ApiModelProperty(example = "Other information provided by the exchange on this position.", value = "") Object getRawData(); void setRawData(Object rawData); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AVG_ENTRY_PRICE; static final String SERIALIZED_NAME_QUANTITY; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_UNREALIZED_PNL; static final String SERIALIZED_NAME_LEVERAGE; static final String SERIALIZED_NAME_CROSS_MARGIN; static final String SERIALIZED_NAME_LIQUIDATION_PRICE; static final String SERIALIZED_NAME_RAW_DATA; } | @Test public void unrealizedPnlTest() { } |
PositionData { public PositionData leverage(BigDecimal leverage) { this.leverage = leverage; return this; } PositionData symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBTUSD", value = "Exchange symbol.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); PositionData symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BITMEX_PERP_BTC_USD", value = "CoinAPI symbol.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); PositionData avgEntryPrice(BigDecimal avgEntryPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Calculated average price of all fills on this position.") BigDecimal getAvgEntryPrice(); void setAvgEntryPrice(BigDecimal avgEntryPrice); PositionData quantity(BigDecimal quantity); @javax.annotation.Nullable @ApiModelProperty(example = "7", value = "The current position quantity.") BigDecimal getQuantity(); void setQuantity(BigDecimal quantity); PositionData side(OrdSide side); @javax.annotation.Nullable @ApiModelProperty(value = "") OrdSide getSide(); void setSide(OrdSide side); PositionData unrealizedPnl(BigDecimal unrealizedPnl); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Unrealised profit or loss (PNL) of this position.") BigDecimal getUnrealizedPnl(); void setUnrealizedPnl(BigDecimal unrealizedPnl); PositionData leverage(BigDecimal leverage); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Leverage for this position reported by the exchange.") BigDecimal getLeverage(); void setLeverage(BigDecimal leverage); PositionData crossMargin(Boolean crossMargin); @javax.annotation.Nullable @ApiModelProperty(example = "true", value = "Is cross margin mode enable for this position?") Boolean getCrossMargin(); void setCrossMargin(Boolean crossMargin); PositionData liquidationPrice(BigDecimal liquidationPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.072323", value = "Liquidation price. If mark price will reach this value, the position will be liquidated.") BigDecimal getLiquidationPrice(); void setLiquidationPrice(BigDecimal liquidationPrice); PositionData rawData(Object rawData); @javax.annotation.Nullable @ApiModelProperty(example = "Other information provided by the exchange on this position.", value = "") Object getRawData(); void setRawData(Object rawData); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AVG_ENTRY_PRICE; static final String SERIALIZED_NAME_QUANTITY; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_UNREALIZED_PNL; static final String SERIALIZED_NAME_LEVERAGE; static final String SERIALIZED_NAME_CROSS_MARGIN; static final String SERIALIZED_NAME_LIQUIDATION_PRICE; static final String SERIALIZED_NAME_RAW_DATA; } | @Test public void leverageTest() { } |
PositionData { public PositionData crossMargin(Boolean crossMargin) { this.crossMargin = crossMargin; return this; } PositionData symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBTUSD", value = "Exchange symbol.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); PositionData symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BITMEX_PERP_BTC_USD", value = "CoinAPI symbol.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); PositionData avgEntryPrice(BigDecimal avgEntryPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Calculated average price of all fills on this position.") BigDecimal getAvgEntryPrice(); void setAvgEntryPrice(BigDecimal avgEntryPrice); PositionData quantity(BigDecimal quantity); @javax.annotation.Nullable @ApiModelProperty(example = "7", value = "The current position quantity.") BigDecimal getQuantity(); void setQuantity(BigDecimal quantity); PositionData side(OrdSide side); @javax.annotation.Nullable @ApiModelProperty(value = "") OrdSide getSide(); void setSide(OrdSide side); PositionData unrealizedPnl(BigDecimal unrealizedPnl); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Unrealised profit or loss (PNL) of this position.") BigDecimal getUnrealizedPnl(); void setUnrealizedPnl(BigDecimal unrealizedPnl); PositionData leverage(BigDecimal leverage); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Leverage for this position reported by the exchange.") BigDecimal getLeverage(); void setLeverage(BigDecimal leverage); PositionData crossMargin(Boolean crossMargin); @javax.annotation.Nullable @ApiModelProperty(example = "true", value = "Is cross margin mode enable for this position?") Boolean getCrossMargin(); void setCrossMargin(Boolean crossMargin); PositionData liquidationPrice(BigDecimal liquidationPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.072323", value = "Liquidation price. If mark price will reach this value, the position will be liquidated.") BigDecimal getLiquidationPrice(); void setLiquidationPrice(BigDecimal liquidationPrice); PositionData rawData(Object rawData); @javax.annotation.Nullable @ApiModelProperty(example = "Other information provided by the exchange on this position.", value = "") Object getRawData(); void setRawData(Object rawData); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AVG_ENTRY_PRICE; static final String SERIALIZED_NAME_QUANTITY; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_UNREALIZED_PNL; static final String SERIALIZED_NAME_LEVERAGE; static final String SERIALIZED_NAME_CROSS_MARGIN; static final String SERIALIZED_NAME_LIQUIDATION_PRICE; static final String SERIALIZED_NAME_RAW_DATA; } | @Test public void crossMarginTest() { } |
PositionData { public PositionData liquidationPrice(BigDecimal liquidationPrice) { this.liquidationPrice = liquidationPrice; return this; } PositionData symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBTUSD", value = "Exchange symbol.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); PositionData symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BITMEX_PERP_BTC_USD", value = "CoinAPI symbol.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); PositionData avgEntryPrice(BigDecimal avgEntryPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Calculated average price of all fills on this position.") BigDecimal getAvgEntryPrice(); void setAvgEntryPrice(BigDecimal avgEntryPrice); PositionData quantity(BigDecimal quantity); @javax.annotation.Nullable @ApiModelProperty(example = "7", value = "The current position quantity.") BigDecimal getQuantity(); void setQuantity(BigDecimal quantity); PositionData side(OrdSide side); @javax.annotation.Nullable @ApiModelProperty(value = "") OrdSide getSide(); void setSide(OrdSide side); PositionData unrealizedPnl(BigDecimal unrealizedPnl); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Unrealised profit or loss (PNL) of this position.") BigDecimal getUnrealizedPnl(); void setUnrealizedPnl(BigDecimal unrealizedPnl); PositionData leverage(BigDecimal leverage); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Leverage for this position reported by the exchange.") BigDecimal getLeverage(); void setLeverage(BigDecimal leverage); PositionData crossMargin(Boolean crossMargin); @javax.annotation.Nullable @ApiModelProperty(example = "true", value = "Is cross margin mode enable for this position?") Boolean getCrossMargin(); void setCrossMargin(Boolean crossMargin); PositionData liquidationPrice(BigDecimal liquidationPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.072323", value = "Liquidation price. If mark price will reach this value, the position will be liquidated.") BigDecimal getLiquidationPrice(); void setLiquidationPrice(BigDecimal liquidationPrice); PositionData rawData(Object rawData); @javax.annotation.Nullable @ApiModelProperty(example = "Other information provided by the exchange on this position.", value = "") Object getRawData(); void setRawData(Object rawData); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AVG_ENTRY_PRICE; static final String SERIALIZED_NAME_QUANTITY; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_UNREALIZED_PNL; static final String SERIALIZED_NAME_LEVERAGE; static final String SERIALIZED_NAME_CROSS_MARGIN; static final String SERIALIZED_NAME_LIQUIDATION_PRICE; static final String SERIALIZED_NAME_RAW_DATA; } | @Test public void liquidationPriceTest() { } |
PositionData { public PositionData rawData(Object rawData) { this.rawData = rawData; return this; } PositionData symbolIdExchange(String symbolIdExchange); @javax.annotation.Nullable @ApiModelProperty(example = "XBTUSD", value = "Exchange symbol.") String getSymbolIdExchange(); void setSymbolIdExchange(String symbolIdExchange); PositionData symbolIdCoinapi(String symbolIdCoinapi); @javax.annotation.Nullable @ApiModelProperty(example = "BITMEX_PERP_BTC_USD", value = "CoinAPI symbol.") String getSymbolIdCoinapi(); void setSymbolIdCoinapi(String symbolIdCoinapi); PositionData avgEntryPrice(BigDecimal avgEntryPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.00134444", value = "Calculated average price of all fills on this position.") BigDecimal getAvgEntryPrice(); void setAvgEntryPrice(BigDecimal avgEntryPrice); PositionData quantity(BigDecimal quantity); @javax.annotation.Nullable @ApiModelProperty(example = "7", value = "The current position quantity.") BigDecimal getQuantity(); void setQuantity(BigDecimal quantity); PositionData side(OrdSide side); @javax.annotation.Nullable @ApiModelProperty(value = "") OrdSide getSide(); void setSide(OrdSide side); PositionData unrealizedPnl(BigDecimal unrealizedPnl); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Unrealised profit or loss (PNL) of this position.") BigDecimal getUnrealizedPnl(); void setUnrealizedPnl(BigDecimal unrealizedPnl); PositionData leverage(BigDecimal leverage); @javax.annotation.Nullable @ApiModelProperty(example = "0.0", value = "Leverage for this position reported by the exchange.") BigDecimal getLeverage(); void setLeverage(BigDecimal leverage); PositionData crossMargin(Boolean crossMargin); @javax.annotation.Nullable @ApiModelProperty(example = "true", value = "Is cross margin mode enable for this position?") Boolean getCrossMargin(); void setCrossMargin(Boolean crossMargin); PositionData liquidationPrice(BigDecimal liquidationPrice); @javax.annotation.Nullable @ApiModelProperty(example = "0.072323", value = "Liquidation price. If mark price will reach this value, the position will be liquidated.") BigDecimal getLiquidationPrice(); void setLiquidationPrice(BigDecimal liquidationPrice); PositionData rawData(Object rawData); @javax.annotation.Nullable @ApiModelProperty(example = "Other information provided by the exchange on this position.", value = "") Object getRawData(); void setRawData(Object rawData); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_SYMBOL_ID_EXCHANGE; static final String SERIALIZED_NAME_SYMBOL_ID_COINAPI; static final String SERIALIZED_NAME_AVG_ENTRY_PRICE; static final String SERIALIZED_NAME_QUANTITY; static final String SERIALIZED_NAME_SIDE; static final String SERIALIZED_NAME_UNREALIZED_PNL; static final String SERIALIZED_NAME_LEVERAGE; static final String SERIALIZED_NAME_CROSS_MARGIN; static final String SERIALIZED_NAME_LIQUIDATION_PRICE; static final String SERIALIZED_NAME_RAW_DATA; } | @Test public void rawDataTest() { } |
Position { public Position exchangeId(String exchangeId) { this.exchangeId = exchangeId; return this; } Position exchangeId(String exchangeId); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN", value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); Position data(List<PositionData> data); Position addDataItem(PositionData dataItem); @javax.annotation.Nullable @ApiModelProperty(value = "") List<PositionData> getData(); void setData(List<PositionData> data); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_DATA; } | @Test public void exchangeIdTest() { } |
Position { public Position data(List<PositionData> data) { this.data = data; return this; } Position exchangeId(String exchangeId); @javax.annotation.Nullable @ApiModelProperty(example = "KRAKEN", value = "Exchange identifier used to identify the routing destination.") String getExchangeId(); void setExchangeId(String exchangeId); Position data(List<PositionData> data); Position addDataItem(PositionData dataItem); @javax.annotation.Nullable @ApiModelProperty(value = "") List<PositionData> getData(); void setData(List<PositionData> data); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_EXCHANGE_ID; static final String SERIALIZED_NAME_DATA; } | @Test public void dataTest() { } |
OrdersApi { public Message v1OrdersCancelAllPost(OrderCancelAllRequest orderCancelAllRequest) throws ApiException { ApiResponse<Message> localVarResp = v1OrdersCancelAllPostWithHttpInfo(orderCancelAllRequest); return localVarResp.getData(); } OrdersApi(); OrdersApi(ApiClient apiClient); ApiClient getApiClient(); void setApiClient(ApiClient apiClient); okhttp3.Call v1OrdersCancelAllPostCall(OrderCancelAllRequest orderCancelAllRequest, final ApiCallback _callback); Message v1OrdersCancelAllPost(OrderCancelAllRequest orderCancelAllRequest); ApiResponse<Message> v1OrdersCancelAllPostWithHttpInfo(OrderCancelAllRequest orderCancelAllRequest); okhttp3.Call v1OrdersCancelAllPostAsync(OrderCancelAllRequest orderCancelAllRequest, final ApiCallback<Message> _callback); okhttp3.Call v1OrdersCancelPostCall(OrderCancelSingleRequest orderCancelSingleRequest, final ApiCallback _callback); OrderExecutionReport v1OrdersCancelPost(OrderCancelSingleRequest orderCancelSingleRequest); ApiResponse<OrderExecutionReport> v1OrdersCancelPostWithHttpInfo(OrderCancelSingleRequest orderCancelSingleRequest); okhttp3.Call v1OrdersCancelPostAsync(OrderCancelSingleRequest orderCancelSingleRequest, final ApiCallback<OrderExecutionReport> _callback); okhttp3.Call v1OrdersGetCall(String exchangeId, final ApiCallback _callback); List<OrderExecutionReport> v1OrdersGet(String exchangeId); ApiResponse<List<OrderExecutionReport>> v1OrdersGetWithHttpInfo(String exchangeId); okhttp3.Call v1OrdersGetAsync(String exchangeId, final ApiCallback<List<OrderExecutionReport>> _callback); okhttp3.Call v1OrdersPostCall(OrderNewSingleRequest orderNewSingleRequest, final ApiCallback _callback); OrderExecutionReport v1OrdersPost(OrderNewSingleRequest orderNewSingleRequest); ApiResponse<OrderExecutionReport> v1OrdersPostWithHttpInfo(OrderNewSingleRequest orderNewSingleRequest); okhttp3.Call v1OrdersPostAsync(OrderNewSingleRequest orderNewSingleRequest, final ApiCallback<OrderExecutionReport> _callback); okhttp3.Call v1OrdersStatusClientOrderIdGetCall(String clientOrderId, final ApiCallback _callback); OrderExecutionReport v1OrdersStatusClientOrderIdGet(String clientOrderId); ApiResponse<OrderExecutionReport> v1OrdersStatusClientOrderIdGetWithHttpInfo(String clientOrderId); okhttp3.Call v1OrdersStatusClientOrderIdGetAsync(String clientOrderId, final ApiCallback<OrderExecutionReport> _callback); } | @Test public void v1OrdersCancelAllPostTest() throws ApiException { OrderCancelAllRequest orderCancelAllRequest = null; Message response = api.v1OrdersCancelAllPost(orderCancelAllRequest); } |
ValidationError { public ValidationError title(String title) { this.title = title; return this; } ValidationError type(String type); @javax.annotation.Nullable @ApiModelProperty(example = "https://tools.ietf.org/html/rfc7231#section-6.5.1", value = "") String getType(); void setType(String type); ValidationError title(String title); @javax.annotation.Nullable @ApiModelProperty(example = "One or more validation errors occurred.", value = "") String getTitle(); void setTitle(String title); ValidationError status(BigDecimal status); @javax.annotation.Nullable @ApiModelProperty(example = "400", value = "") BigDecimal getStatus(); void setStatus(BigDecimal status); ValidationError traceId(String traceId); @javax.annotation.Nullable @ApiModelProperty(example = "d200e8b5-4271a5461ce5342f", value = "") String getTraceId(); void setTraceId(String traceId); ValidationError errors(String errors); @javax.annotation.Nullable @ApiModelProperty(value = "") String getErrors(); void setErrors(String errors); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_TYPE; static final String SERIALIZED_NAME_TITLE; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_TRACE_ID; static final String SERIALIZED_NAME_ERRORS; } | @Test public void titleTest() { } |
OrdersApi { public OrderExecutionReport v1OrdersCancelPost(OrderCancelSingleRequest orderCancelSingleRequest) throws ApiException { ApiResponse<OrderExecutionReport> localVarResp = v1OrdersCancelPostWithHttpInfo(orderCancelSingleRequest); return localVarResp.getData(); } OrdersApi(); OrdersApi(ApiClient apiClient); ApiClient getApiClient(); void setApiClient(ApiClient apiClient); okhttp3.Call v1OrdersCancelAllPostCall(OrderCancelAllRequest orderCancelAllRequest, final ApiCallback _callback); Message v1OrdersCancelAllPost(OrderCancelAllRequest orderCancelAllRequest); ApiResponse<Message> v1OrdersCancelAllPostWithHttpInfo(OrderCancelAllRequest orderCancelAllRequest); okhttp3.Call v1OrdersCancelAllPostAsync(OrderCancelAllRequest orderCancelAllRequest, final ApiCallback<Message> _callback); okhttp3.Call v1OrdersCancelPostCall(OrderCancelSingleRequest orderCancelSingleRequest, final ApiCallback _callback); OrderExecutionReport v1OrdersCancelPost(OrderCancelSingleRequest orderCancelSingleRequest); ApiResponse<OrderExecutionReport> v1OrdersCancelPostWithHttpInfo(OrderCancelSingleRequest orderCancelSingleRequest); okhttp3.Call v1OrdersCancelPostAsync(OrderCancelSingleRequest orderCancelSingleRequest, final ApiCallback<OrderExecutionReport> _callback); okhttp3.Call v1OrdersGetCall(String exchangeId, final ApiCallback _callback); List<OrderExecutionReport> v1OrdersGet(String exchangeId); ApiResponse<List<OrderExecutionReport>> v1OrdersGetWithHttpInfo(String exchangeId); okhttp3.Call v1OrdersGetAsync(String exchangeId, final ApiCallback<List<OrderExecutionReport>> _callback); okhttp3.Call v1OrdersPostCall(OrderNewSingleRequest orderNewSingleRequest, final ApiCallback _callback); OrderExecutionReport v1OrdersPost(OrderNewSingleRequest orderNewSingleRequest); ApiResponse<OrderExecutionReport> v1OrdersPostWithHttpInfo(OrderNewSingleRequest orderNewSingleRequest); okhttp3.Call v1OrdersPostAsync(OrderNewSingleRequest orderNewSingleRequest, final ApiCallback<OrderExecutionReport> _callback); okhttp3.Call v1OrdersStatusClientOrderIdGetCall(String clientOrderId, final ApiCallback _callback); OrderExecutionReport v1OrdersStatusClientOrderIdGet(String clientOrderId); ApiResponse<OrderExecutionReport> v1OrdersStatusClientOrderIdGetWithHttpInfo(String clientOrderId); okhttp3.Call v1OrdersStatusClientOrderIdGetAsync(String clientOrderId, final ApiCallback<OrderExecutionReport> _callback); } | @Test public void v1OrdersCancelPostTest() throws ApiException { OrderCancelSingleRequest orderCancelSingleRequest = null; OrderExecutionReport response = api.v1OrdersCancelPost(orderCancelSingleRequest); } |
OrdersApi { public List<OrderExecutionReport> v1OrdersGet(String exchangeId) throws ApiException { ApiResponse<List<OrderExecutionReport>> localVarResp = v1OrdersGetWithHttpInfo(exchangeId); return localVarResp.getData(); } OrdersApi(); OrdersApi(ApiClient apiClient); ApiClient getApiClient(); void setApiClient(ApiClient apiClient); okhttp3.Call v1OrdersCancelAllPostCall(OrderCancelAllRequest orderCancelAllRequest, final ApiCallback _callback); Message v1OrdersCancelAllPost(OrderCancelAllRequest orderCancelAllRequest); ApiResponse<Message> v1OrdersCancelAllPostWithHttpInfo(OrderCancelAllRequest orderCancelAllRequest); okhttp3.Call v1OrdersCancelAllPostAsync(OrderCancelAllRequest orderCancelAllRequest, final ApiCallback<Message> _callback); okhttp3.Call v1OrdersCancelPostCall(OrderCancelSingleRequest orderCancelSingleRequest, final ApiCallback _callback); OrderExecutionReport v1OrdersCancelPost(OrderCancelSingleRequest orderCancelSingleRequest); ApiResponse<OrderExecutionReport> v1OrdersCancelPostWithHttpInfo(OrderCancelSingleRequest orderCancelSingleRequest); okhttp3.Call v1OrdersCancelPostAsync(OrderCancelSingleRequest orderCancelSingleRequest, final ApiCallback<OrderExecutionReport> _callback); okhttp3.Call v1OrdersGetCall(String exchangeId, final ApiCallback _callback); List<OrderExecutionReport> v1OrdersGet(String exchangeId); ApiResponse<List<OrderExecutionReport>> v1OrdersGetWithHttpInfo(String exchangeId); okhttp3.Call v1OrdersGetAsync(String exchangeId, final ApiCallback<List<OrderExecutionReport>> _callback); okhttp3.Call v1OrdersPostCall(OrderNewSingleRequest orderNewSingleRequest, final ApiCallback _callback); OrderExecutionReport v1OrdersPost(OrderNewSingleRequest orderNewSingleRequest); ApiResponse<OrderExecutionReport> v1OrdersPostWithHttpInfo(OrderNewSingleRequest orderNewSingleRequest); okhttp3.Call v1OrdersPostAsync(OrderNewSingleRequest orderNewSingleRequest, final ApiCallback<OrderExecutionReport> _callback); okhttp3.Call v1OrdersStatusClientOrderIdGetCall(String clientOrderId, final ApiCallback _callback); OrderExecutionReport v1OrdersStatusClientOrderIdGet(String clientOrderId); ApiResponse<OrderExecutionReport> v1OrdersStatusClientOrderIdGetWithHttpInfo(String clientOrderId); okhttp3.Call v1OrdersStatusClientOrderIdGetAsync(String clientOrderId, final ApiCallback<OrderExecutionReport> _callback); } | @Test public void v1OrdersGetTest() throws ApiException { String exchangeId = null; List<OrderExecutionReport> response = api.v1OrdersGet(exchangeId); } |
OrdersApi { public OrderExecutionReport v1OrdersPost(OrderNewSingleRequest orderNewSingleRequest) throws ApiException { ApiResponse<OrderExecutionReport> localVarResp = v1OrdersPostWithHttpInfo(orderNewSingleRequest); return localVarResp.getData(); } OrdersApi(); OrdersApi(ApiClient apiClient); ApiClient getApiClient(); void setApiClient(ApiClient apiClient); okhttp3.Call v1OrdersCancelAllPostCall(OrderCancelAllRequest orderCancelAllRequest, final ApiCallback _callback); Message v1OrdersCancelAllPost(OrderCancelAllRequest orderCancelAllRequest); ApiResponse<Message> v1OrdersCancelAllPostWithHttpInfo(OrderCancelAllRequest orderCancelAllRequest); okhttp3.Call v1OrdersCancelAllPostAsync(OrderCancelAllRequest orderCancelAllRequest, final ApiCallback<Message> _callback); okhttp3.Call v1OrdersCancelPostCall(OrderCancelSingleRequest orderCancelSingleRequest, final ApiCallback _callback); OrderExecutionReport v1OrdersCancelPost(OrderCancelSingleRequest orderCancelSingleRequest); ApiResponse<OrderExecutionReport> v1OrdersCancelPostWithHttpInfo(OrderCancelSingleRequest orderCancelSingleRequest); okhttp3.Call v1OrdersCancelPostAsync(OrderCancelSingleRequest orderCancelSingleRequest, final ApiCallback<OrderExecutionReport> _callback); okhttp3.Call v1OrdersGetCall(String exchangeId, final ApiCallback _callback); List<OrderExecutionReport> v1OrdersGet(String exchangeId); ApiResponse<List<OrderExecutionReport>> v1OrdersGetWithHttpInfo(String exchangeId); okhttp3.Call v1OrdersGetAsync(String exchangeId, final ApiCallback<List<OrderExecutionReport>> _callback); okhttp3.Call v1OrdersPostCall(OrderNewSingleRequest orderNewSingleRequest, final ApiCallback _callback); OrderExecutionReport v1OrdersPost(OrderNewSingleRequest orderNewSingleRequest); ApiResponse<OrderExecutionReport> v1OrdersPostWithHttpInfo(OrderNewSingleRequest orderNewSingleRequest); okhttp3.Call v1OrdersPostAsync(OrderNewSingleRequest orderNewSingleRequest, final ApiCallback<OrderExecutionReport> _callback); okhttp3.Call v1OrdersStatusClientOrderIdGetCall(String clientOrderId, final ApiCallback _callback); OrderExecutionReport v1OrdersStatusClientOrderIdGet(String clientOrderId); ApiResponse<OrderExecutionReport> v1OrdersStatusClientOrderIdGetWithHttpInfo(String clientOrderId); okhttp3.Call v1OrdersStatusClientOrderIdGetAsync(String clientOrderId, final ApiCallback<OrderExecutionReport> _callback); } | @Test public void v1OrdersPostTest() throws ApiException { OrderNewSingleRequest orderNewSingleRequest = null; OrderExecutionReport response = api.v1OrdersPost(orderNewSingleRequest); } |
OrdersApi { public OrderExecutionReport v1OrdersStatusClientOrderIdGet(String clientOrderId) throws ApiException { ApiResponse<OrderExecutionReport> localVarResp = v1OrdersStatusClientOrderIdGetWithHttpInfo(clientOrderId); return localVarResp.getData(); } OrdersApi(); OrdersApi(ApiClient apiClient); ApiClient getApiClient(); void setApiClient(ApiClient apiClient); okhttp3.Call v1OrdersCancelAllPostCall(OrderCancelAllRequest orderCancelAllRequest, final ApiCallback _callback); Message v1OrdersCancelAllPost(OrderCancelAllRequest orderCancelAllRequest); ApiResponse<Message> v1OrdersCancelAllPostWithHttpInfo(OrderCancelAllRequest orderCancelAllRequest); okhttp3.Call v1OrdersCancelAllPostAsync(OrderCancelAllRequest orderCancelAllRequest, final ApiCallback<Message> _callback); okhttp3.Call v1OrdersCancelPostCall(OrderCancelSingleRequest orderCancelSingleRequest, final ApiCallback _callback); OrderExecutionReport v1OrdersCancelPost(OrderCancelSingleRequest orderCancelSingleRequest); ApiResponse<OrderExecutionReport> v1OrdersCancelPostWithHttpInfo(OrderCancelSingleRequest orderCancelSingleRequest); okhttp3.Call v1OrdersCancelPostAsync(OrderCancelSingleRequest orderCancelSingleRequest, final ApiCallback<OrderExecutionReport> _callback); okhttp3.Call v1OrdersGetCall(String exchangeId, final ApiCallback _callback); List<OrderExecutionReport> v1OrdersGet(String exchangeId); ApiResponse<List<OrderExecutionReport>> v1OrdersGetWithHttpInfo(String exchangeId); okhttp3.Call v1OrdersGetAsync(String exchangeId, final ApiCallback<List<OrderExecutionReport>> _callback); okhttp3.Call v1OrdersPostCall(OrderNewSingleRequest orderNewSingleRequest, final ApiCallback _callback); OrderExecutionReport v1OrdersPost(OrderNewSingleRequest orderNewSingleRequest); ApiResponse<OrderExecutionReport> v1OrdersPostWithHttpInfo(OrderNewSingleRequest orderNewSingleRequest); okhttp3.Call v1OrdersPostAsync(OrderNewSingleRequest orderNewSingleRequest, final ApiCallback<OrderExecutionReport> _callback); okhttp3.Call v1OrdersStatusClientOrderIdGetCall(String clientOrderId, final ApiCallback _callback); OrderExecutionReport v1OrdersStatusClientOrderIdGet(String clientOrderId); ApiResponse<OrderExecutionReport> v1OrdersStatusClientOrderIdGetWithHttpInfo(String clientOrderId); okhttp3.Call v1OrdersStatusClientOrderIdGetAsync(String clientOrderId, final ApiCallback<OrderExecutionReport> _callback); } | @Test public void v1OrdersStatusClientOrderIdGetTest() throws ApiException { String clientOrderId = null; OrderExecutionReport response = api.v1OrdersStatusClientOrderIdGet(clientOrderId); } |
BalancesApi { public List<Balance> v1BalancesGet(String exchangeId) throws ApiException { ApiResponse<List<Balance>> localVarResp = v1BalancesGetWithHttpInfo(exchangeId); return localVarResp.getData(); } BalancesApi(); BalancesApi(ApiClient apiClient); ApiClient getApiClient(); void setApiClient(ApiClient apiClient); okhttp3.Call v1BalancesGetCall(String exchangeId, final ApiCallback _callback); List<Balance> v1BalancesGet(String exchangeId); ApiResponse<List<Balance>> v1BalancesGetWithHttpInfo(String exchangeId); okhttp3.Call v1BalancesGetAsync(String exchangeId, final ApiCallback<List<Balance>> _callback); } | @Test public void v1BalancesGetTest() throws ApiException { String exchangeId = null; List<Balance> response = api.v1BalancesGet(exchangeId); } |
PositionsApi { public List<Position> v1PositionsGet(String exchangeId) throws ApiException { ApiResponse<List<Position>> localVarResp = v1PositionsGetWithHttpInfo(exchangeId); return localVarResp.getData(); } PositionsApi(); PositionsApi(ApiClient apiClient); ApiClient getApiClient(); void setApiClient(ApiClient apiClient); okhttp3.Call v1PositionsGetCall(String exchangeId, final ApiCallback _callback); List<Position> v1PositionsGet(String exchangeId); ApiResponse<List<Position>> v1PositionsGetWithHttpInfo(String exchangeId); okhttp3.Call v1PositionsGetAsync(String exchangeId, final ApiCallback<List<Position>> _callback); } | @Test public void v1PositionsGetTest() throws ApiException { String exchangeId = null; List<Position> response = api.v1PositionsGet(exchangeId); } |
ValidationError { public ValidationError status(BigDecimal status) { this.status = status; return this; } ValidationError type(String type); @javax.annotation.Nullable @ApiModelProperty(example = "https://tools.ietf.org/html/rfc7231#section-6.5.1", value = "") String getType(); void setType(String type); ValidationError title(String title); @javax.annotation.Nullable @ApiModelProperty(example = "One or more validation errors occurred.", value = "") String getTitle(); void setTitle(String title); ValidationError status(BigDecimal status); @javax.annotation.Nullable @ApiModelProperty(example = "400", value = "") BigDecimal getStatus(); void setStatus(BigDecimal status); ValidationError traceId(String traceId); @javax.annotation.Nullable @ApiModelProperty(example = "d200e8b5-4271a5461ce5342f", value = "") String getTraceId(); void setTraceId(String traceId); ValidationError errors(String errors); @javax.annotation.Nullable @ApiModelProperty(value = "") String getErrors(); void setErrors(String errors); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_TYPE; static final String SERIALIZED_NAME_TITLE; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_TRACE_ID; static final String SERIALIZED_NAME_ERRORS; } | @Test public void statusTest() { } |
ValidationError { public ValidationError traceId(String traceId) { this.traceId = traceId; return this; } ValidationError type(String type); @javax.annotation.Nullable @ApiModelProperty(example = "https://tools.ietf.org/html/rfc7231#section-6.5.1", value = "") String getType(); void setType(String type); ValidationError title(String title); @javax.annotation.Nullable @ApiModelProperty(example = "One or more validation errors occurred.", value = "") String getTitle(); void setTitle(String title); ValidationError status(BigDecimal status); @javax.annotation.Nullable @ApiModelProperty(example = "400", value = "") BigDecimal getStatus(); void setStatus(BigDecimal status); ValidationError traceId(String traceId); @javax.annotation.Nullable @ApiModelProperty(example = "d200e8b5-4271a5461ce5342f", value = "") String getTraceId(); void setTraceId(String traceId); ValidationError errors(String errors); @javax.annotation.Nullable @ApiModelProperty(value = "") String getErrors(); void setErrors(String errors); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_TYPE; static final String SERIALIZED_NAME_TITLE; static final String SERIALIZED_NAME_STATUS; static final String SERIALIZED_NAME_TRACE_ID; static final String SERIALIZED_NAME_ERRORS; } | @Test public void traceIdTest() { } |
RunListBuilder { public List<String> build() { return ImmutableList.copyOf(list); } RunListBuilder addRecipe(String recipe); RunListBuilder addRecipes(String... recipes); RunListBuilder addRole(String role); RunListBuilder addRoles(String... roles); List<String> build(); } | @Test public void testNoneRecipe() { RunListBuilder options = new RunListBuilder(); assertEquals(options.build(), ImmutableList.<String> of()); } |
ChefApiErrorRetryHandler implements HttpRetryHandler { public boolean shouldRetryRequest(HttpCommand command, HttpResponse response) { if (command.getFailureCount() > retryCountLimit) return false; if (response.getStatusCode() == 400 && command.getCurrentRequest().getMethod().equals("PUT") && command.getCurrentRequest().getEndpoint().getPath().indexOf("sandboxes") != -1) { if (response.getPayload() != null) { String error = new String(closeClientButKeepContentStream(response)); if (error != null && error.indexOf("was not uploaded") != -1) { return backoffLimitedRetryHandler.shouldRetryRequest(command, response); } } } return false; } @Inject ChefApiErrorRetryHandler(BackoffLimitedRetryHandler backoffLimitedRetryHandler); boolean shouldRetryRequest(HttpCommand command, HttpResponse response); } | @Test public void test401DoesNotRetry() { HttpCommand command = createMock(HttpCommand.class); HttpResponse response = createMock(HttpResponse.class); BackoffLimitedRetryHandler retry = createMock(BackoffLimitedRetryHandler.class); expect(command.getFailureCount()).andReturn(0); expect(response.getStatusCode()).andReturn(401).atLeastOnce(); replay(response); replay(retry); replay(command); ChefApiErrorRetryHandler handler = new ChefApiErrorRetryHandler(retry); assert !handler.shouldRetryRequest(command, response); verify(retry); verify(command); verify(response); }
@Test public void test400DoesNotRetry() { HttpCommand command = createMock(HttpCommand.class); HttpResponse response = createMock(HttpResponse.class); BackoffLimitedRetryHandler retry = createMock(BackoffLimitedRetryHandler.class); expect(command.getFailureCount()).andReturn(0); expect(response.getStatusCode()).andReturn(401).atLeastOnce(); replay(response); replay(retry); replay(command); ChefApiErrorRetryHandler handler = new ChefApiErrorRetryHandler(retry); assert !handler.shouldRetryRequest(command, response); verify(retry); verify(command); verify(response); }
@Test public void testRetryOn400PutSandbox() { HttpCommand command = createMock(HttpCommand.class); BackoffLimitedRetryHandler retry = createMock(BackoffLimitedRetryHandler.class); HttpRequest request = HttpRequest.builder().method("PUT") .endpoint("https: .build(); HttpResponse response = HttpResponse .builder() .statusCode(400) .message("400 Bad Request") .payload( "{\"error\":[\"Cannot update sandbox bfd68d4052f44053b2e593a33b5e1cd5: checksum 9b7c23369f4b576451216c39f214af6c was not uploaded\"]}") .build(); expect(command.getFailureCount()).andReturn(0); expect(command.getCurrentRequest()).andReturn(request).atLeastOnce(); expect(retry.shouldRetryRequest(command, response)).andReturn(true); replay(retry); replay(command); ChefApiErrorRetryHandler handler = new ChefApiErrorRetryHandler(retry); assert handler.shouldRetryRequest(command, response); verify(retry); verify(command); } |
BaseChefService implements ChefService { @VisibleForTesting String buildBootstrapConfiguration(Iterable<String> runList, Optional<JsonBall> jsonAttributes) { checkNotNull(runList, "runList must not be null"); checkNotNull(jsonAttributes, "jsonAttributes must not be null"); Map<String, Object> bootstrapConfig = Maps.newHashMap(); bootstrapConfig.put("run_list", Lists.newArrayList(runList)); if (jsonAttributes.isPresent()) { Map<String, Object> attributes = json.fromJson(jsonAttributes.get().toString(), BootstrapConfigForGroup.BOOTSTRAP_CONFIG_TYPE); bootstrapConfig.putAll(attributes); } return json.toJson(bootstrapConfig); } @Inject protected BaseChefService(ChefContext chefContext, ChefApi api,
CleanupStaleNodesAndClients cleanupStaleNodesAndClients,
CreateNodeAndPopulateAutomaticAttributes createNodeAndPopulateAutomaticAttributes,
DeleteAllNodesInList deleteAllNodesInList, ListNodes listNodes, DeleteAllClientsInList deleteAllClientsInList,
ListClients listClients, ListCookbookVersions listCookbookVersions,
UpdateAutomaticAttributesOnNode updateAutomaticAttributesOnNode, Supplier<PrivateKey> privateKey,
@Named(CHEF_BOOTSTRAP_DATABAG) String databag, GroupToBootScript groupToBootScript,
BootstrapConfigForGroup bootstrapConfigForGroup, RunListForGroup runListForGroup,
ListEnvironments listEnvironments, Json json); @Override void cleanupStaleNodesAndClients(String prefix, int secondsStale); @Override Node createNodeAndPopulateAutomaticAttributes(String nodeName, Iterable<String> runList); @Override void deleteAllNodesInList(Iterable<String> names); @Override Iterable<? extends Node> listNodes(); @Override Iterable<? extends Node> listNodesMatching(Predicate<String> nodeNameSelector); @Override Iterable<? extends Node> listNodesNamed(Iterable<String> names); @Override void deleteAllClientsInList(Iterable<String> names); @Override Iterable<? extends Client> listClientsDetails(); @Override Iterable<? extends Client> listClientsDetailsMatching(Predicate<String> clientNameSelector); @Override Iterable<? extends Client> listClientsNamed(Iterable<String> names); @Override Iterable<? extends CookbookVersion> listCookbookVersions(); @Override Iterable<? extends CookbookVersion> listCookbookVersionsMatching(Predicate<String> cookbookNameSelector); @Override Iterable<? extends CookbookVersion> listCookbookVersionsNamed(Iterable<String> names); @Override void updateAutomaticAttributesOnNode(String nodeName); @Override ChefContext getContext(); @Override Statement createBootstrapScriptForGroup(String group); @Override @Deprecated void updateRunListForGroup(Iterable<String> runList, String group); @Override void updateBootstrapConfigForGroup(Iterable<String> runList, String group); @Override void updateBootstrapConfigForGroup(Iterable<String> runList, @Nullable JsonBall jsonAttributes, String group); @Override List<String> getRunListForGroup(String group); @Override JsonBall getBootstrapConfigForGroup(String group); @Override byte[] decrypt(InputSupplier<? extends InputStream> supplier); @Override byte[] encrypt(InputSupplier<? extends InputStream> supplier); @Override Iterable<? extends Environment> listEnvironments(); @Override Iterable<? extends Environment> listEnvironmentsMatching(Predicate<String> environmentNameSelector); @Override Iterable<? extends Environment> listEnvironmentsNamed(Iterable<String> names); } | @Test(expectedExceptions = NullPointerException.class, expectedExceptionsMessageRegExp = "runList must not be null") public void testBuildBootstrapConfigurationWithNullRunlist() { chefService.buildBootstrapConfiguration(null, null); }
@Test(expectedExceptions = NullPointerException.class, expectedExceptionsMessageRegExp = "jsonAttributes must not be null") public void testBuildBootstrapConfigurationWithNullJsonAttributes() { chefService.buildBootstrapConfiguration(ImmutableList.<String> of(), null); } |
GroupToBootScript implements Function<String, Statement> { public Statement apply(String group) { checkNotNull(group, "group"); String validatorClientName = validatorName.get(); PrivateKey validatorKey = validatorCredential.get(); JsonBall bootstrapConfig = null; try { bootstrapConfig = bootstrapConfigForGroup.load(group); } catch (Exception e) { throw propagate(e); } String chefConfigDir = "{root}etc{fs}chef"; Statement createChefConfigDir = exec("{md} " + chefConfigDir); Statement createClientRb = appendFile(chefConfigDir + "{fs}client.rb", ImmutableList.of("require 'rubygems'", "require 'ohai'", "o = Ohai::System.new", "o.all_plugins", String.format("node_name \"%s-\" + o[:ipaddress]", group), "log_level :info", "log_location STDOUT", String.format("validation_client_name \"%s\"", validatorClientName), String.format("chef_server_url \"%s\"", endpoint.get()))); Statement createValidationPem = appendFile(chefConfigDir + "{fs}validation.pem", Splitter.on('\n').split(Pems.pem(validatorKey))); String chefBootFile = chefConfigDir + "{fs}first-boot.json"; Statement createFirstBoot = appendFile(chefBootFile, Collections.singleton(json.toJson(bootstrapConfig))); Statement runChef = exec("chef-client -j " + chefBootFile); return newStatementList(installChefGems, createChefConfigDir, createClientRb, createValidationPem, createFirstBoot, runChef); } @Inject GroupToBootScript(@Provider Supplier<URI> endpoint, Json json,
CacheLoader<String, ? extends JsonBall> bootstrapConfigForGroup,
@Named("installChefGems") Statement installChefGems, @Validator Optional<String> validatorName,
@Validator Optional<PrivateKey> validatorCredential); Statement apply(String group); } | @Test(expectedExceptions = IllegalStateException.class) public void testMustHaveValidatorName() { GroupToBootScript fn = new GroupToBootScript(Suppliers.ofInstance(URI.create("http: CacheLoader.from(Functions.forMap(ImmutableMap.<String, DatabagItem> of())), installChefGems, Optional.<String> absent(), validatorCredential); fn.apply("foo"); }
@Test(expectedExceptions = IllegalStateException.class) public void testMustHaveValidatorCredential() { GroupToBootScript fn = new GroupToBootScript(Suppliers.ofInstance(URI.create("http: CacheLoader.from(Functions.forMap(ImmutableMap.<String, DatabagItem> of())), installChefGems, validatorName, Optional.<PrivateKey> absent()); fn.apply("foo"); }
@Test(expectedExceptions = IllegalArgumentException.class, expectedExceptionsMessageRegExp = "Key 'foo' not present in map") public void testMustHaveRunScriptsName() { GroupToBootScript fn = new GroupToBootScript(Suppliers.ofInstance(URI.create("http: CacheLoader.from(Functions.forMap(ImmutableMap.<String, DatabagItem> of())), installChefGems, validatorName, validatorCredential); fn.apply("foo"); }
@Test(expectedExceptions = NullPointerException.class, expectedExceptionsMessageRegExp = "null value in entry: foo=null") public void testMustHaveRunScriptsValue() { GroupToBootScript fn = new GroupToBootScript(Suppliers.ofInstance(URI.create("http: CacheLoader.from(Functions.forMap(ImmutableMap.<String, DatabagItem> of("foo", (DatabagItem) null))), installChefGems, validatorName, validatorCredential); fn.apply("foo"); } |
ParseErrorFromJsonOrReturnBody implements Function<HttpResponse, String> { @Override public String apply(HttpResponse response) { String content = returnStringIf200.apply(response); if (content == null) return null; return parse(content); } @Inject ParseErrorFromJsonOrReturnBody(ReturnStringIf2xx returnStringIf200); @Override String apply(HttpResponse response); String parse(String in); } | @Test public void testApplyInputStreamDetails() throws UnknownHostException { InputStream is = Strings2 .toInputStream("{\"error\":[\"invalid tarball: tarball root must contain java-bytearray\"]}"); ParseErrorFromJsonOrReturnBody parser = new ParseErrorFromJsonOrReturnBody(new ReturnStringIf2xx()); String response = parser.apply(HttpResponse.builder().statusCode(200).message("ok").payload(is).build()); assertEquals(response, "invalid tarball: tarball root must contain java-bytearray"); } |
BootstrapConfigForGroup implements Function<String, DatabagItem> { @Override public DatabagItem apply(String from) { DatabagItem bootstrapConfig = api.getDatabagItem(databag, from); checkState(bootstrapConfig != null, "databag item %s/%s not found", databag, from); return bootstrapConfig; } @Inject BootstrapConfigForGroup(@Named(CHEF_BOOTSTRAP_DATABAG) String databag, ChefApi api); @Override DatabagItem apply(String from); static final Type BOOTSTRAP_CONFIG_TYPE; } | @Test(expectedExceptions = IllegalStateException.class) public void testWhenNoDatabagItem() throws IOException { ChefApi chefApi = createMock(ChefApi.class); Client client = createMock(Client.class); BootstrapConfigForGroup fn = new BootstrapConfigForGroup("jclouds", chefApi); expect(chefApi.getDatabagItem("jclouds", "foo")).andReturn(null); replay(client); replay(chefApi); fn.apply("foo"); verify(client); verify(chefApi); }
@Test public void testReturnsItem() throws IOException { ChefApi chefApi = createMock(ChefApi.class); Api api = createMock(Api.class); BootstrapConfigForGroup fn = new BootstrapConfigForGroup("jclouds", chefApi); DatabagItem config = new DatabagItem("foo", "{\"tomcat6\":{\"ssl_port\":8433},\"run_list\":[\"recipe[apache2]\",\"role[webserver]\"]}"); expect(chefApi.getDatabagItem("jclouds", "foo")).andReturn(config); replay(api); replay(chefApi); assertEquals(fn.apply("foo"), config); verify(api); verify(chefApi); } |
RunListForGroup implements Function<String, List<String>> { @Override public List<String> apply(String from) { DatabagItem bootstrapConfig = bootstrapConfigForGroup.apply(from); Map<String, JsonBall> config = json.fromJson(bootstrapConfig.toString(), BootstrapConfigForGroup.BOOTSTRAP_CONFIG_TYPE); JsonBall runlist = config.get("run_list"); return json.fromJson(runlist.toString(), RUN_LIST_TYPE); } @Inject RunListForGroup(BootstrapConfigForGroup bootstrapConfigForGroup, Json json); @Override List<String> apply(String from); static final Type RUN_LIST_TYPE; } | @Test(expectedExceptions = IllegalStateException.class) public void testWhenNoDatabagItem() throws IOException { ChefApi chefApi = createMock(ChefApi.class); Client client = createMock(Client.class); RunListForGroup fn = new RunListForGroup(new BootstrapConfigForGroup("jclouds", chefApi), json); expect(chefApi.getDatabagItem("jclouds", "foo")).andReturn(null); replay(client); replay(chefApi); fn.apply("foo"); verify(client); verify(chefApi); }
@Test public void testReadRunList() throws IOException { ChefApi chefApi = createMock(ChefApi.class); Api api = createMock(Api.class); RunListForGroup fn = new RunListForGroup(new BootstrapConfigForGroup("jclouds", chefApi), json); DatabagItem config = new DatabagItem("foo", "{\"tomcat6\":{\"ssl_port\":8433},\"run_list\":[\"recipe[apache2]\",\"role[webserver]\"]}"); expect(chefApi.getDatabagItem("jclouds", "foo")).andReturn(config); replay(api); replay(chefApi); assertEquals(fn.apply("foo"), ImmutableList.of("recipe[apache2]", "role[webserver]")); verify(api); verify(chefApi); } |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.