publicapi

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package publicapi provides shared utilities for the Public.com API client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatGainLoss

func FormatGainLoss(value string) string

FormatGainLoss formats a gain/loss value with +/- prefix. Returns "$0.00" for empty, zero, or invalid values.

func FormatVolume

func FormatVolume(vol int64) string

FormatVolume formats a volume number with thousand separators. Returns "-" for zero values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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