Documentation
¶
Index ¶
- func AddMarginCmd() *cobra.Command
- func ClosePositionCmd() *cobra.Command
- func CmdQueryFundingRates() *cobra.Command
- func CmdQueryParams() *cobra.Command
- func CmdQueryPosition() *cobra.Command
- func CmdQueryPositions() *cobra.Command
- func DonateToEcosystemFundCmd() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
- func LiquidateCmd() *cobra.Command
- func OpenPositionCmd() *cobra.Command
- func RemoveMarginCmd() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMarginCmd ¶
func ClosePositionCmd ¶ added in v0.4.20
TODO: how is a position idenitfiied? by pair? by id?
func CmdQueryFundingRates ¶ added in v0.15.0
sample token-pair: btc:nusd
func CmdQueryParams ¶
func CmdQueryPosition ¶ added in v0.4.0
sample token-pair: btc:nusd
func CmdQueryPositions ¶ added in v0.15.0
func DonateToEcosystemFundCmd ¶ added in v0.15.0
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func LiquidateCmd ¶ added in v0.4.15
func OpenPositionCmd ¶ added in v0.1.2
func RemoveMarginCmd ¶
RemoveMarginCmd is a CLI command that removes margin from a position, realizing any outstanding funding payments and decreasing the margin ratio.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.