cli

package
v0.19.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMarginCmd

func AddMarginCmd() *cobra.Command

func ClosePositionCmd added in v0.4.20

func ClosePositionCmd() *cobra.Command

TODO: how is a position idenitfiied? by pair? by id?

func CmdQueryCumulativePremiumFraction added in v0.16.1

func CmdQueryCumulativePremiumFraction() *cobra.Command

sample token-pair: btc:nusd

func CmdQueryMetrics added in v0.16.1

func CmdQueryMetrics() *cobra.Command

sample token-pair: btc:nusd

func CmdQueryParams

func CmdQueryParams() *cobra.Command

func CmdQueryPosition added in v0.4.0

func CmdQueryPosition() *cobra.Command

sample token-pair: btc:nusd

func CmdQueryPositions added in v0.15.0

func CmdQueryPositions() *cobra.Command

func DonateToEcosystemFundCmd added in v0.15.0

func DonateToEcosystemFundCmd() *cobra.Command

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

func MultiLiquidateCmd added in v0.19.0

func MultiLiquidateCmd() *cobra.Command

func OpenPositionCmd added in v0.1.2

func OpenPositionCmd() *cobra.Command

func RemoveMarginCmd

func RemoveMarginCmd() *cobra.Command

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL