add ord_type for max shell api

This commit is contained in:
c9s 2020-12-03 08:52:11 +08:00
parent 0a5bac803c
commit 500c35fd40

View File

@ -58,7 +58,7 @@ case "$command" in
market=$1
declare -A orders_params=()
orders_params[market]=$market
myOrders orders_params | jq -r '.[] | "\(.id) \(.market) \(.side) \(.price) \t \(.volume) \(.state)"'
myOrders orders_params | jq -r '.[] | "\(.id) \(.market) \(.ord_type) \(.side) \(.price) \t \(.volume) \(.state)"'
;;
cancel)