Documentation ¶
Index ¶
Constants ¶
View Source
const GrayColor = "#f0f0f0"
View Source
const GreenColor = "#228B22"
View Source
const RedColor = "#800000"
Variables ¶
View Source
var DefaultPnLLevelResolution = fixedpoint.NewFromFloat(0.001)
View Source
var LossEmoji = "🔥"
View Source
var ProfitEmoji = "💰"
Functions ¶
func NewDefaultTableStyle ¶
func PnLColor ¶
func PnLColor(pnl fixedpoint.Value) string
func PnLEmojiMargin ¶
func PnLEmojiMargin(pnl, margin, resolution fixedpoint.Value) (out string)
func PnLEmojiSimple ¶
func PnLEmojiSimple(pnl fixedpoint.Value) string
func PnLSignString ¶
func PnLSignString(pnl fixedpoint.Value) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.