tradingutil

package
v1.55.3 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: AGPL-3.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggregateTradesQuantity

func AggregateTradesQuantity(trades []types.Trade) fixedpoint.Value

func CollectTradeFee

func CollectTradeFee(trades []types.Trade) map[string]fixedpoint.Value

CollectTradeFee collects the fee from the given trade slice

Types

This section is empty.

Jump to

Keyboard shortcuts

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