buy

package
v0.0.0-...-694ccaf Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Login

func Login(session *webdriver.Session, email, password string) error

Types

type Purchase

type Purchase struct {
	Stock    string
	Price    float64
	Delivery string
}

func Do

func Do(link string, maxPrice uint, email, password, userDataDir string, dryRun bool) (*Purchase, error)

Do performs a buy with the given parameters.

Jump to

Keyboard shortcuts

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