package
0.0.0-20231217171527-ab5ca81a7343
Repository: https://github.com/sklinkert/at.git
Documentation: pkg.go.dev

# README

Paperwallet

A paperwallet can be used any broker implementation. It's useful for brokers that don't offer testing accounts for trading without real money. It keeps track of all trades (broker.Positions), trading fees, and the balance.

For example the broker backtest consists of a paperwallet and reading ticks from various sources.

# Functions

No description provided by the author
No description provided by the author
WithSlippage - slippage that is added to the price when buying/selling.
WithSpread - additional bid/ask spread.
WithTradingFeePercent - fee that is added to bid/ask.

# Variables

No description provided by the author

# Structs

No description provided by the author

# Type aliases

No description provided by the author