"And, in fact, every single one of our simulated trades was profitable, even while the stock overall was going up and down." This is a huge red flag with respect to the simulation results. You show some trades like this one > 2013-03-05 6:41,2013-03-05 7:15,14.47,14.48,LONG,5192,75145.75,52.85,100237.47 where you enter the trade and exit a penny higher. It sounds like you're just looking at the trade print and assumi…
Show HN: Bateman, a stock trading system I'm working on
41–50 of 53 posts
Re: Show HN: Bateman, a stock trading system I'm working on
#42I think we just generally label the higher latency, lower frequency strategies old fashioned 'stat-arb' -- this better connotes that the 'edge' from these trades is derived out of superior mathematical modeling and not better execution.
I highly recommend decoupling the simulation/back-testing framework from your strategy work.
Building a reasonable simulator is no small task -- market data is often NOT an accurate depiction of what is executable and there's a fair number of corrections/assumptions that must be made to reflect this.
Either way, I've always liked PSO -- I highly recommend playing with DE (differential evolution) as well. I've used DE to tune parameters for many strategies with great success where SGD would have been, well, painful.
Re: Show HN: Bateman, a stock trading system I'm working on
#43I've toyed with this kind of thing before and things can look good in simulation, until I incorporated realistic effects of: - trading commissions & fees - capital gains taxes - currency exchange (for those of us "unamericans") then all of a sudden blammo, I decided I'm better off putting "investment" cash into my mortgage
Re: Show HN: Bateman, a stock trading system I'm working on
#44Writing a framework for running trading strategies is certainly an interesting idea. I too am dissatisfied with most commercial platforms due to lack of features and flexibility. Unfortunately, there seems to be a lack of open source code in this sector. Eclipse Trader looked kind of interesting but the project appears to be dormant now. So expanding on this project could fill that gap. However, from experience devel…
Re: Show HN: Bateman, a stock trading system I'm working on
#45Re: Show HN: Bateman, a stock trading system I'm working on
#46Earlier quoted context omitted.
"slipage is the price the trade gets executed vs. where you thought it would be." Anyone not using limit orders in an automated trading system deserves whatever they get.
That's common wisdom for the Jim Cramer crowd and the reason it's so well known is that it's good advice for the common person who doesn't understand the market. Sometimes a trading system just needs to get an order done. Having too many busted pairs can really cause your system to become ineffective fast. or put another way, limit orders are your best bet, unless they aren't:)
Re: Show HN: Bateman, a stock trading system I'm working on
#47Expect a letter from a lawyer representing DC Comics demanding you to rename your product. An acquaintance of mine also launched a product (entirely unrelated to comics and toys) with the same name recently and was asked by DC Comics to change the name.
I think you misread the repo name as "Batman", but it's "Bateman", as in, Patrick Bateman, the character in American Psycho.
Re: Show HN: Bateman, a stock trading system I'm working on
#48Expect a letter from a lawyer representing DC Comics demanding you to rename your product. An acquaintance of mine also launched a product (entirely unrelated to comics and toys) with the same name recently and was asked by DC Comics to change the name.
I am curious, on what basis he was asked to change the name? As per my understand, It is certainly not a trademark infringement, if not belonging to the same business domain.
Re: Show HN: Bateman, a stock trading system I'm working on
#49Earlier quoted context omitted.
I am curious, on what basis he was asked to change the name? As per my understand, It is certainly not a trademark infringement, if not belonging to the same business domain.
Obviously their point was that Bateman was too close to Batman. Not being a trademarks expert, I can't comment on whether it was a trademark infringement or not, but that is besides the point. Do you want to spend time and money litigating with DC Comics?
Their point is moot. DC comics will have to go after people who own 'Patrick Bateman'. This isn't infringement(nobody is going to confuse a trading software named Bateman with a book/movie character); even if it were, the owners of 'Patrick Bateman' and not DC comics can claim infringement. At most, he will have to remove the image of Christian Bale as Patrick Bateman, but I doubt it will come to it.
Also, batman.js is in business, and DC comics didn't go after them. At what grounds did they went after your friend? Naming your software batman or superman isn't infringing DC's trademarks.