trader
trader
API
quant.trader
common
Utils
exchange
BinanceF
BinanceF
AccountUpdatePosition
AccountUpdatePush
AccountUpdatePushPosition
BinanceBalance
CreateOrderResponse
ListenKeyResponse
Order
OrderPushItem
OrderPushItemO
HttpMethod
Okx
Okx
CreateOrderRequest
Order
Position
RestResponse
RestResponse
Balance
BalanceDetail
CreateOrderResponse
Order
RevokeOrderRequest
RevokeOrderResponse
WsLoginRequest
WsLoginResponse
WsPush
WsRequest
WsSubscribeRequest
WsSubscribeResponse
TestBinance
Main
Metrics
Kdj
Kdj
Ma
Macd
Macd
MidPrice
Offset
StrategyState
Tick
Trader
Trader
Balance
BatchRevokeOrdersItem
Kline
LimitOrderFlag
MarginMode
OkxBatchRevokeOrdersItem
Order
OrderAction
OrderAction
OrderState
OrderState
OrderType
Limit
Market
Position
PositionSide
Volatility
trader
/
quant.trader
/
Trader
Trader
quant.trader.Trader
See the
Trader
companion object
trait
Trader
Attributes
Companion
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Known subtypes
class
BinanceF
class
Okx
Members list
Clear all
Value members
Abstract methods
def
createOrder
(
action
:
OrderAction
,
orderType
:
OrderType
,
quantity
:
Double
,
clientOrderID
:
Option
[
String
],
marginMode
:
MarginMode
):
Task
[
String
]
def
getBalance
(
currency
:
String
):
Task
[
Balance
]
def
getOpenOrders
(
):
Task
[
Seq
[
Order
]]
def
getOrder
(
orderID
:
Option
[
String
],
clientOrderID
:
Option
[
String
]):
Task
[
Order
]
def
klineStream
(
interval
:
String
):
ZStream
[
Any
,
Throwable
,
Kline
]
def
klines
(
interval
:
String
,
limit
:
Int
):
Task
[
Seq
[
Kline
]]
def
orderStream
(
):
ZStream
[
Any
,
Throwable
,
Order
]
def
positionStream
(
):
ZStream
[
Any
,
Throwable
,
Position
]
def
revokeOrder
(
orderID
:
Option
[
String
],
clientOrderID
:
Option
[
String
]):
Task
[
Unit
]
def
revokeOrders
(
orders
:
Seq
[
BatchRevokeOrdersItem
]):
Task
[
Unit
]
def
start
(
):
Task
[
Unit
]
In this article
Attributes
Members list
Value members
Abstract methods