evaluators

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DoubleTransaction = types.Evaluator{
	Name:       "Double Transaction",
	Evaluation: doubleTransaction,
}

DoubleTransaction submits a two transactions to the server and queries the trial balance, it expects both transactions to be in the trial balance and no errors as a response

View Source
var DoubleTransactionIgnoreOne = types.Evaluator{
	Name:       "Double Transaction Ignore One",
	Evaluation: doubleTransactionIgnoreOne,
}

DoubleTransactionIgnoreOne submits a two transactions to the server and queries the trial balance at a date in between the two so it expects only one transaction in the trial balance and no errors as a response

View Source
var SingleTransaction = types.Evaluator{
	Name:       "Single Transaction",
	Evaluation: singleTransaction,
}

SingleTransaction submits a single transaction to the server and expects no errors as a response

View Source
var TradingSimulator = types.Evaluator{
	Name:       "Trading Simulator",
	Evaluation: tradingSimulator,
}

TradingSimulator submits a random transactions to the server

Functions

This section is empty.

Types

type Trade added in v0.6.0

type Trade struct {
	// contains filtered or unexported fields
}

Account holds the name and balance

Jump to

Keyboard shortcuts

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