Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4234

Re: Random prices from FinancialData

From James Stein <mathgroup@stein.org>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Random prices from FinancialData
Date 2011-08-09 11:25 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j1r5f0$fih$1@smc.vnet.net> (permalink)
References <201108080819.EAA04584@smc.vnet.net>

Show all headers | View raw


This problem must be very frustrating.
FWIW, on a Mac OS v10.6.8 with Mathematica v8.0.1.0,
just before noon Pacific TIme on (Black?) Monday
(which I assume is a "harder" test than running on Sunday),
all works as expected: all differences are zero.

Perhaps (low probability, I know) some process on your computer is
interfering with
network communications, overwriting buffers, whatever. I was going to
suggest running your tests on another computer -- but since you can't easily
transfer Mathematica to another computer, perhaps if you tell the group what
kind of computer and OS you have, someone will volunteer to test your
program.

IIRC, no one has reproduced your problem...?


On Mon, Aug 8, 2011 at 1:19 AM, DrMajorBob <btreat1@austin.rr.com> wrote:

> FOR EXAMPLE, below you see both "Close" and "RawClose" prices varying
> randomly within ELEVEN seconds.
>
> All the differences in the last three outputs should be zero for mutual
> funds, especially on a Sunday.
>
> AbsoluteTiming[
>  s1 = {#, FinancialData[#, "Close"], FinancialData[#, "RawClose"]} & /@
>      janusStocks // Transpose;
>  s2 = {#, FinancialData[#, "Close"], FinancialData[#, "RawClose"]} & /@
>      janusStocks // Transpose;
>  s3 = {#, FinancialData[#, "Close"], FinancialData[#, "RawClose"]} & /@
>      janusStocks // Transpose;]
> s1[[2 ;;]] - s2[[2 ;;]]
> s1[[2 ;;]] - s3[[2 ;;]]
> s2[[2 ;;]] - s3[[2 ;;]]
>
> {10.728764, Null}
>
> {{0., 0., 0., 0., 0., 0., 0., 0.79, 0., 0.}, {-4.06, 0., 0.,
>   0., -1.61, 0., 0., 0.79, 0., 0.}}
>
> {{0., -3.69, 0., 0., 0., 0., 0., 0.79, 0., 0.}, {0., 0., 0., 0., 0.,
>   0., 0., 0., 0., 0.}}
>
> {{0., -3.69, 0., 0., 0., 0., 0., 0., 0., 0.}, {4.06, 0., 0., 0., 1.61,
>    0., 0., -0.79, 0., 0.}}
>
> Bobby
>
> --
> DrMajorBob@yahoo.com
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Random prices from FinancialData James Stein <mathgroup@stein.org> - 2011-08-09 11:25 +0000

csiph-web