backtestingUtils

package
v0.0.0-...-63bcbcd Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HistoricalData [][][]string

global variable for HistoricalData

Functions

func GetOfflineAsk

func GetOfflineAsk(currRow int64) decimal.Decimal

function to get the ask price from a given row in the excel spreadsheet

func GetOfflineBid

func GetOfflineBid(currRow int64) decimal.Decimal

function to get the bid price from a given row in the excel spreadsheet

func InitialiseFunds

func InitialiseFunds(xbtFunds decimal.Decimal, xrpStock decimal.Decimal)

func TradeOffline

func TradeOffline(b *live.RsiBot)

TradeOffline function to execute trades using historical data

Types

This section is empty.

Jump to

Keyboard shortcuts

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