Documentation
¶
Index ¶
- Constants
- func CancelMarket(cdc *codec.Codec) *cobra.Command
- func CancelOrder(cdc *codec.Codec) *cobra.Command
- func CheckCancelMarketMsg(cdc *codec.Codec, cliCtx context.CLIContext, msg market.MsgCancelTradingPair) error
- func CheckSenderAndOrderID(sender []byte, orderID string) (market.MsgCancelOrder, error)
- func CreateGTEOrderTxCmd(cdc *codec.Codec) *cobra.Command
- func CreateIOCOrderTxCmd(cdc *codec.Codec) *cobra.Command
- func CreateMarketCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func QueryMarketCmd(cdc *codec.Codec) *cobra.Command
- func QueryOrderCmd(cdc *codec.Codec) *cobra.Command
- func QueryUserOrderList(cdc *codec.Codec) *cobra.Command
- func QueryWaitCancelMarkets(cdc *codec.Codec) *cobra.Command
Constants ¶
View Source
const ( FlagStock = "stock" FlagMoney = "money" FlagPricePrecision = "price-precision" )
View Source
const ( FlagSymbol = "trading-pair" FlagOrderType = "order-type" FlagPrice = "price" FlagQuantity = "quantity" FlagSide = "side" FlagOrderID = "order-id" FlagBlocks = "blocks" FlagTime = "time" )
Variables ¶
This section is empty.
Functions ¶
func CheckCancelMarketMsg ¶
func CheckCancelMarketMsg(cdc *codec.Codec, cliCtx context.CLIContext, msg market.MsgCancelTradingPair) error
func CheckSenderAndOrderID ¶
func CheckSenderAndOrderID(sender []byte, orderID string) (market.MsgCancelOrder, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.