cli

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagAddress         = "address"
	FlagTakeProfitPrice = "take-profit"
	FlagStopLossPrice   = "stop-loss"
	FlagLimitPrice      = "limit-price"
)
View Source
const (
	FlagLeverageMax                         = "leverage-max"
	FlagBorrowInterestRateMax               = "borrow-interest-rate-max"
	FlagBorrowInterestRateMin               = "borrow-interest-rate-min"
	FlagBorrowInterestRateIncrease          = "borrow-interest-rate-increase"
	FlagBorrowInterestRateDecrease          = "borrow-interest-rate-decrease"
	FlagHealthGainFactor                    = "health-gain-factor"
	FlagMaxOpenPositions                    = "max-open-positions"
	FlagPoolOpenThreshold                   = "pool-open-threshold"
	FlagBorrowInterestPaymentEnabled        = "borrow-interest-payment-enabled"
	FlagBorrowInterestPaymentFundPercentage = "borrow-interest-payment-fund-percentage"
	FlagBorrowInterestPaymentFundAddress    = "borrow-interest-payment-fund-address"
	FlagSafetyFactor                        = "safety-factor"
	FlagWhitelistingEnabled                 = "whitelisting-enabled"
	FlagEpochLength                         = "epoch-length"
)
View Source
const FlagExpedited = "expedited"

Variables

This section is empty.

Functions

func CmdClose

func CmdClose() *cobra.Command

func CmdCloseEstimation added in v0.47.0

func CmdCloseEstimation() *cobra.Command

func CmdClosePositions added in v0.45.0

func CmdClosePositions() *cobra.Command

func CmdDewhitelist

func CmdDewhitelist() *cobra.Command

func CmdGetPositions

func CmdGetPositions() *cobra.Command

func CmdGetPositionsByPool

func CmdGetPositionsByPool() *cobra.Command

func CmdGetPositionsForAddress

func CmdGetPositionsForAddress() *cobra.Command

func CmdGetStatus

func CmdGetStatus() *cobra.Command

func CmdGetWhitelist

func CmdGetWhitelist() *cobra.Command

func CmdIsWhitelisted

func CmdIsWhitelisted() *cobra.Command

func CmdListPool

func CmdListPool() *cobra.Command

func CmdMtp

func CmdMtp() *cobra.Command

func CmdOpen

func CmdOpen() *cobra.Command

func CmdOpenEstimation

func CmdOpenEstimation() *cobra.Command

func CmdQueryParams

func CmdQueryParams() *cobra.Command

func CmdShowPool

func CmdShowPool() *cobra.Command

func CmdUpdateParams

func CmdUpdateParams() *cobra.Command

Governance command

func CmdUpdateStopLoss added in v0.45.0

func CmdUpdateStopLoss() *cobra.Command

func CmdUpdateTakeProfitPrice added in v0.46.0

func CmdUpdateTakeProfitPrice() *cobra.Command

func CmdWhitelist

func CmdWhitelist() *cobra.Command

func GetQueryCmd

func GetQueryCmd(queryRoute string) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

Types

This section is empty.

Jump to

Keyboard shortcuts

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