deals

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deal

type Deal struct {
	DealID     int64           `json:"deal_id"`
	AccountID  int64           `json:"account_id"`
	Ticket     int64           `json:"ticket"`
	Magic      sql.NullInt64   `json:"magic"`
	OrderID    sql.NullInt64   `json:"order_id"`
	Symbol     sql.NullString  `json:"symbol"`
	DealTime   time.Time       `json:"deal_time"`
	DealType   string          `json:"deal_type"`
	Entry      string          `json:"entry"`
	PositionId int64           `json:"position_id"`
	Volume     float64         `json:"volume"`
	Price      float64         `json:"price"`
	Commission sql.NullFloat64 `json:"commission"`
	Swap       sql.NullFloat64 `json:"swap"`
	Profit     sql.NullFloat64 `json:"profit"`
	Comment    string          `json:"comment"`
	ExternalId string          `json:"external_id"`
	Created    time.Time       `json:"created"`
	Updated    time.Time       `json:"updated"`
	Deleted    sql.NullTime    `json:"deleted"`
	Reason     int64           `json:"reason"`
	DealFee    sql.NullFloat64 `json:"deal_fee"`
}

Deal Properties

Directories

Path Synopsis
package dealsrepo is a generated GoMock package.
package dealsrepo is a generated GoMock package.
package dealssvc is a generated GoMock package.
package dealssvc is a generated GoMock package.

Jump to

Keyboard shortcuts

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