cli

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2022 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 CmdQueryParams

func CmdQueryParams() *cobra.Command

func CmdQueryPosition added in v0.4.0

func CmdQueryPosition() *cobra.Command

sample token-pair: btc:nusd

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

func LiquidateCmd added in v0.4.15

func LiquidateCmd() *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