PureBytes Links
Trading Reference Links
|
Here is an example of using Excel to get QP2 data from its database.
This is supplied with QP2 and it part of an excel marco.
___________
Option Explicit
Dim qp_Info As New QuotesPlus.CompanyInfo
Dim qp_Revs As New QuotesPlus.RevEps
Dim qp_Rank As New QuotesPlus.EpsRank
Dim qp_Symbols As New QuotesPlus.Symbols
Dim qp_Dividend As New QuotesPlus.Dividends
Dim LastSymbol As String
Dim LastRawSymbol As String
Dim Value As Variant
_______
Public Function QP_DividendType(number As Long, symbol As String)
' This returns the dividend type
qp_Dividend.symbol = symbol
Value = qp_Dividend.Type(number)
If (VarType(Value) = vbError) Then
QP_DividendType = "N/A"
Else
QP_DividendType = Value
End If
End Function
____________
Public Function QP_DividendAmount(number As Long, symbol As String)
' This returns the amount of the dividend
qp_Dividend.symbol = symbol
Value = qp_Dividend.Amount(number)
If (VarType(Value) = vbError) Then
QP_DividendAmount = "N/A"
Else
QP_DividendAmount = Value
End If
End Function
__________
Does anyone know how to translate this into something that can be used
inside Amibroker?
Steve
At 03:18 PM 7/29/01 -0400, you wrote:
As for as a web site why not try www.qp2.com
Steve
At 06:27 PM 7/29/01 +0000, you wrote:
>Hi, Steve;
>
>When you refer to fundamental data , do you mean ( News , information
>), If this is true, then you have to give some weight or Bias (
>whether bullish or bearish ),to the type of information being released
>
>I am not familiar with the QP2 Database. Do you have a Web address.
|