NexusFi: Find Your Edge


Home Menu

 





A new (open source?) trading platform


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one MXASJ with 13 posts (12 thanks)
    2. looks_two Big Mike with 12 posts (5 thanks)
    3. looks_3 tradelink with 10 posts (10 thanks)
    4. looks_4 NetTecture with 10 posts (13 thanks)
      Best Posters
    1. looks_one NetTecture with 1.3 thanks per post
    2. looks_two wh with 1.3 thanks per post
    3. looks_3 tradelink with 1 thanks per post
    4. looks_4 MXASJ with 0.9 thanks per post
    1. trending_up 78,546 views
    2. thumb_up 90 thanks given
    3. group 38 followers
    1. forum 142 posts
    2. attach_file 5 attachments




 
Search this Thread

A new (open source?) trading platform

  #11 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,600


MetalTrade View Post
SourceForge.net: Download and Develop Open Source Software for Free

Better join an existing active trading program project ?

Metal,

The point was (from post #1) I know several people writing their own, so I wanted to see if there was interest in sharing. Yes sourceforge is great, but these people that I know writing their own were doing so privately. Now the question is, are they willing to do so publicly with the promise and interest of help from others?

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Increase in trading performance by 75%
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #12 (permalink)
 
LukeGeniol's Avatar
 LukeGeniol 
Italy (IT) Italy
 
Experience: Advanced
Platform: ATAS, R|Trader, NT8
Broker: Rithmic
Trading: CL, Brent, GC, TF
Frequency: Daily
Duration: Minutes
Posts: 1,499 since Apr 2010
Thanks Given: 408
Thanks Received: 985

Maybe we also could establish a collective budget or make a donation system like the one for elite member.

Luke.

Take your Pips, go out and Live.
Luke.
Reply With Quote
  #13 (permalink)
 MetalTrade 
 
Posts: 1,055 since May 2010



Big Mike View Post
Metal,
. Now the question is, are they willing to do so publicly with the promise and interest of help from others?

Mike

If they would, they would be on sourceforge IMHO ?

I find the idea great. Me as a J2EE and C++ programmer (but not really a good one) can't imagine that it's hard to write a blazing fast trader platform. After all we connect to an easy API of for example IB ...

for the rest it's receiving data and displaying it on screen, making some calculations for the indicators, and some way to allowed self written code interact with the program.....

Reply With Quote
  #14 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,600


MetalTrade View Post
If they would, they would be on sourceforge IMHO ?

I don't think that is always the case. A lot of times someone starts a project for their own needs and never goes as far as making it "public" like on sourceforge. So, this thread will either lure them out of the woodwork and make them consider working as a group, or the thread will die a slow and painful death

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #15 (permalink)
 aviat72 
San Francisco Bay Area
 
Experience: Intermediate
Platform: NT,TOS,IB
Trading: ES,CL,TF
Posts: 281 since Jun 2010
Thanks Given: 161
Thanks Received: 273

As some one who initially started out developing their own trading platform, I would caution on jumping on the bandwagon. The domain is so vast with so many different kind of requirements that it is not easy meet them all. To me the biggest challenge was the visualization part; I can write the core code but I have limited visualization expertise.

I think for pure discretionary trading with some trade management, NT7 is great. Yes it has its quirks but it is getting better over the last 6 months. It has all the cool features to do back-testing and validation and also allows you to export your results to do further analysis. You can not back-test on tick by tick data but if you use a single range bar, you get pretty close to it; it is possibly a better representation of what you would face in the real world as you long as you account for the slippage.

Where it lacks is performance and database integration.

There are multiple factors for performance all of which are inherent to the architecture and can not be changed soon.
-> .NET managed code
-> Windows Forms drawing library based on GDI+ which is very CPU intensive
-> Single threaded main loop charting loop.

However the question is where do these limitations matter? They matter when you are doing very fast trades; were the 100s of milliseconds really matter. They also matter in high volume environment where NT might just fall behind in processing speed.

The other big area where NT falls behind is the database integration. You can not request historic data; everything has to be on the charts. In some cases you can always workaround this by building longer and longer charts but clearly this is not the most elegant solution. There are other cases where there is no workaround possible. For example, if you want indicators which run both on 24/7 and RTH data in the same strategy you are out of luck since a chart (or a strategy) can only run one session.

---------------------------------------------------------------------------------------------------------
To summarize:
-> Do not reinvent the wheel: Any custom platform should not be a jack-of-all but focus on some specific need. It should be seen as a supplement to what is already out there, and not a replacement.

-> Database Integration: In the meantime the best investment would be to develop a high-speed system (a set of dll files) which allows you to:
(a) Maintain a database of historic data
(b) Provide APIs to easily access the data in your code without having to load it on the charts.

------------------------------------------------------------------------------------------------------------
The Big Picture Proposal:

I will continue to refine my trading plans and strategies using NT. The database integration is one obvious area which can be done within the NT framework which will make the system a lot more complete.

To address the performance need, when I am ready to go automatic, I will probably write my own C/C++ based program which will be light weight, bare-bones and multi-threaded. If done properly, we will also be able to reuse much of the code we develop for NT in the system, especially the indicators and strategies AND the database access mechanism.

To keep the system light-weight, I will stick to IB/DTN combo.

IB data-feed is great during high volatility environments because its sampled feed ensures a near real-time information. DTN is great 99% of the other times when you want your tick based analysis tools to work.

IB is one of the most cost effective and reliable brokers out there and DTN-IQFeed is one of the most reliable data-feeds out there

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #16 (permalink)
 
aslan's Avatar
 aslan 
Madison, WI
 
Experience: Advanced
Platform: ALT
Trading: ES
Posts: 625 since Jan 2010
Thanks Given: 356
Thanks Received: 1,127

I have been threatening to roll my own for a long time. I have even PM-ed many of the people Mike is trying to get together to offer help. I either never got a response or got a "I'll let you know when its ready" type of response. Why is that?

For one, most people that can actually pull this off, are pretty sure they can do it themselves, and can't or don't want to work with others, and want to do it their way (the old NIH - not invented here syndrome). Also, if they can do it, this might be their edge.

Next, if you are going to spend countless hours trying to develop something, why give it away? If you are working as part of a group, this becomes less of an issue.

If you are giving it away, how do you protect it? Do you create a great structure, and let someone else use it to make a paid application?

Next, what are you trying to write? I know I can write the pieces to support what I need. Do I really want to write a bunch of functionality that others want/need? If you want to sell it, then the answer is likely yes.

Sorry, not trying to throw cold water on this effort, just trying to explain why it may not take off.

aviat72 said "Do not reinvent the wheel", could not agree more. If you are doing this to just fix/add to Ninja, then you are really wasting your time for the most part. It has to be something different/better if you really want it to take off.

If you want to build something great, the architecture is the key! You have to start with a great extensible architecture if you don't want to fall into the issues that Ninja, TradeStation, ESignal, etc. all currently have. Anyone starting now has the advantage that they know what everyone else has, and can create a good starting point.

In terms of language, I think you have to go with either C++ or C#. C++ will ultimately be faster and more portable, but don't under-estimate C#.

You need to decide on a platform. Windows is obvious, but what about MAC or Linux? If you go with windows, do you support legacy stuff or just Win7 WPF? Will you be 32/64-bit?

What data feeds and brokers will you support? Zenfire and IQFeed are pretty easy to interface to on windows. If you want to use another platform, you feed/broker needs to support it. Not many support MAC today :-(

Personally, I have been writing my own code as I know my requirements and did not expect to make it available to others (could change). This makes the coding much simpler since I don't need to code things that I don't use (it is architected for it for it). I am using C# and WPF, and would add in some C++ if I had to code some performance sensitive code (not anticipating that).

I am watching this thread with interest.

Reply With Quote
Thanked by:
  #17 (permalink)
 MetalTrade 
 
Posts: 1,055 since May 2010

I would like to write the most cpu intensive part of the program in ASM.

That would blow all other programs away in Speed, the goal must be stability and the fastest application out there.

A good Java programmer could write a platform independent program but you would have to watch out for the performance.

Reply With Quote
  #18 (permalink)
 
darthtrader3.6's Avatar
 darthtrader3.6 
wny
 
Experience: Intermediate
Platform: ninja, excel
Trading: YM, equities
Posts: 86 since Jan 2010

I would check out tradlink before starting from scratch. Would probably get a lot farther ahead pitching in to help them out than from rolling your own.

tradelink - Project Hosting on Google Code

Visit my NexusFi Trade Journal Reply With Quote
  #19 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


darthtrader3.6 View Post
I would check out tradlink before starting from scratch. Would probably get a lot farther ahead pitching in to help them out than from rolling your own.

tradelink - Project Hosting on Google Code

Good luck for tradelink, I haven't been able to run most of its pieces.

I agree with Aslan's post, and he's right when he says the archiecture is the key (but I think C++ will be a better choice than C#, and forget about Java ).

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote
  #20 (permalink)
 
aslan's Avatar
 aslan 
Madison, WI
 
Experience: Advanced
Platform: ALT
Trading: ES
Posts: 625 since Jan 2010
Thanks Given: 356
Thanks Received: 1,127



sam028 View Post
I think C++ will be a better choice than C#, and forget about Java.

The language depends on the goals, and all of those choices could be appropriate. Some things to consider:
  • performance
  • portability
    • targeted platforms
    • targeted devices (PC, tablet, browser based, phone)
    • GUI
  • leverage existing code
  • targeted customers (everyone vs small group)

Reply With Quote




Last Updated on March 10, 2024


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts