package
Version:
v0.0.0-...-da6233f
Opens a new window with list of versions in this module.
Published: Nov 3, 2020
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Buy struct {
Ticket, Currency, Broker string
Volume int
Price int64
}
Buy keeps the buy order data
Execute the buy order for the ticket
Help represents the help command
Execute help command, printing all available commands
type Sell struct {
Ticket, Currency, Broker string
Volume int
Price int64
}
Sell keeps the sell order data
Execute the sell order for the ticket
View is the command to print the current portfolio
NewView view command to print the portfolio
Execute prints the portfolio
Source Files
¶
Click to show internal directories.
Click to hide internal directories.