C++ or java or ......? - Traders Hideout | futures io social day trading
futures io futures trading


C++ or java or ......?
Updated: Views / Replies:5,359 / 53
Created: by FKtrader Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

C++ or java or ......?

  #31 (permalink)
Trading Apprentice
San Jose, CA
 
Futures Experience: Beginner
Platform: none
Favorite Futures: Stocks
 
Posts: 5 since Aug 2013
Thanks: 0 given, 0 received


Crow View Post
I agree. Apparently, there are firms that do high-frequency / low latency trading in Java. (removed url as the engine won't allow me to repost due to low number of posts - lenar) Depends entirely on what you are trying to do and how good of a programmer you are.

Ditto. It all depends on what you want to do. If you scalp, you want to squeeze last microsecond out of your algorithms. If you don't, it has to be "fast enough" - i.e. it has to process a signal before next one enters the system. That said, with proper architecture most delays would be due to latency rather than language. C++ over Java makes sense if latency is already reduced to nothing (i.e. datacenter next to exchange) and you do want to squeeze every last microsecond out of your algorithms. You can also make a case that whatever little advantage C++ has can be negated by fixed amount of additional resources (I'm talking about CPU here, not memory, memory management is a different topic). However, in apple-to-apple comparison (identical environment, identical architecture, etc) - C++ would be an easy pick.

As for the hiring firm – it's never apple-to-apple and Java offers better and faster development cycle.

Reply With Quote
 
  #32 (permalink)
Trading Apprentice
San Jose, CA
 
Futures Experience: Beginner
Platform: none
Favorite Futures: Stocks
 
Posts: 5 since Aug 2013
Thanks: 0 given, 0 received


artemiso View Post
Not really, I've found Fortran to be superior to C++ in several ways.

I've found Javascript to be superior to C++ in several way. I've found Perl to be superior to C++ in several ways. I've found Python to be superior to C++ in several ways. So?
Are you saying that Fortran program will run faster, given proper design in both cases? I was addressing need for speed in that part of the assessment. I doubt it, both are compiled languages. Or are you saying that the system would be easier to design in Fortran?

Reply With Quote
 
  #33 (permalink)
Elite Member
Manchester, NH
 
Futures Experience: Beginner
Platform: thinkorswim
Broker/Data: TD Ameritrade
Favorite Futures: Stocks
 
Posts: 902 since Jul 2012
Thanks: 603 given, 1,785 received



lenar View Post
I've found Javascript to be superior to C++ in several way. I've found Perl to be superior to C++ in several ways. I've found Python to be superior to C++ in several ways. So?
Are you saying that Fortran program will run faster, given proper design in both cases? I was addressing need for speed in that part of the assessment.

Yes, I am saying that. It's both marginally faster (not all compilers are born equal) with the same amount of optimization effort, and easier to design with, since Fortran has no pointers, is fully static and inherently parallel. There's good, non-legacy reason why it's still the most commonly used language in HPC.

Reply With Quote
 
  #34 (permalink)
Trading Apprentice
San Jose, CA
 
Futures Experience: Beginner
Platform: none
Favorite Futures: Stocks
 
Posts: 5 since Aug 2013
Thanks: 0 given, 0 received

I see. Can't really comment as I don't speak Fortran. Perhaps TS should add it to the list of evaluated options then.

Reply With Quote
 
  #35 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,351 given, 83,221 received

Any programmer can turn the best language into the shittiest code...

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following 2 users say Thank You to Big Mike for this post:
 
  #36 (permalink)
Elite Member
Manchester, NH
 
Futures Experience: Beginner
Platform: thinkorswim
Broker/Data: TD Ameritrade
Favorite Futures: Stocks
 
Posts: 902 since Jul 2012
Thanks: 603 given, 1,785 received

The problem in TS's case though, is that he is probably bound by a certain budget that limits him to a particular API, of which it's more difficult to find a native Fortran API.

I was commenting about the use case that you're referring to: exchange protocols are generally language-agnostic, so there's nothing saying C++ is superior if your application is latency-sensitive.


Big Mike View Post
Any programmer can turn the best language into the shittiest code...

Mike

Oh well, that's true too.

Reply With Quote
 
  #37 (permalink)
Elite Member
Las Vegas, Nevada
 
Futures Experience: None
Platform: MultiCharts
 
Posts: 44 since Apr 2010
Thanks: 12 given, 12 received


lenar View Post
As for the hiring firm – it's never apple-to-apple and Java offers better and faster development cycle.

That's why for me anyway, it makes the most sense to develop the strategy in Java and move to C++ if I need more speed.

Reply With Quote
 
  #38 (permalink)
Elite Member
Las Vegas, Nevada
 
Futures Experience: None
Platform: MultiCharts
 
Posts: 44 since Apr 2010
Thanks: 12 given, 12 received


lenar View Post
I've found Javascript to be superior to C++ in several way. I've found Perl to be superior to C++ in several ways. I've found Python to be superior to C++ in several ways. So?
Are you saying that Fortran program will run faster, given proper design in both cases? I was addressing need for speed in that part of the assessment. I doubt it, both are compiled languages. Or are you saying that the system would be easier to design in Fortran?

Intel only makes 2 compilers. One for C/C++ and the other is for Fortran. There is probably a reason why they still make a compiler for Fortran even though relatively few programmers actually know Fortran. Although I have never used it, for numerical applications and speed, I bet it really kicks ass.

Reply With Quote
 
  #39 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,351 given, 83,221 received

What about F# while we're at it? I think @NJAMC may have an opinion...

Sent from my LG Optimus G Pro

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #40 (permalink)
Elite Member
Orange County, CA / United States
 
Futures Experience: Advanced
Platform: NinjaTrader, Excel/VBA
Broker/Data: IB / Kinetick / eSignal
Favorite Futures: Equities
 
Posts: 17 since Nov 2012
Thanks: 11 given, 15 received



artemiso View Post

0. If you're trying to write crap, use Python.

Really appreciate your insights. Curious to hear more of your thoughts on Python... I keep hearing/reading that R+Python has become very popular in the HF space.

Reply With Quote

Reply



futures io > > > C++ or java or ......?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
.NET or Java? LordAlfa Jokes 4 January 13th, 2014 10:41 AM
Hi, need zenfire java aAPI atas1 Reviews of Brokers and Data Feeds 2 March 22nd, 2013 07:32 PM
How to choose? (Easy Language / Java / C# ) g94expy Platforms and Indicators 9 February 5th, 2013 09:43 AM
Java QuickStart Fat Tails Platforms and Indicators 5 December 8th, 2010 06:47 PM


All times are GMT -4. The time now is 11:01 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-13 in 0.13 seconds with 39 queries on phoenix via your IP 54.227.51.103