Re: [Factor-talk] btp - My first body of Factor work

2013-11-13 Thread Jon Herron
For #1, that is correct. If I come across a good lead on cheap (read free) intraday data I'll make sure I pass it your way - assuming you do the same that is :). Also if you decide to fork/tweak and add futures support, write a parser, etc. that would be very cool. I'd enjoy seeing what you come

Re: [Factor-talk] Some UI questions

2013-11-13 Thread Jon Harper
Another question : for app distribution, can all the factor internal goodies be > turned off ( inspect, Prettyprint, etc ... ) ? >> > those things you get from right clicking on a object come from > http://docs.factorcode.org/content/article-ui-presentations.html > Looking at the implementation o

Re: [Factor-talk] btp - My first body of Factor work

2013-11-13 Thread Dexter Haslem
Great, 1) Understood, I assume it fills with an average price of the bar closing price? Honestly I'm not looking to gear it for backtesting day trades, I am considering tweaking things a bit to work with futures and would like to use settlement where possible, ultimately 2) Got it, I do not know

Re: [Factor-talk] Factor interface to Spotlight

2013-11-13 Thread CW Alston
A good point, Björn - Since the number of elements is known beforehand in mdutil & mdls, an immutable array would suffice (& use less words). I carried the vector format over from a previous incarnation of , where I didn't know how many elems would be needed in the array. I'm not religious about

Re: [Factor-talk] Some UI questions

2013-11-13 Thread Jon Harper
Hi Manuel, On Wed, Nov 13, 2013 at 9:15 PM, wrote: > Could you please tell me how to detect when a value is already > opened > so that I don't open a second one ? How would I give it focus ? I have seen > the find-window word but I have not been able to do it. > you could store a reference in d

Re: [Factor-talk] btp - My first body of Factor work

2013-11-13 Thread Jon Herron
Hi Dexter -   Thanks for checking out the code. Looks like you interpreted the code correctly, hope I can do the same for your questions. 1) Currently the answer is yes. This however is not ideal, and is on my list of (undocumented) TODOs. I was thinking of having something equivalent to SML's

Re: [Factor-talk] btp - My first body of Factor work

2013-11-13 Thread Dexter Haslem
Hi Jon, This is really great. I have a few questions. I'm still learning Factor so I may have misunderstood the code, but these are more of general usage questions: 1) Is any given signal price between high/low of the bar for the period you select a buy/sell signal? 2) Any thoughts about increasin

[Factor-talk] Some UI questions

2013-11-13 Thread bidon12345
Hi All ! the more I look into Factor the more amazing I find it..both the language and the libraries. I have some UI-related questions. I have written a program which I have simplified in the code below. It lists 100 records, along with the square of each value. When you double click on a row, i

Re: [Factor-talk] Factor interface to Spotlight

2013-11-13 Thread Björn Lindqvist
Here are some random tips from me. I'm also a Factor newbie so take it with a grain of salt: * Don't use vectors because normal sequences works just as well. * Be functional! Avoid words that mutate data structures because they make the code harder to reason about. F.e. this piece of code in md