
org.knowm.xchange.binance.dto.trade.OrderStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-binance Show documentation
Show all versions of xchange-binance Show documentation
Development fork. Not for general use.
The newest version!
package org.knowm.xchange.binance.dto.trade;
import com.fasterxml.jackson.annotation.JsonCreator;
public enum OrderStatus {
NEW,
PARTIALLY_FILLED,
FILLED,
CANCELED,
PENDING_CANCEL,
REJECTED,
EXPIRED;
@JsonCreator
public static OrderStatus getOrderStatus(String s) {
try {
return OrderStatus.valueOf(s);
} catch (Exception e) {
throw new RuntimeException("Unknown order status " + s + ".");
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy