estonlabs.cxtl.exchanges.a.specification.domain.AssetClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cxtl Show documentation
Show all versions of cxtl Show documentation
CXTL – Crypto eXchange Trading Library
package estonlabs.cxtl.exchanges.a.specification.domain;
public enum AssetClass{
SPOT,
PERP,
PERP_INVERSE,
OPTION,
FUTURE,
CFD;
public boolean isPerp(){
return this == PERP || this == PERP_INVERSE;
}
}