Documentation ¶
Index ¶
- type ConversionOrExercisePrice
- type DB_BaseForm4
- type DB_DeltaForm
- type DB_DerivativeTransaction
- type DB_FeaturedIssuer
- type DB_Form13F_Base
- type DB_Form13F_Holding
- type DB_Form13F_ISSUER
- type DB_Issuer
- type DB_Issuer_Doc
- type DB_NonDerivativeTransaction
- type DB_Reporter
- type DB_Reporter_Doc
- type DB_Sector
- type DB_Sector_Historical
- type DB_Sector_Id
- type DB_SentimentDay
- type DeemedExecutionDate
- type DerivativeHolding
- type DerivativeTable
- type DerivativeTransaction
- type DirectOrIndirectOwnership
- type ExerciseDate
- type ExpirationDate
- type Issuer
- type NatureOfOwnership
- type NonDerivativeHolding
- type NonDerivativeTable
- type NonDerivativeTransaction
- type OwnerSignature
- type OwnershipNature
- type PostTransactionAmounts
- type RawForm4
- type ReportingOwner
- type ReportingOwnerAddress
- type ReportingOwnerId
- type ReportingOwnerRelationship
- type SecApiResponse
- type SecurityTitle
- type SharesOwnedFollowingTransaction
- type Split
- type StockData
- type Top_From_Sector
- type Top_From_Sector_Entry
- type TransactionAcquiredDisposedCode
- type TransactionAmounts
- type TransactionCoding
- type TransactionDate
- type TransactionPricePerShare
- type TransactionShares
- type TransactionTimeliness
- type TransactionTotalValue
- type UnderlyingSecurity
- type UnderlyingSecurityShares
- type UnderlyingSecurityTitle
- type UnderlyingSecurityValue
- type ValueOwnedFollowingTransaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB_BaseForm4 ¶
type DB_BaseForm4 struct { Parsed bool `json:"parsed" bson:"parsed"` PeriodOfReport string `json:"periodOfReport" bson:"periodOfReport"` AccessionNumber string `json:"accessionNumber" bson:"accessionNumber"` Url string `json:"url" bson:"url"` DateAdded string `json:"dateAdded" bson:"dateAdded"` Issuer DB_Issuer `json:"issuer" bson:"issuer"` Reporters []DB_Reporter `json:"reporters" bson:"reporters"` DerivativeTransactions []DB_DerivativeTransaction `json:"derivativeTransactions" bson:"derivativeTransactions"` NonDerivativeTransactions []DB_NonDerivativeTransaction `json:"nonDerivativeTransactions" bson:"nonDerivativeTransactions"` }
type DB_DeltaForm ¶
type DB_DeltaForm struct { AccessionNumber string `json:"accessionNumber" bson:"accessionNumber"` FormClass string `json:"formClass" bson:"formClass"` PeriodOfReport string `json:"periodOfReport" bson:"periodOfReport"` NetTotal float32 `json:"netTotal" bson:"netTotal"` BuyOrSell string `json:"buyOrSell" bson:"buyOrSell"` Url string `json:"url" bson:"url"` DateAdded string `json:"dateAdded" bson:"dateAdded"` Issuer DB_Issuer `json:"issuer" bson:"issuer"` Reporters []DB_Reporter `json:"reporters" bson:"reporters"` }
type DB_DerivativeTransaction ¶
type DB_DerivativeTransaction struct { SecurityTitle string `json:"securityTitle" bson:"securityTitle"` TransactionDate string `json:"transactionDate" bson:"transactionDate"` ConversionOrExercisePrice float32 `json:"conversionOrExercisePrice" bson:"conversionOrExercisePrice"` DeemedExecutionDate string `json:"deemedExecutionDate" bson:"deemedExecutionDate"` TransactionCode string `json:"transactionCode" bson:"transactionCode"` TransactionAcquiredDisposedCode string `json:"transactionAcquiredDisposedCode" bson:"transactionAcquiredDisposedCode"` ExerciseDate string `json:"exerciseDate" bson:"exerciseDate"` ExpirationDate string `json:"expirationDate" bson:"expirationDate"` }
type DB_FeaturedIssuer ¶ added in v1.0.4
type DB_FeaturedIssuer struct { Index int `bson:"index"` Cik string `bson:"cik"` NetTotal float32 `bson:"netTotal"` NumberOfInsiders int `bson:"numberOfInsiders"` Name string `bson:"name"` Ticker string `bson:"ticker"` MostRecentDate string `bson:"mostRecentDate"` CompanyValue float32 `bson:"companyValue"` }
type DB_Form13F_Base ¶
type DB_Form13F_Base struct { Cik string `json:"cik" bson:"cik"` ReporterName string `json:"reporterName" bson:"reporterName"` AccessionNumber string `json:"accessionNumber" bson:"accessionNumber"` PeriodOfReport string `json:"periodOfReport" bson:"periodOfReport"` Url string `json:"url" bson:"url"` TotalHeld float32 `json:"totalHeld" bson:"totalHeld"` Holdings []DB_Form13F_Holding `json:"holdings" bson:"holdings"` }
type DB_Form13F_Holding ¶
type DB_Form13F_Holding struct { Name string `json:"name" bson:"name"` NetTotal float32 `json:"netTotal" bson:"netTotal"` Cik string `json:"cik" bson:"cik"` }
this can be an issuer or a reporter
type DB_Form13F_ISSUER ¶
type DB_Form13F_ISSUER struct { Cik string `json:"cik" bson:"cik"` IssuerName string `json:"issuerName" bson:"issuerName"` IssuerTickers []string `json:"issuerTickers" bson:"issuerTickers"` Holdings []DB_Form13F_Holding `json:"holdings" bson:"holdings"` }
type DB_Issuer ¶
type DB_Issuer struct { IssuerCik string `json:"issuerCik" bson:"issuerCik"` IssuerName string `json:"issuerName" bson:"issuerName"` IssuerTicker string `json:"issuerTicker" bson:"issuerTicker"` IssuerSector string `json:"issuerSector" bson:"issuerSector"` IssuerIndustry string `json:"issuerIndustry" bson:"issuerIndustry"` }
type DB_Issuer_Doc ¶
type DB_Issuer_Doc struct { Name string `json:"name" bson:"name"` Cik string `json:"cik" bson:"cik"` Sic string `json:"sic" bson:"sic"` SicDescription string `json:"secDescription" bson:"secDescription"` Ein string `json:"ein" bson:"ein"` Tickers []string `json:"tickers" bson:"tickers"` Exchanges []string `json:"exchanges" bson:"exchanges"` FiscalYearEnd string `json:"fiscalYearEnd" bson:"fiscalYearEnd"` StateOfIncorporation string `json:"stateOfIncorporation" bson:"stateOfIncorporation"` Phone string `json:"phone" bson:"phone"` StockData []StockData `json:"stockData" bson:"stockData"` StockDataSplit bool `json:"stockDataSplit" bson:"stockDataSplit"` Splits []Split `json:"splits" bson:"splits"` Sector string `json:"sector" bson:"sector"` Industry string `json:"industry" bson:"industry"` }
type DB_NonDerivativeTransaction ¶
type DB_NonDerivativeTransaction struct { SecurityTitle string `json:"securityTitle" bson:"securityTitle"` TransactionDate string `json:"transactionDate" bson:"transactionDate"` TransactionCode string `json:"transactionCode" bson:"transactionCode"` TransactionAcquiredDisposedCode string `json:"transactionAcquiredDisposedCode" bson:"transactionAcquiredDisposedCode"` }
type DB_Reporter ¶
type DB_Reporter_Doc ¶
type DB_Reporter_Doc struct { Name string `json:"name" bson:"name"` Cik string `json:"cik" bson:"cik"` IsCongressman bool `json:"isCongressman" bson:"isCongressman"` Party string `json:"party" bson:"party"` IsInst bool `json:"isInst" bson:"isInst" default:"false"` Last13FTotal float64 `json:"last13FTotal" bson:"last13FTotal" default:"0"` }
type DB_Sector ¶ added in v1.0.1
type DB_Sector struct { Id DB_Sector_Id `json:"_id" bson:"_id"` HistoricalData []DB_Sector_Historical `json:"historicalData" bson:"historicalData"` }
type DB_Sector_Historical ¶ added in v1.0.1
type DB_Sector_Id ¶ added in v1.0.5
type DB_Sector_Id struct {
Name string `json:"name" bson:"name"`
}
type DB_SentimentDay ¶ added in v1.0.3
type DeemedExecutionDate ¶
type DerivativeHolding ¶
type DerivativeHolding struct { XMLName xml.Name `xml:"derivativeHolding"` DerivativeTableID uint SecurityTitle SecurityTitle `xml:"securityTitle" ` ConversionOrExercisePrice ConversionOrExercisePrice `xml:"conversionOrExercisePrice" ` ExerciseDate ExerciseDate `xml:"exerciseDate" ` ExpirationDate ExpirationDate `xml:"expirationDate" ` UnderlyingSecurity UnderlyingSecurity `xml:"underlyingSecurity" ` PostTransactionAmounts PostTransactionAmounts `xml:"postTransactionAmounts" ` OwnershipNature OwnershipNature `xml:"ownershipNature" ` }
type DerivativeTable ¶
type DerivativeTable struct { XMLName xml.Name `xml:"derivativeTable"` DerivativeTransactions []DerivativeTransaction `xml:"derivativeTransaction" ` DerivativeHoldings []DerivativeHolding `xml:"derivativeHolding" ` }
type DerivativeTransaction ¶
type DerivativeTransaction struct { XMLName xml.Name `xml:"derivativeTransaction"` DerivativeTableID uint SecurityTitle SecurityTitle `xml:"securityTitle"` ConversionOrExercisePrice ConversionOrExercisePrice `xml:"conversionOrExercisePrice" ` TransactionDate TransactionDate `xml:"transactionDate"` DeemedExecutionDate DeemedExecutionDate `xml:"deemedExecutionDate" ` TransactionCoding TransactionCoding `xml:"transactionCoding"` TransactionTimeliness TransactionTimeliness `xml:"transactionTimeliness"` TransactionAmounts TransactionAmounts `xml:"transactionAmounts"` ExerciseDate ExerciseDate `xml:"exerciseDate"` ExpirationDate ExpirationDate `xml:"expirationDate" ` UnderlyingSecurity UnderlyingSecurity `xml:"underlyingSecurity"` PostTransactionAmounts PostTransactionAmounts `xml:"postTransactionAmounts" ` OwnershipNature OwnershipNature `xml:"ownershipNature"` }
type ExerciseDate ¶
type ExpirationDate ¶
type NatureOfOwnership ¶
type NonDerivativeHolding ¶
type NonDerivativeHolding struct { XMLName xml.Name `xml:"nonDerivativeHolding"` SecurityTitle SecurityTitle `xml:"securityTitle" ` PostTransactionAmounts PostTransactionAmounts `xml:"postTransactionAmounts" ` OwnershipNature OwnershipNature `xml:"ownershipNature" ` }
type NonDerivativeTable ¶
type NonDerivativeTable struct { XMLName xml.Name `xml:"nonDerivativeTable"` NonDerivativeTransactions []NonDerivativeTransaction `xml:"nonDerivativeTransaction" ` NonDerivativeHoldings []NonDerivativeHolding `xml:"nonDerivativeHolding"` }
type NonDerivativeTransaction ¶
type NonDerivativeTransaction struct { XMLName xml.Name `xml:"nonDerivativeTransaction"` SecurityTitle SecurityTitle `xml:"securityTitle" ` TransactionDate TransactionDate `xml:"transactionDate" ` DeemedExecutionDate DeemedExecutionDate `xml:"deemedExecutionDate" ` TransactionCoding TransactionCoding `xml:"transactionCoding" ` TransactionTimeliness TransactionTimeliness `xml:"transactionTimeliness" ` TransactionAmounts TransactionAmounts `xml:"transactionAmounts" ` PostTransactionAmounts PostTransactionAmounts `xml:"postTransactionAmounts" ` OwnershipNature OwnershipNature `xml:"ownershipNature" ` }
type OwnerSignature ¶
type OwnershipNature ¶
type OwnershipNature struct { XMLName xml.Name `xml:"ownershipNature"` DirectOrIndirectOwnership DirectOrIndirectOwnership `xml:"directOrIndirectOwnership" ` NatureOfOwnership NatureOfOwnership `xml:"natureOfOwnership" ` }
type PostTransactionAmounts ¶
type PostTransactionAmounts struct { XMLName xml.Name `xml:"postTransactionAmounts"` ValueOwnedFollowingTransaction ValueOwnedFollowingTransaction `xml:"valueOwnedFollowingTransaction" ` }
type RawForm4 ¶
type RawForm4 struct { XMLName xml.Name `xml:"ownershipDocument" json:"-"` SchemaVersion string `xml:"schemaVersion"` DocumentType string `xml:"documentType"` PeriodOfReport string `xml:"periodOfReport"` DateOfOriginalSubmission string `xml:"dateOfOriginalSubmission"` NoSecuritiesOwned bool `xml:"noSecuritiesOwned"` AccessionNumber string `xml:"accessionNumber"` Url string `xml:"url"` Issuer Issuer `xml:"issuer"` ReportingOwners []ReportingOwner `xml:"reportingOwner" json:"ReportingOwners"` NonDerivativeTable NonDerivativeTable `xml:"nonDerivativeTable"` DerivativeTable DerivativeTable `xml:"derivativeTable"` OwnerSignatures []OwnerSignature `xml:"ownerSignature" ` }
type ReportingOwner ¶
type ReportingOwner struct { XMLName xml.Name `xml:"reportingOwner"` ReportingOwnerId ReportingOwnerId `xml:"reportingOwnerId"` ReportingOwnerAddress ReportingOwnerAddress `xml:"reportingOwnerAddress" ` ReportingOwnerRelationship ReportingOwnerRelationship `xml:"reportingOwnerRelationship" ` }
type ReportingOwnerAddress ¶
type ReportingOwnerAddress struct { XMLName xml.Name `xml:"reportingOwnerAddress"` RptOwnerStreet1 string `xml:"rptOwnerStreet1"` RptOwnerStreet2 string `xml:"rptOwnerStreet2"` RptOwnerCity string `xml:"rptOwnerCity"` RptOwnerState string `xml:"rptOwnerState"` RptOwnerZipCode string `xml:"rptOwnerZipCode"` RptOwnerStateDescription string `xml:"rptOwnerStateDescription"` }
type ReportingOwnerId ¶
type ReportingOwnerRelationship ¶
type ReportingOwnerRelationship struct { XMLName xml.Name `xml:"reportingOwnerRelationship"` IsDirector bool `xml:"isDirector"` IsOfficer bool `xml:"isOfficer"` IsTenPercentOwner bool `xml:"isTenPercentOwner"` IsOther bool `xml:"isOther"` OfficerTitle string `xml:"officerTitle"` OtherText string `xml:"otherText"` }
type SecApiResponse ¶
type SecApiResponse struct { Cik string `json:"cik"` EntityType string `json:"entityType"` Sic string `json:"sic"` SicDescription string `json:"sicDescription"` IsReporter int `json:"insiderTransactionForOwnerExists"` IsIssuer int `json:"insiderTransactionForIssuerExists"` Name string `json:"name"` Ein string `json:"ein"` Tickers []string `json:"tickers"` Exchanges []string `json:"exchanges"` Description string `json:"description"` Website string `json:"website"` InvestorWebsite string `json:"InvestorWebsite"` Category string `json:"category"` FiscalYearEnd string `json:"fiscalYearEnd"` StateOfIncorporation string `json:"stateOfIncorporation"` StateOfIncorporationDescription string `json:"stateOfIncorporationDescription"` Phone string `json:"phone"` Flags string `json:"flags"` Filings filings `json:"filings"` }
type SecurityTitle ¶
type SharesOwnedFollowingTransaction ¶
type SharesOwnedFollowingTransaction struct {}
type Top_From_Sector ¶ added in v1.0.6
type Top_From_Sector struct { Sector string `json:"sector" bson:"sector"` Companies []Top_From_Sector_Entry `json:"companies" bson:"companies"` }
type Top_From_Sector_Entry ¶ added in v1.0.6
type Top_From_Sector_Entry struct { Id string `json:"_id" bson:"_id"` Ticker string `json:"ticker" bson:"ticker"` Name string `json:"name" bson:"name"` Industry string `json:"industry" bson:"industry"` TradeVolume float64 `json:"tradeVolume" bson:"tradeVolume"` }
fix?
type TransactionAmounts ¶
type TransactionAmounts struct { XMLName xml.Name `xml:"transactionAmounts"` TransactionTotalValue TransactionTotalValue `xml:"transactionTotalValue" ` TransactionAcquiredDisposedCode TransactionAcquiredDisposedCode `xml:"transactionAcquiredDisposedCode" ` }
type TransactionCoding ¶
type TransactionDate ¶
type TransactionPricePerShare ¶
type TransactionPricePerShare struct {}
type TransactionShares ¶
type TransactionShares struct {}
type TransactionTimeliness ¶
type TransactionTotalValue ¶
type UnderlyingSecurity ¶
type UnderlyingSecurity struct { XMLName xml.Name `xml:"underlyingSecurity"` UnderlyingSecurityTitle UnderlyingSecurityTitle `xml:"underlyingSecurityTitle" ` UnderlyingSecurityValue UnderlyingSecurityValue `xml:"underlyingSecurityValue" ` }
type UnderlyingSecurityShares ¶
type UnderlyingSecurityShares struct {}
type UnderlyingSecurityTitle ¶
type UnderlyingSecurityValue ¶
Click to show internal directories.
Click to hide internal directories.