reorg

package
v4.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FLOAT = reflect.TypeOf(1.2).Name()
View Source
var INT = reflect.TypeOf(1).Name()
View Source
var INT16 = reflect.TypeOf(int16(1)).Name()
View Source
var INT32 = reflect.TypeOf(int32(1)).Name()
View Source
var INT64 = reflect.TypeOf(int64(1)).Name()
View Source
var INT8 = reflect.TypeOf(int8(1)).Name()
View Source
var STRING = reflect.TypeOf("").Name()
View Source
var TIME = reflect.TypeOf(time.Time{}).Name()
View Source
var UINT = reflect.TypeOf(uint(1)).Name()
View Source
var UINT16 = reflect.TypeOf(uint16(1)).Name()
View Source
var UINT32 = reflect.TypeOf(uint32(1)).Name()
View Source
var UINT64 = reflect.TypeOf(uint64(1)).Name()
View Source
var UINT8 = reflect.TypeOf(uint8(1)).Name()

Functions

func Import

func Import(reorgDir string, reimport bool, storeWithoutSymbol bool)

Types

type Announcement

type Announcement struct {
	EntryDate               time.Time                     `reorg:"line:0 pos:64-72 format:01/02/06"`
	DealNumber              string                        `reorg:"line:1 pos:6-8"`
	TextNumber              int                           `reorg:"line:1 pos:16-23"`
	Remarks                 string                        `reorg:"line:1 pos:33-45"`
	NotificationType        announcement.NotificationType `reorg:"line:1 pos:53 format:%c"`
	Status                  announcement.StatusCode       `reorg:"line:1 pos:54 format:%c"`
	UpdatedNotificationType announcement.NotificationType `reorg:"line:1 pos:55 format:%c"`
	NrOfOptions             string                        `reorg:"line:1 pos:56"`
	SecurityType            announcement.SecurityType     `reorg:"line:1 pos:57 format:%c"`
	EffectiveDate           time.Time                     `reorg:"line:1 pos:64-72 format:01/02/06"`
	TargetCusip             string                        `reorg:"line:2 pos:7-16"`
	TargetDescription       string                        `reorg:"line:2 pos:19-29"`
	InitiatingCusip         string                        `reorg:"line:2 pos:36-45"`
	InitiatingDescription   string                        `reorg:"line:2 pos:48-58"`
	ExpirationDate          time.Time                     `reorg:"line:2 pos:64-72 format:01/02/06"`
	Cash                    float64                       `reorg:"line:3 pos:5-15"`
	CashCode                string                        `reorg:"line:3 pos:19"`
	StateCode               string                        `reorg:"line:3 pos:30-32"`
	RecordDate              time.Time                     `reorg:"line:3 pos:64-72 format:01/02/06"`
	Rate                    float64                       `reorg:"line:4 pos:6-15"`
	RateCode                string                        `reorg:"line:4 pos:19"`
	VoluntaryMandatoryCode  announcement.ActionCode       `reorg:"line:4 pos:33 format:%c"`
	UpdateTextNumber        int                           `reorg:"func:ParseUpdateTextNumber"`
	DeleteTextNumber        int                           `reorg:"func:ParseDeleteTextNumber"`
	NewRate                 float64                       `reorg:"func:ParseNewRate"`
	OldRate                 float64                       `reorg:"func:ParseOldRate"`
	DueRedemptionDate       time.Time                     `reorg:"func:ParseDueRedemptionDate"`
}

func (Announcement) Is

func (Announcement) ParseDeleteTextNumber

func (i Announcement) ParseDeleteTextNumber(lines []string) string

func (Announcement) ParseDueRedemptionDate

func (i Announcement) ParseDueRedemptionDate(lines []string) string

func (Announcement) ParseNewRate

func (i Announcement) ParseNewRate(lines []string) string

func (Announcement) ParseOldRate

func (i Announcement) ParseOldRate(lines []string) string

func (Announcement) ParseUpdateTextNumber

func (i Announcement) ParseUpdateTextNumber(lines []string) string

Jump to

Keyboard shortcuts

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