controller

package
v0.0.0-...-f9f454f Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticatedGetBots

func AuthenticatedGetBots(c echo.Context) error

AuthenticatedGetBots returns a json representation of all the bots without filters

func AuthenticatedGetBotsHistory

func AuthenticatedGetBotsHistory(c echo.Context) error

AuthenticatedGetBotsHistory returns a json representation of all the bots with historical data without filters

func GenerateBotID

func GenerateBotID(c echo.Context) error

GenerateBotID returns a new bot ID

func Init

func Init()

func IsIPAllowed

func IsIPAllowed(c echo.Context) bool

IsIPAllowed returns false if API is getting spammed

func PublicGetCount

func PublicGetCount(c echo.Context) error

PublicGetCount returns the number of total / yearly / monthly / daily active bots

func RegisterBot

func RegisterBot(c echo.Context) error

RegisterBot registers a bot as started (creates a new bot if necessary)

func TopEvaluationConfigs

func TopEvaluationConfigs(c echo.Context) error

TopEvaluationConfigs return the top of bot current sessions trading modes and evaluators

func TopExchanges

func TopExchanges(c echo.Context) error

TopExchanges return the top of bot current sessions exchanges

func TopPairs

func TopPairs(c echo.Context) error

TopPairs return the top of bot current sessions pairs

func TopTradingModes

func TopTradingModes(c echo.Context) error

TopTradingModes return the top of bot current sessions trading modes

func UpdateBotUptimeAndProfitability

func UpdateBotUptimeAndProfitability(c echo.Context) error

UpdateBotUptimeAndProfitability updates a bot uptime

Types

This section is empty.

Jump to

Keyboard shortcuts

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