Search
Preparing search index...
The search index is not available
xud
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"cli/commands/tradehistory"
Module "cli/commands/tradehistory"
Index
Variables
HEADERS
command
describe
Functions
builder
display
Trades
handler
Variables
Const
HEADERS
HEADERS
:
string
[]
= [colors.blue('Execution'),colors.blue('Price'),colors.blue('Role'),colors.blue('Order Id'),colors.blue('Order Id (Counterparty)'),colors.blue('Swap Hash'),colors.blue('Executed At'),]
Const
command
command
:
"tradehistory [limit]"
= "tradehistory [limit]"
Const
describe
describe
:
"list completed trades"
= "list completed trades"
Functions
Const
builder
builder
(
argv
:
Argv
)
:
Argv
<
{}
&
{}
>
Parameters
argv:
Argv
Returns
Argv
<
{}
&
{}
>
Const
display
Trades
display
Trades
(
trades
:
TradeHistoryResponse.AsObject
)
:
void
Parameters
trades:
TradeHistoryResponse.AsObject
Returns
void
Const
handler
handler
(
argv
:
Arguments
<
any
>
)
:
Promise
<
void
>
Parameters
argv:
Arguments
<
any
>
Returns
Promise
<
void
>
Globals
"cli/commands/tradehistory"
HEADERS
command
describe
builder
display
Trades
handler
Generated using
TypeDoc