What language to use for Algo / Automated Low Latency Strat (Page 2) - Traders Hideout | futures.io
futures.io futures trading

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Traders Hideout

What language to use for Algo / Automated Low Latency Strat
Started:May 28th, 2014 (04:04 PM) by Limitless100 Views / Replies:942 / 11
Last Reply:May 29th, 2014 (03:52 PM) Attachments:1

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

What language to use for Algo / Automated Low Latency Strat

Old May 29th, 2014, 03:27 PM   #11 (permalink)
Trading for Fun
New York, New York
Futures Experience: None
Platform: Takion
Broker/Data: GPC
Favorite Futures: Stocks
Limitless100's Avatar
Posts: 97 since May 2014
Thanks: 163 given, 55 received

Big Mike View Post
Agree, plus well written code in C# is likely faster than poorly written code in C++. So based on your (in)abilities, C# will often win out.

That said, as you can see from my custom platform thread, I really like R but at the same time it can be painfully slow with extremely large datasets. That is why I run it on a server with 128GB of memory, but still it is slow when dealing with billions of rows.


Another good point. I'm sure most well written code would outperform crap code in even C++.

Does the vast amount of RAM offset the coding? I would imagine that the coding runs at X speed regardless of how much can be computer at a given time. So the same program written in both R and C++, 128GB Ram and 64GB ram respectively, I would still see the C++ program execution being faster.

Reply With Quote

Old May 29th, 2014, 03:52 PM   #12 (permalink)
Market Wizard
Birmingham UK
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: IG/eSignal
Favorite Futures: Dax
ratfink's Avatar
Posts: 2,826 since Dec 2012
Thanks: 8,562 given, 5,416 received
Forum Reputation: Legendary

Good points both, and there's the rub(s), the I/O and memory performance bottlenecks are often overlooked completely. Even if those are well scoped, most modern language and architecture choices are CPU pipeline stallers and multi-level cache destroyers par-excellence. To such an extent that good looking code may not actually be achieving anything like the available ooomph in the box.

A long time ago I used to write software opcode processing modules because it was far faster to process sequential chunks of in-cache data than it was to dispatch function calls and object accesses. Modern system architectures have made these sort of trade-offs even more complex, though usually they are ignored due to the high level of functionality required, which is hard enough to get right anyway.

Once you have some ideas of what you want to do, and to what sort and size of data, you can't beat writing a few harnesses and tests, and it's good fun too.

Travel Well

Last edited by ratfink; May 29th, 2014 at 04:01 PM.
Reply With Quote
The following user says Thank You to ratfink for this post:


futures.io > Futures Trading, News, Charts and Platforms > Traders Hideout > What language to use for Algo / Automated Low Latency Strat

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
HFT - Use of Linux MRG to achieve low latency HFT2014 Traders Hideout 1 April 23rd, 2014 05:04 PM
Latency in Ninjatrader elitetradernyc NinjaTrader Programming 5 April 4th, 2013 07:52 AM
Which section to ask regarding dedicated server/ latency etc.? Elite Beginners and Introductions 2 January 11th, 2013 03:58 PM
Latency,,,really important? kalalex Traders Hideout 13 March 26th, 2012 03:24 PM
Algo SuperTrend Journal (automated) Big Mike Elite EasyLanguage Automated Trading 134 July 30th, 2011 04:01 AM

All times are GMT -4. The time now is 09:35 PM.

Copyright © 2016 by 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 2016-10-22 in 0.07 seconds with 20 queries on phoenix via your IP