Okx

quant.trader.exchange.Okx
See theOkx companion class
object Okx

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Okx.type

Members list

Type members

Classlikes

case class CreateOrderRequest(side: String, instId: String, tdMode: String, ordType: String, px: Option[String], sz: String, clOrdId: Option[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Order(ordId: String, clOrdId: String, accFillSz: String, fee: String, px: String, sz: String, avgPx: String, ordType: String, side: String, tdMode: String, fillPx: String, fillSz: String, state: String, cTime: String, uTime: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Position(posId: String, posSide: String, pos: String, availPos: String, mgnMode: String, avgPx: String, cTime: String, uTime: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class RestResponse[T](code: String, data: T)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object RestResponse

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class RevokeOrderRequest(instId: String, ordId: Option[String], clOrdId: Option[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class RevokeOrderResponse(ordId: String, clOrdId: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SetLeverageReq(instId: String, lever: String, mgnMode: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class WsLoginRequest(apiKey: String, passphrase: String, timestamp: String, sign: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class WsLoginResponse(event: String, code: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class WsPush[T](data: T)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class WsRequest[T](op: String, args: Seq[T])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class WsSubscribeRequest(channel: String, instType: String, instId: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class WsSubscribeResponse(event: String, arg: Json)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all