5 New Messages
Digest #2895
Messages
Sun Dec 15, 2013 7:10 pm (PST) . Posted by:
jurisdoctor74
I would like to download various data elements for IBM's February 22, 2014 call option series. My question has to do with the most efficient way to accomplish this. To make it simple, let's just say I want the $170 and $180 February strikes.
I could obtain the data using two separate statements on two separate lines, like this:
smfGetOptionQuotes("IBM Feb 2014 $170 Call","l",0)
smfGetOptionQuotes("IBM Feb 2014 $175 Call","l",0);
Or, I could use a single, combined statement like the following:
smfGetOptionQuotes("IBM Feb 2014 $170 Call,IBM Feb 2014 $175 Call","l",0).
My question is, does using the combined statement result in a single internet access for the data while the separate statements require two separate internet accesses, or is there no difference between the two methods. Obviously, I would prefer to use the fastest and most efficient method for accomplishing this task.
Thank you!
I could obtain the data using two separate statements on two separate lines, like this:
smfGetOptionQuotes(
smfGetOptionQuotes(
Or, I could use a single, combined statement like the following:
smfGetOptionQuotes(
My question is, does using the combined statement result in a single internet access for the data while the separate statements require two separate internet accesses, or is there no difference between the two methods. Obviously, I would prefer to use the fastest and most efficient method for accomplishing this task.
Thank you!
Sun Dec 15, 2013 8:45 pm (PST) . Posted by:
"Randy Harmelink" rharmelink
That's the point of the matrix in the documentation with the "Fast" and
"Slow" designations.
Those data items that are "Fast" come from a single web page that has all
contracts for a given expiration month. The "Slow" items come from web
pages for individual option contracts.
So, as long as you're getting "Fast" data items for different strike prices
from the same expiration month, you'll only need one Internet access.
Array-entering the smfGetOptionQuotes() function has no affect on the
number of web pages that are needed, since each option contract is still
handled independently. It's just for convenience.
On Sun, Dec 15, 2013 at 8:10 PM, <jurisdoctor74@yahoo.com> wrote:
> I would like to download various data elements for IBM's February 22,
> 2014 call option series. My question has to do with the most efficient way
> to accomplish this. To make it simple, let's just say I want the $170 and
> $180 February strikes.
>
> I could obtain the data using two separate statements on two separate
> lines, like this:
>
> smfGetOptionQuotes("IBM Feb 2014 $170 Call","l",0)
>
> smfGetOptionQuotes("IBM Feb 2014 $175 Call","l",0);
>
> Or, I could use a single, combined statement like the following:
>
> smfGetOptionQuotes("IBM Feb 2014 $170 Call,IBM Feb 2014 $175 Call","l",0).
>
> My question is, does using the combined statement result in a single
> internet access for the data while the separate statements require two separate
> internet accesses, or is there no difference between the two methods.
> Obviously, I would prefer to use the fastest and most efficient method for
> accomplishing this task.
>
>
"Slow" designations.
Those data items that are "Fast" come from a single web page that has all
contracts for a given expiration month. The "Slow" items come from web
pages for individual option contracts.
So, as long as you're getting "Fast" data items for different strike prices
from the same expiration month, you'll only need one Internet access.
Array-entering the smfGetOptionQuotes(
number of web pages that are needed, since each option contract is still
handled independently. It's just for convenience.
On Sun, Dec 15, 2013 at 8:10 PM, <jurisdoctor74@
> I would like to download various data elements for IBM's February 22,
> 2014 call option series. My question has to do with the most efficient way
> to accomplish this. To make it simple, let's just say I want the $170 and
> $180 February strikes.
>
> I could obtain the data using two separate statements on two separate
> lines, like this:
>
> smfGetOptionQuotes(
>
> smfGetOptionQuotes(
>
> Or, I could use a single, combined statement like the following:
>
> smfGetOptionQuotes(
>
> My question is, does using the combined statement result in a single
> internet access for the data while the separate statements require two separate
> internet accesses, or is there no difference between the two methods.
> Obviously, I would prefer to use the fastest and most efficient method for
> accomplishing this task.
>
>
Sun Dec 15, 2013 7:29 pm (PST) . Posted by:
jurisdoctor74
Oops, the "180" strike reference should be 175.
Sun Dec 15, 2013 11:03 pm (PST) . Posted by:
jurisdoctor74
Thanks for the explanation, Randy.
By the way, I am successfully retrieving option quotes from both Yahoo and Google but am having no luck with MSN. Is it just me or is it a known problem?
By the way, I am successfully retrieving option quotes from both Yahoo and Google but am having no luck with MSN. Is it just me or is it a known problem?
Sun Dec 15, 2013 11:11 pm (PST) . Posted by:
"Randy Harmelink" rharmelink
Yeah. Both MSN and MarketWatch have been broken since they changed their
web pages. I have no idea how to interpret the created option symbol on
MSN, and I almost always get an error web page now if I try the "Show All"
link on MarketWatch.
On Mon, Dec 16, 2013 at 12:03 AM, <jurisdoctor74@yahoo.com> wrote:
> By the way, I am successfully retrieving option quotes from both Yahoo and
> Google but am having no luck with MSN. Is it just me or is it a known
> problem?
>
web pages. I have no idea how to interpret the created option symbol on
MSN, and I almost always get an error web page now if I try the "Show All"
link on MarketWatch.
On Mon, Dec 16, 2013 at 12:03 AM, <jurisdoctor74@
> By the way, I am successfully retrieving option quotes from both Yahoo and
> Google but am having no luck with MSN. Is it just me or is it a known
> problem?
>
Tidak ada komentar:
Posting Komentar