technical

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsABuy

func IsABuy(currentTokenPrice float64, buyLimit float64, tokenAmountFromSwap float64, tokenAmountFromPrice float64) bool

IsABuy checks if the currentTokenPrice is at a BUY

func IsASell

func IsASell(currentTokenPrice float64, previousTokenPrice float64, sellLimit float64, stopLimit float64) (bool, string, float64)

IsASell checks if the currentTokenPrice is at a SELL

Types

This section is empty.

Jump to

Keyboard shortcuts

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