HNHacker News
TopNewBestAskShowJobs

cashua

8 karma · joined March 17, 2009

submissionscomments
cashua··on New Stock platform
tickmarkt at gmail

Sorry Edit its tickmarkt not tickmark

cashua··on New Stock platform
The site is basically a website where you can write backtesters and screeners and there is a bit of social network/trading thrown in. Screeners and backtesters work on algorithms to actually find and trade stocks. I have traded in the past and always wanted something like this. There are software packages but they are expensive and you need a lot of money for them and the data feeds are expensive as well. My goal is to bring all this information in an easy to use way.
cashua··on New Stock platform
The following code is for a backtester. I created the application on tickmarkt. It checks when an exponential moving average with 5 day lags crosses over the 10 day moving average and will open a trade. You might need a large time period for this to work or you can lower the lag and it will fire off sooner. I have some technical analysis indicators built into the system that I will soon open source as well.

here is some example backtester code:

var hasTrade = false;

function Init() { }

function Tick() { //5-day exponential moving average var ma5=analysis.Technical.ema('AAPL', 1 , 1 , 5 );

//10-day exponential moving average var ma10=analysis.Technical.ema('AAPL', 1 , 1 , 10 );

//invalid time data because of weekend if (ma5.length == 0 || ma10.length == 0) return;

if (ma5[0].value > ma10[0].value) { //open a trade if we dont have one if (hasTrade == false) {

      api.Broker.OpenTrade('AAPL', 
                           100,
               'open trade on cross'); 
     
     hasTrade = true;
   }
} else if (ma5[0].value < ma10[0].value) { //close a trade since we have one if (hasTrade == true) { api.Broker.OpenTrade('AAPL', -1100, 'close trade on cross');

      hasTrade = false;
   }
}

}

function Destroy() { }

cashua··on New Stock platform
Both screener and backtester are executed client side. Its very opensocial style of development. Also since this is private funded I dont have money for servers on server side.

Also for the non programmers...the applications can be made public so non programmers can use the public of applications.. Also the app developers like in opensocial can throw ads on the screeners.

cashua··on New Stock platform
It is javascript...thanks for your feedback
cashua··on New Stock platform
The big part of this site is the backtester and screener. Its basically the place that you can write applications against our data. http://tickmarkt.com/app/documentation tells you the apis for both. Hope this helps a bit.
cashua··on New Stock platform
Please let me know what you think of the site. Its currently in stealth and I wanted to share it with the community.