mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
max: fix trades command
This commit is contained in:
parent
4567901b6b
commit
613514e6c0
|
@ -58,7 +58,7 @@ case "$command" in
|
|||
market=$1
|
||||
declare -A orders_params=()
|
||||
orders_params[market]=$market
|
||||
myOrders orders_params
|
||||
myOrders orders_params | jq -r '.[] | "\(.id) \(.market) \(.side) \(.price) \t \(.volume) \(.state)"'
|
||||
;;
|
||||
|
||||
trades)
|
||||
|
@ -70,6 +70,6 @@ case "$command" in
|
|||
market=$1
|
||||
declare -A trades_params=()
|
||||
trades_params[market]=$market
|
||||
myTrades trades_params
|
||||
myTrades trades_params | jq -r '.[] | "\(.id) \(.market) \(.side) \(.price) \t \(.volume) fee = \(.fee) \(.fee_currency)"'
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue
Block a user