Anybody that has a trading station they are trying to market should provide the ability to accept stock data feeds from whatever sources are available.
Developing a J API for opentick's stock information feeds not necessary, but it is something a good J programmer could develope in less than a week. Not being a good J programmer, maybe my I am way off base making this statement. I actually expect to see a posting to [EMAIL PROTECTED] with a opentick data stream API in the next week or so. A simple API that handles the request/response to OTLogin, OTLogout and OTRequestHistData would be a good start. see: http://www.opentick.com/dokuwiki/doku.php?id=general:opentick_protocol_specification#otlogin ----- Original Message Follows ----- From: [EMAIL PROTECTED] To: [email protected] Subject: Programming Digest, Vol 21, Issue 43 Date: Fri, 22 Jun 2007 22:56:02 +0800 (HKT) >Send Programming mailing list submissions to > [email protected] > >To subscribe or unsubscribe via the World Wide Web, visit > >http://www.jsoftware.com/cgi-bin/mailman/listinfo/programming >or, via email, send a message with subject or body 'help' >to > [EMAIL PROTECTED] > >You can reach the person managing the list at > [EMAIL PROTECTED] > >When replying, please edit your Subject line so it is more >specific than "Re: Contents of Programming digest..." > > >Today's Topics: > > 1. RE: listatom equivalent of boxopen (Sherlock, Ric) > 2. How do I find the name of the executable I'm running? > (Devon McCormick) > 3. Re: How do I find the name of the executable I'm >running? > (Raul Miller) > 4. RE: listatom equivalent of boxopen (Henry Rich) > 5. RE: RE J language API for www.opentick.com >stock datafeed? > (Elmer Fittery) > 6. Re: calling j.dll jj.dll (bill lam) > 7. Re: listatom equivalent of boxopen (Roger Hui) > > >----------------------------------------------------------- >----------- > >Message: 1 >Date: Fri, 22 Jun 2007 16:35:07 +1200 >From: "Sherlock, Ric" <[EMAIL PROTECTED]> >Subject: RE: [Jprogramming] listatom equivalent of boxopen >To: "Programming forum" <[email protected]> >Message-ID: > ><[EMAIL PROTECTED] >ac.nz> Content-Type: text/plain; charset="us-ascii" > >Sherlock, Ric wrote: >> I was looking for a phrase that would make an atom (rank >> 0) into a 1-item list, but leaves anything else "as is". >.. >> and so I came up with this which seems to do the job. >> listatom=: ,^:(#@:$ = 0:) > >RH> la1=: ,^:([EMAIL PROTECTED]) >RM> la2=:,0&# >CB> la3=:1&# > >Thanks I knew there must be simpler ways!! > > >------------------------------ > >Message: 2 >Date: Fri, 22 Jun 2007 00:55:15 -0400 >From: "Devon McCormick" <[EMAIL PROTECTED]> >Subject: [Jprogramming] How do I find the name of the >executable I'm > running? >To: "J-programming forum" <[email protected]> >Message-ID: > ><[EMAIL PROTECTED] >m> Content-Type: text/plain; charset=ISO-8859-1; >format=flowed > >It looks like ARGV_j_ contains the name of the executable >version of J that's been invoked. >However, when I experimented with copying "j.exe" to the >name "RocketJ.exe" and I run this >new copy, ARGV_j_ still has "j.exe" as its first element. > >Does anyone know why this is? > >-- >Devon McCormick, CFA >^me^ at acm. >org is my >preferred e-mail > > >------------------------------ > >Message: 3 >Date: Fri, 22 Jun 2007 01:08:59 -0400 >From: "Raul Miller" <[EMAIL PROTECTED]> >Subject: Re: [Jprogramming] How do I find the name of the >executable > I'm running? >To: "Programming forum" <[email protected]> >Message-ID: > ><[EMAIL PROTECTED] >m> Content-Type: text/plain; charset=ISO-8859-1; >format=flowed > >On 6/22/07, Devon McCormick <[EMAIL PROTECTED]> wrote: >> It looks like ARGV_j_ contains the name of the executable >> version of J that's been invoked. > >This seems to be true for jconsole, but j.exe seems to >ignore the command line. > >With jconsole, you'll see the path you used, and you can >tell whether or not .exe was appended. This is not the >case for j.exe. > >-- >Raul > > >------------------------------ > >Message: 4 >Date: Fri, 22 Jun 2007 07:57:50 -0400 >From: "Henry Rich" <[EMAIL PROTECTED]> >Subject: RE: [Jprogramming] listatom equivalent of boxopen >To: "'Programming forum'" <[email protected]> >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset="us-ascii" > >listatom =: ,"1 > >Henry Rich > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of >> Sherlock, Ric Sent: Thursday, June 21, 2007 9:43 PM >> To: Programming forum >> Subject: [Jprogramming] listatom equivalent of boxopen >> >> I was looking for a phrase that would make an atom (rank >> 0) into a 1-item list, but leaves anything else "as is". >> Something like this but without the control structure. >> if. 0=#$y do. ,y end. >> >> I searched as much as I could through Wiki, forum and J >> system, but had >> no luck. I may well have been searching for the wrong >> words! >> Anyway I figured that what I wanted was essentially the >> same as the boxopen verb >> boxopen=: <^:(L.=0:) >> and so I came up with this which seems to do the job. >> listatom=: ,^:(#@:$ = 0:) >> >> Are there other simpler ways of doing this? >> >----------------------------------------------------------- >> ----------- For information about J forums see >> http://www.jsoftware.com/forums.htm > > > >------------------------------ > >Message: 5 >Date: Fri, 22 Jun 2007 06:42:26 -0700 >From: Elmer Fittery <[EMAIL PROTECTED]> >Subject: [Jprogramming] RE: RE J language API for >www.opentick.com > stock datafeed? >To: [email protected] >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain > >I also missed the web page at www.opentick.com that details >the opentick protocol specifications. > >The most of the questions "Henry Rich" made can be answered >by the support group at opentick. > >see: > >http://www.opentick.com/index.php?app=tickets&event=add_ticket_form > >On Fri, 2007-06-22 at 12:00 +0800, >[EMAIL PROTECTED] wrote: >> Send Programming mailing list submissions to >> [email protected] >> >> To subscribe or unsubscribe via the World Wide Web, visit >> >http://www.jsoftware.com/cgi-bin/mailman/listinfo/programming >> or, via email, send a message with subject or body 'help' >> to [EMAIL PROTECTED] >> >> You can reach the person managing the list at >> [EMAIL PROTECTED] >> >> When replying, please edit your Subject line so it is >> more specific than "Re: Contents of Programming >> digest..." >> >> Today's Topics: >> >> 1. RE: RE J language API for www.opentick.com >> stock datafeed? (Stefano Lanzavecchia) >> 2. RE: RE J language API for www.opentick.com >> stockdatafeed? (Henry Rich) >> 3. listatom equivalent of boxopen (Sherlock, Ric) >> 4. Re: listatom equivalent of boxopen (Roger Hui) >> 5. Re: listatom equivalent of boxopen (Raul Miller) >> 6. Re: listatom equivalent of boxopen (Chris Burke) >> 7. calling j.dll jj.dll (Jack Andrews) >> >> >> >----------------------------------------------------------- >> ----------- >> Message: 1 >> Date: Thu, 21 Jun 2007 16:00:10 +0200 >> From: "Stefano Lanzavecchia" <[EMAIL PROTECTED]> >> Subject: RE: [Jprogramming] RE J language API for >> www.opentick.com stock datafeed? >> To: "'Programming forum'" <[email protected]> >> Message-ID: <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset="us-ascii" >> >> > to >> > reverse-engineer the protocol from other libraries, the >> > risk is that if >> > OpenTick changes the protocol, >> >> As usual, I was too hasty in my conclusions. The protocol >> is officially documented: >> >http://www.opentick.com/dokuwiki/doku.php?id=general:opentick_protocol_speci >> fication >> >> -- Stef >> >> >> >> ------------------------------ >> >> Message: 2 >> Date: Thu, 21 Jun 2007 10:34:25 -0400 >> From: "Henry Rich" <[EMAIL PROTECTED]> >> Subject: RE: [Jprogramming] RE J language API for >> www.opentick.com stockdatafeed? >> To: "'Programming forum'" <[email protected]> >> Message-ID: <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset="us-ascii" >> >> Stefano said: >> >> > The protocol is officially documented: >> >> Oh, this is wonderful. I looked for this & didn't find >> it. It looks straightforward to code to this. >> >> Now the question is, Is it worth doing? >> >> 0. How timely is the information provided by this >> service? >> 1. How do they plan to stay in business given the low >> fees they charge? What's the business model? >> How long have they been running? Where >> are their financial statements? etc >> >> >> If it's worth doing, I have a couple of technical >> questions. >> 2. Do we think the sequence is >> a. CONNECT using TCP to feed1.opentick.com:10010 >> b. Login >> c. Request feeds for symbols >> d. Wait for continuing stream of tick information over >> the connection e. Terminate the connection when the >> market closes >> 3. Do responses to requests come back intermixed with >> tick data? I'm guessing yes, and you have to look at >> the request ID to see what request is being responded >> to >> Henry Rich >> >> > -----Original Message----- >> > From: [EMAIL PROTECTED] >> > [mailto:[EMAIL PROTECTED] On Behalf Of >> > Stefano Lanzavecchia >> > Sent: Thursday, June 21, 2007 10:00 AM >> > To: 'Programming forum' >> > Subject: RE: [Jprogramming] RE J language API for >> > www.opentick.com stockdatafeed? >> > >> > > to >> > > reverse-engineer the protocol from other libraries, >> > > the risk is that if >> > > OpenTick changes the protocol, >> > >> > As usual, I was too hasty in my conclusions. The >> > protocol is officially >> > documented: >> > >http://www.opentick.com/dokuwiki/doku.php?id=general:opentick_ >> protocol_speci >> > fication >> > >> > -- Stef >> > >> > >----------------------------------------------------------- >> > ----------- For information about J forums see >> > http://www.jsoftware.com/forums.htm >> >> >> >> ------------------------------ >> >> Message: 3 >> Date: Fri, 22 Jun 2007 13:42:30 +1200 >> From: "Sherlock, Ric" <[EMAIL PROTECTED]> >> Subject: [Jprogramming] listatom equivalent of boxopen >> To: "Programming forum" <[email protected]> >> Message-ID: >> ><[EMAIL PROTECTED] >> ac.nz> Content-Type: text/plain; charset="us-ascii" >> >> I was looking for a phrase that would make an atom (rank >> 0) into a 1-item list, but leaves anything else "as is". >> Something like this but without the control structure. >> if. 0=#$y do. ,y end. >> >> I searched as much as I could through Wiki, forum and J >> system, but had no luck. I may well have been searching >> for the wrong words! >> Anyway I figured that what I wanted was essentially the >> same as the boxopen verb >> boxopen=: <^:(L.=0:) >> and so I came up with this which seems to do the job. >> listatom=: ,^:(#@:$ = 0:) >> >> Are there other simpler ways of doing this? >> >> >> ------------------------------ >> >> Message: 4 >> Date: Thu, 21 Jun 2007 19:02:48 -0700 >> From: Roger Hui <[EMAIL PROTECTED]> >> Subject: Re: [Jprogramming] listatom equivalent of >> boxopen To: Programming forum <[email protected]> >> Message-ID: <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset=us-ascii >> >> ,^:([EMAIL PROTECTED]) >> >> >> >> ----- Original Message ----- >> From: "Sherlock, Ric" <[EMAIL PROTECTED]> >> Date: Thursday, June 21, 2007 6:42 pm >> Subject: [Jprogramming] listatom equivalent of boxopen >> >> > I was looking for a phrase that would make an atom >> > (rank 0) into a 1-item list, but leaves anything else >> > "as is". Something like this but without the control >> > structure. if. 0=#$y do. ,y end. >> > >> > I searched as much as I could through Wiki, forum and J >> > system, but had >> > no luck. I may well have been searching for the wrong >> > words! >> > Anyway I figured that what I wanted was essentially the >> > same as the boxopen verb >> > boxopen=: <^:(L.=0:) >> > and so I came up with this which seems to do the job. >> > listatom=: ,^:(#@:$ = 0:) >> > >> > Are there other simpler ways of doing this? >> >> >> ------------------------------ >> >> Message: 5 >> Date: Thu, 21 Jun 2007 22:06:52 -0400 >> From: "Raul Miller" <[EMAIL PROTECTED]> >> Subject: Re: [Jprogramming] listatom equivalent of >> boxopen To: "Programming forum" >> <[email protected]> Message-ID: >> ><[EMAIL PROTECTED] >> m> Content-Type: text/plain; charset=ISO-8859-1; >> format=flowed >> On 6/21/07, Sherlock, Ric <[EMAIL PROTECTED]> >> > wrote: Are there other simpler ways of doing this? >> >> la=: , 0&# >> >> -- >> Raul >> >> >> ------------------------------ >> >> Message: 6 >> Date: Fri, 22 Jun 2007 10:30:13 +0800 >> From: Chris Burke <[EMAIL PROTECTED]> >> Subject: Re: [Jprogramming] listatom equivalent of >> boxopen To: Programming forum <[email protected]> >> Message-ID: <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset=ISO-8859-1; >> format=flowed >> Sherlock, Ric wrote: >> > I was looking for a phrase that would make an atom >> > (rank 0) into a 1-item list, but leaves anything else >> > "as is". Something like this but without the control >> > structure. if. 0=#$y do. ,y end. >> > >> > I searched as much as I could through Wiki, forum and J >> > system, but had no luck. I may well have been searching >> > for the wrong words! >> > Anyway I figured that what I wanted was essentially the >> > same as the boxopen verb >> > boxopen=: <^:(L.=0:) >> > and so I came up with this which seems to do the job. >> > listatom=: ,^:(#@:$ = 0:) >> > >> > Are there other simpler ways of doing this? >> >> listatom=: 1&# >> >> >> ------------------------------ >> >> Message: 7 >> Date: Fri, 22 Jun 2007 12:38:30 +1000 >> From: "Jack Andrews" <[EMAIL PROTECTED]> >> Subject: [Jprogramming] calling j.dll jj.dll >> To: [email protected] >> Message-ID: >> ><[EMAIL PROTECTED] >> m> Content-Type: text/plain; charset=ISO-8859-1; >> format=flowed >> this page: >> http://www.jsoftware.com/help/user/calling_jdll.htm says: > "Since J.DLL is itself used by the J session, you need to >> make a copy of J.DLL first before calling it from J; for >> example, copy it to file JJ.DLL." >> >> this seems odd? is this still the case? in what cases >> would i call the j.dll from j? do i have to do this if i >> want to call c from j from c? >> >> is there an extant python extension that uses j.dll? >> >> >> jack >> >> >> ------------------------------ >> >> >----------------------------------------------------------- >> ----------- For information about J forums see >> http://www.jsoftware.com/forums.htm >> End of Programming Digest, Vol 21, Issue 42 >> ******************************************* > > > >------------------------------ > >Message: 6 >Date: Fri, 22 Jun 2007 22:34:14 +0800 >From: bill lam <[EMAIL PROTECTED]> >Subject: Re: [Jprogramming] calling j.dll jj.dll >To: Programming forum <[email protected]> >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >Jack Andrews wrote: >> this seems odd? is this still the case? in what cases >> would i call the j.dll from j? do i have to do this if i >want to call c from j > >I think that this is still the case for calling j.dll from >J601. For example, you want to develop a c program that >will call j.dll (no need to copy j.dll). >However before that, if you want to make a prototype for >that c program using J, then it becomes j.exe calling >j.dll (need to make a copy of j.dll) > >-- >regards, >bill > > >------------------------------ > >Message: 7 >Date: Fri, 22 Jun 2007 08:07:40 -0700 >From: Roger Hui <[EMAIL PROTECTED]> >Subject: Re: [Jprogramming] listatom equivalent of boxopen >To: Programming forum <[email protected]> >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=us-ascii > >I really like the solutions from Chris (1&#) and >Henry (,"1). Very impressive. 1&# is perhaps a >carry over of an APL phrase. ,"1 is J-ish. > > > >------------------------------ > >----------------------------------------------------------- >----------- For information about J forums see >http://www.jsoftware.com/forums.htm > >End of Programming Digest, Vol 21, Issue 43 >******************************************* ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
