POE::Component::Client::opentick::FAQ - The official FAQ for POE::Component::Client::opentick.
This is just a Frequently-Asked Questions list. For complete documentation, please see POE::Component::Client::opentick.
POE::Component::Client::opentick is a POE CLIENT COMPONENT FOR ACCESSING MARKET DATA, via the feed provided by http://www.opentick.com.
It is intended to do just that: supply your own application with market data. The onus is on the end user (you!) to provide the supporting framework into which this component fits, be it a graphing/monitoring/alert system, an algorithmic trading platform, a home-built ticker system, or whatever else you can imagine that you could use inexpensive market data for.
Instead of threads (which are poorly implemented in Perl), this component runs under POE, a very robust, well-tested and well-supported asynchronous event environment. POE has a bit of a learning curve, but it is extremely versatile and useful, not only for this but for many applications, and is generally a much better and faster solution than Perl threading.
POE::Component::Client::opentick does NOT:
Here is the documentation for POE, the Perl Object Environment.
Here is an entire, official Perl site dedicated to POE: http://poe.perl.org.
Yes, there are 2 well-documented example scripts, and they are included in the source distribution from CPAN in the examples/ directory. You probably already have them on your system.
You may also browse them on the web here:
And the CPAN overview page here:
(Be sure to go to your correct version.)
You should use the one that you are more comfortable with.
If you are building a NEW application, have NOT used the opentick.com official OTClient.pm library, OR wish to have the entire feature set of this component available to you, use the base interface:
If you are migrating from opentick.com's official OTClient.pm library, or you wish to use the somewhat simpler interface, albeit with some advanced features made more difficult to get at (they are still available), you may wish to use the facade interface provided by my OTClient.pm:
Full documentation for each of these below:
That is out of scope for the goal of this component, which is to provide a CLIENT COMPONENT FOR ACCESSING MARKET DATA. I use UNIX epoch dates because they use 1-second resolution, which is the smallest resolution that opentick.com provides, AND it is easy to work with and natively supported on almost all platforms (you're not still using MS-DOS, are you?)
Also, working with dates and time is actually very complicated, much more complex than it seems in a passing thought. I don't want to maintain non-core code that has no direct bearing on the purpose of being a CLIENT COMPONENT FOR ACCESSING MARKET DATA.
A quick search on http://search.cpan.org/ gave me a list of 3838 results for "Date" and more than 5000 results for "Time", so it is also well-covered territory.
Here are some of the better/more widely-used ones:
All options similar to this, which change critical settings such as these, are specified as arguments to the "spawn()" in POE::Component::Client::opentick constructor of opentick.pm, or overload the base class for POE::Component::Client::OTClient.
(I may provide additional accessor methods in the future for OTClient.pm; right now, there has been no demand yet.)
Because the logo and trademark of opentick is lowercase. This was intentional.
If you have bug reports, please use the RequestTracker at http://rt.cpan.org/Public/Dist/Display.html?Name=POE-Component-Client-opentick.
If you have questions or comments that haven't been answered above (please actually check), I can be reached at:
Jason McManus (INFIDEL) -
infidel AT cpan.org
As the user 'infi' on the Freenode IRC Network: irc://irc.freenode.net/#perl
I wouldn't mind receiving mail telling me a brief overview of what you're using it for.
The POE::Component::Client::opentick documentation.
The POE::Component::Client::opentick::OTClient documentation.
The project page, http://search.cpan.org/~infidel/POE-Component-Client-opentick/ for this module.
The CPAN search page: http://search.cpan.org.
http://poe.perl.org/ - POE's official site.
http://www.opentick.com/ - opentick's main site.
http://www.opentick.com/dokuwiki/doku.php - opentick's documentation.
The examples/ directory of this module's distribution.
Jason McManus (INFIDEL) -
infidel AT cpan.org
Copyright (c) Jason McManus
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.
The data from opentick.com are under an entirely separate license that varies according to exchange rules, etc. It is your responsibility to follow the opentick.com and exchange license agreements with the data.
Further details are available on http://www.opentick.com/.