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 151,978 views
    2. thumb_up 100 thanks given
    3. group 42 followers
    1. forum 148 posts
    2. attach_file 6 attachments




 
Search this Thread
  #141 (permalink)
 rupurt 
Brooklyn NY/USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Futures
Posts: 20 since Jun 2015
Thanks Given: 2
Thanks Received: 18

Is there any interest in a unix based polyglot trading toolkit? I've been developing a set of tools in ruby that's CLI based. Each component is split up into a separate process so they can be swapped out with a different implementation e.g. currently the backtester is ruby which is fast enough for the stuff I'm doing but could easily see how someone might want to write it in rust, c, etc...

I was hoping I might be able to find some like minded people on these forums so that we could form some sort of collaboration.

Reply With Quote
  #142 (permalink)
 rounder8 
Bangkok, Thailand
 
Experience: None
Posts: 140 since Mar 2011
Thanks Given: 291
Thanks Received: 175

I have posted information about my project:


Reply With Quote
Thanked by:
  #143 (permalink)
 inter 
Newtown Pennsylvania/USA
 
Experience: Intermediate
Platform: TWS NinjaTrader MATLAB
Posts: 14 since May 2019
Thanks Given: 5
Thanks Received: 4


Jasonnator View Post
I started a thread here which has some links to the documentation. In my opinion, StockSharp is leagues ahead of tradelink/glean and it is actually full open source (except for the license tool).

Were you able to find an alternative solution?

Stocksharp in my opinion is not the right solution.

Reply With Quote
  #144 (permalink)
 
Fu510n's Avatar
 Fu510n 
Suffield, CT
 
Experience: Advanced
Platform: TS, MC, Python, Rust
Broker: TS, IB, IQFeed, Kraken
Trading: NQ, CL, ES, RTY
Frequency: Several times daily
Duration: Seconds
Posts: 154 since Oct 2009
Thanks Given: 909
Thanks Received: 152

Hoping to resuscitate this thread...

As a 40+ year IT professional, I've spent a considerable amount of time (past 18+ years) trying to mesh my passions for both trading and programming, initially as a hobbyist and now full-time. I've used most of the popular retail trading platforms ( NinjaTrader, MultiCharts, MotiveWave and for the past few years, mainly TradeStation 9.5 & 10) and have had many love/hate experiences with all of them. I have life-time licenses for a few though am personally against paying via any subscription-based method so that has kept Sierra Chart off my list (though I did try it and was impressed but even it lacked some of what I've found to be missing from all of the others to some degree).

My personal wish list of platform requirements (basically what TradeStation 10 currently has now PLUS):

  • Real-time historical tick playback (I should be able to play back ticks for a given day at whatever speed I want, including exactly how it occurred, not just some arbitrary "10 updates per second" nonsense)
  • The ability to simply click on a bar to specify a replay starting point (MultiCharts has this but their real-time playback is still lacking)
  • Optimization engine with cached indicator results that can be reused throughout the optimization process - this speeds up optimization insanely well though I'm not sure if any retail platforms actually do this
  • Access to tick-level Bid/Ask "aggressor" data as provided by IQFeed but never exposed at the (EasyLanguage) API level (TradeStation & IB data aren't close to IQFeed for a number of reasons)
  • Accurate Renko bars with high/low wicks (TradeStation fails on this front, causing backtest results to be over-optimistic)
  • Order flow functionality similar to what's provided by Michael Valtos' OrderFlows software built-in
  • Ability to update indicator parameters "live" and see the effect on the UI immediately (think discretionary "tuning")
  • Support for Windows, Linux and OSX

Mind you, there's a LOT of what TradeStation offers that I'll never use but others might - it blows my mind though why real-time replay just isn't considered "important" (or maybe it's TOO important - hmm). There have been some hacks mentioned in the TS forum that I've tried but they're just that - hacks.

As mentioned elsewhere in this thread, it should be fast, accurate AND reliable (not just the usual "pick any two"). It should have an event-based, multithreaded architecture and access to some sort of scripting language is assumed available. I've grown accustomed to EasyLanguage (OOEL) in particular as I can extend it via DLLs as needed (using whatever language I care to develop in) and I've found I can do a lot more with fewer lines of code in EL. In a perfect world, I'd be able to debug OOEL via VSCode (not just edit), alas, that probably will never happen. My panacea open source platform would translate and compile EasyLanguage/OOEL indicator & strategy code to LLVM and let me run at maximum speed like most retail platforms do today already - someday...

As Mike and others have mentioned, there are a few of us here who decided to bite the bullet and try to roll their own platform as there simply isn't an open source option that I've ever seen that comes remotely close to the commercial retail platforms. If all you're looking to do is relatively simplistic bar-level strategies (MA crossovers, momentum-based, etc.), you probably don't need what I'm looking for which extends beyond that into trying to automate discretionary tick-level price action activity that my eyes can see and process but I've yet to convert 100% to code. Despite having spent years trying literally thousands of bar-level strategies, I've never been able to consistently match what I can do manually using price action alone which is somewhat more difficult to wrap in some algorithmic "secret sauce" (at least for me). Attempts at leveraging machine learning made me realize even that was more about having the right feature sets up front; "indicator soup" is only half (at best) of the data required. so plenty more investigation is still TBD on that front.

Since I also want to be OS-agnostic, I initially thought of seeing what I could do with Python alone and developed Fu510nTrader but ran into performance issues that forced me to stop and re-think architecture. Were Mojo more mature and available for native Windows development (and had support for Qt6), I might have gone that route alas that's probably at least a year+ away from reality. Still, I learned a lot along the way, particularly on UI best practices when writing Qt applications. The platform does do everything on my wish list but has many gaps to fill before ever being able to use for live trading. I decided to tackle the performance issues by porting the whole thing over to Rust last year, which is 100X-1000X faster for sure but here again, developing anything in Rust has a considerable (vertical?) learning curve which took me a year to port and it's still very much "in progress" as a PyQtGraph equivalent really doesn't exist for Rust and Qt's charting API leaves a lot to be desired. Charting alone is a rat's nest of it's own which is making me think I should really just try to integrate with one of the JavaScript-based frameworks like Highcharts or ChartIQ (the former can be used for personal projects).

Which is all just a long-winded way of saying - it's a LOT of work, especially for one person (or even a small group) to attempt alone but having invested several thousand hours in the code I've written over the years, I can see how/why most are reluctant to simply "give it away" and have others potentially profit from one's efforts. I'm not sure really where I stand at this point as I have a few remaining milestones that keep me 150% busy most of the time these days. Packt did reach out to me last year to write a book on mastering EasyLanguage language on TradeStation that I turned down for a few reasons (lack of time be the primary one) though I think we'd all really benefit if there were a FOSS trading platform that literally "did it all" the absolute best way possible and, like Linux, blossomed well beyond what Linus initially started out with.

Thoughts?
-Guy

FWIW, I asked ChatGPT for "an itemized list of all the features in TradeStation 10 (do NOT summarize, but list all of them)" just to see what it would come up with:

1. Advanced Charting Tools
  • Interactive Charting Interface
  • Multiple Chart Types (e.g., candlestick, bar, line)
  • Customizable Indicators and Overlays
  • Drawing Tools (e.g., trend lines, Fibonacci retracements)
  • Multi-Timeframe Analysis
  • Chart Templates and Presets
  • Price Alerts and Notifications
2. EasyLanguage Scripting
  • Proprietary Programming Language for Custom Strategies
  • Development Environment for Writing, Testing and Debugging Scripts
  • Access to Built-In Functions and Libraries
  • Support for Creating Custom Indicators and Strategies
  • Backtesting and Optimization Capabilities
3. Automated Trading
  • Strategy Automation Based on EasyLanguage Scripts
  • Real-Time Order Execution
  • Automated Risk Management
  • Integration with Trading Algorithms
  • Scheduled Trading Sessions
4. Strategy Backtesting and Optimization
  • Historical Data Access for Testing Strategies
  • Performance Metrics and Analytics
  • Parameter Optimization Tools
  • Walk-Forward Testing
  • Monte Carlo Simulations
5. Real-Time Market Data and Analytics
  • Live Streaming Quotes
  • Level II Market Depth
  • Time and Sales Data
  • Real-Time News Feeds
  • Economic Calendars and Events
6. Extensive Order Types and Execution
  • Market Orders
  • Limit Orders
  • Stop Orders
  • Trailing Stops
  • Bracket Orders
  • One-Cancels-the-Other (OCO) Orders
  • Advanced Order Routing Options
7. Portfolio Management Tools
  • Real-Time Portfolio Tracking
  • Performance Analytics
  • Risk Assessment Metrics
  • Asset Allocation Tools
  • Customizable Dashboards
8. Market Scanners and Screeners
  • Pre-Built Scanning Criteria
  • Customizable Scan Parameters
  • Real-Time Screening of Stocks, Options, and Futures
  • Alert Notifications for Scan Results
9. Risk Management Tools
  • Position Sizing Calculators
  • Risk/Reward Analysis
  • Margin Monitoring
  • Stop Loss and Take Profit Settings
  • Exposure Tracking
10. Mobile and Web Trading Platforms
  • TradeStation Mobile App for iOS and Android
  • Responsive Web Interface
  • Real-Time Trade Execution on Mobile Devices
  • Access to Charts and Market Data on the Go
11. API Access for Custom Integrations
  • TradeStation API for Developers
  • REST and WebSocket APIs
  • Support for Custom Applications and Integrations
  • Access to Account Information and Market Data
12. Multiple Asset Class Support
  • Stock Trading
  • Options Trading
  • Futures Trading
  • Forex Trading
  • ETFs and Mutual Funds
13. Customizable Workspaces
  • Drag-and-Drop Interface for Layout Customization
  • Multiple Monitor Support
  • Save and Load Workspace Configurations
  • Customizable Toolbars and Menus
14. Integration with Third-Party Tools
  • Compatibility with Various Plug-Ins and Add-Ons
  • Integration with Market Data Providers
  • Support for External Analytics Tools
15. Extensive Historical Data Access
  • Access to Decades of Historical Price Data
  • Intraday and Daily Data Availability
  • Downloadable Data for Offline Analysis
16. Interactive Order Management
  • Order Entry Panels
  • Real-Time Order Book Visualization
  • Order Modification and Cancellation
  • Order History Tracking
17. News and Research Integration
  • Real-Time News Feeds from Multiple Sources
  • Integrated Research Reports
  • Economic News and Analysis Tools
18. Educational Resources and Support
  • In-App Tutorials and Guides
  • Webinars and Live Training Sessions
  • Comprehensive Knowledge Base
  • Customer Support via Chat, Email, and Phone
19. Security and Compliance Features
  • Two-Factor Authentication (2FA)
  • Secure Data Encryption
  • Compliance Monitoring Tools
  • Audit Trails and Logging
20. Custom Alerts and Notifications
  • Price Alerts
  • Indicator-Based Alerts
  • News Alerts
  • Order Execution Notifications
  • Mobile Push Notifications
21. TradeStation RadarScreen®
  • Real-Time Scanning of Multiple Stocks
  • Customizable Columns and Filters
  • Integration with TradeStation’s Ecosystem
  • Watchlist Management
22. TradeStation Strategy Network®
  • Marketplace for EasyLanguage Strategies
  • Community Sharing and Purchasing of Strategies
  • Strategy Rating and Reviews
23. Advanced Chart Analysis Tools
  • Volume Analysis Tools
  • Technical Indicator Libraries
  • Pattern Recognition Tools
  • Chart Replay Feature
24. Simulated Trading (Paper Trading)
  • Risk-Free Environment for Testing Strategies
  • Real-Time Market Simulation
  • Transition from Simulated to Live Trading
25. FIX Protocol Support
  • Financial Information eXchange (FIX) Protocol Integration
  • Direct Connectivity to Brokers
  • Automated Order Routing
26. Collaboration and Sharing Features
  • Exporting Charts and Reports
  • Sharing Strategies and Scripts
  • Team Access and Permissions
27. Tax Reporting Tools
  • Automated Trade Reporting for Tax Purposes
  • Integration with Tax Software
  • Customizable Tax Reports
28. Real-Time Analytics and Dashboarding
  • Live Performance Metrics
  • Customizable Dashboards
  • KPI Tracking
29. User Account Management
  • Multiple Account Support
  • User Permissions and Roles
  • Account Linking and Integration
30. Cross-Platform Compatibility
  • Windows Desktop Application
  • Mac Compatibility via Virtualization or Alternative Solutions
  • Consistent Experience Across Devices
31. API for Automated Trading Bots
  • Support for Developing and Deploying Trading Bots
  • Integration with Machine Learning Models
  • Backtesting and Live Deployment Support
32. Comprehensive Documentation
  • Detailed User Manuals
  • API Documentation
  • Developer Guides
33. Custom Indicators and Studies
  • Creation of Custom Technical Indicators
  • Integration with Third-Party Indicator Libraries
  • Visual Customization of Indicators
34. Multi-Language Support
  • User Interface Available in Multiple Languages
  • Support for International Markets
35. Real-Time Collaboration Tools
  • Shared Workspaces
  • Team Strategy Development
  • Live Chart Sharing
36. High-Frequency Trading (HFT) Support
  • Low-Latency Execution
  • Direct Market Access (DMA)
  • Co-Located Servers Options
37. API Rate Limiting and Throttling Controls
  • Manage API Usage
  • Prevent Overuse and Abuse
  • Ensure Fair Access to Resources
38. Integration with Financial Calendars
  • Economic Event Scheduling
  • Earnings Report Calendars
  • News Release Schedules
39. Advanced Search and Filtering
  • Deep Search Capabilities for Orders and Trades
  • Filtering Options Based on Multiple Criteria
  • Saved Search Templates
40. Multi-Currency Support
  • Trading in Multiple Currencies
  • Real-Time Currency Conversion
  • Hedging Tools for Currency Risk
41. Customizable Reporting Tools
  • Generate Custom Reports
  • Export Reports in Various Formats (PDF, Excel)
  • Automated Report Scheduling
42. Alerts for Market Conditions
  • Volatility Alerts
  • Price Movement Alerts
  • Volume Spike Notifications
43. Integrated Customer Support Chat
  • In-App Support Chat
  • Real-Time Assistance
  • Support Ticket Tracking
44. Dark Mode and Theme Customization
  • User Interface Themes
  • Dark Mode for Reduced Eye Strain
  • Custom Color Schemes
45. Automated Data Backups
  • Regular Backup of User Data
  • Restore Points
  • Cloud Storage Integration
46. Support for Dividend and Corporate Action Tracking
  • Dividend Schedules
  • Stock Splits and Mergers Notifications
  • Corporate Action Updates
47. Integration with Tax Optimization Tools
  • Tax-Loss Harvesting Features
  • Capital Gains Tracking
  • Deduction Calculators
48. Comprehensive Order History Tracking
  • Detailed Logs of All Orders
  • Searchable Order History
  • Order Status Tracking
49. Customizable Workspace Layouts
  • Save Multiple Layouts
  • Quick Switching Between Layouts
  • Layout Sharing Options
50. Support for Alternative Data Sources
  • Social Media Sentiment Analysis
  • Geospatial Data Integration
  • Satellite Data for Market Insights

...asking it to produce a high-level PlantUML diagram describing TradeStation 10 produced (food for thought):

Quoting 
@startuml
!define RECTANGLE class

' Define system boundaries
package "TradeStation 10" {

[User Interface] as UI
[API Gateway] as API
[Order Management System] as OMS
[Trading Engine] as TE
[Market Data Feed] as MData
[Authentication Service] as Auth
[Database Systems] as DB
[External Integrations] as Ext
[Reporting & Analytics] as RA
[Algorithmic Trading Module] as Algo

' Define interactions
UI --> API : HTTP/HTTPS Requests
API --> Auth : Authenticate User
API --> OMS : Manage Orders
API --> TE : Execute Trades
API --> RA : Fetch Reports
OMS --> TE : Send Orders
TE --> MData : Receive Market Data
TE --> Ext : Execute Orders with Brokers
TE --> Algo : Run Automated Strategies
OMS --> DB : Store Order Details
TE --> DB : Store Trade Executions
RA --> DB : Retrieve Data
Algo --> MData : Access Market Data
Algo --> TE : Place Orders
}

' Define external systems
package "External Systems" {
[Brokerage Services] as Broker
[News & Data Providers] as News
[Third-Party APIs] as TPAPI
}

' Define external interactions
TE --> Broker : Send Orders
MData --> News : Aggregate Data
Algo --> TPAPI : Integrate with External APIs
@enduml


Follow me on Twitter Reply With Quote
  #145 (permalink)
 
casey44's Avatar
 casey44 
Louisville KY
 
Experience: Beginner
Platform: NT8
Trading: micros
Frequency: Daily
Duration: Minutes
Posts: 262 since Jan 2010
Thanks Given: 4,116
Thanks Received: 322

@Fu510n No idea if of value given your experience but fwiw just noticed a reference to a 'Quant Science' on twitter/X. Their handle is " @Quantscience_ " (note the underscore character). Scroll down a bit for a webinar on Jan 15.

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #146 (permalink)
 
Fu510n's Avatar
 Fu510n 
Suffield, CT
 
Experience: Advanced
Platform: TS, MC, Python, Rust
Broker: TS, IB, IQFeed, Kraken
Trading: NQ, CL, ES, RTY
Frequency: Several times daily
Duration: Seconds
Posts: 154 since Oct 2009
Thanks Given: 909
Thanks Received: 152


casey44 View Post
@Fu510n No idea if of value given your experience but fwiw just noticed a reference to a 'Quant Science' on twitter/X. Their handle is " @Quantscience_ " (note the underscore character). Scroll down a bit for a webinar on Jan 15.

Thanks - looks interesting though possibly not Futures-centric (which is what I predominately trade) based on what I saw in their teaser video.

My daily "pay the bills" (discretionary) strategy makes 100 NQ ticks a day but I really need to automate it.

Follow me on Twitter Reply With Quote
Thanked by:
  #147 (permalink)
 
Fu510n's Avatar
 Fu510n 
Suffield, CT
 
Experience: Advanced
Platform: TS, MC, Python, Rust
Broker: TS, IB, IQFeed, Kraken
Trading: NQ, CL, ES, RTY
Frequency: Several times daily
Duration: Seconds
Posts: 154 since Oct 2009
Thanks Given: 909
Thanks Received: 152

FWIW, in fairness to MotiveWave, I haven't used it for over 6+ years as I felt it lacking on several fronts when I tried trading with it (and not being a fan of Java for anything expected to perform well).

I just updated to the latest version a couple days ago and have been pleasantly surprised to find that it actually does tick quite a few items on my list:

  • Real-time historical tick playback (works pretty well with IQFeed data)
  • The ability to simply click on a bar to specify a replay starting point (not exactly this but you can specify a HH:MM starting point)
  • Accurate Renko bars with high/low wicks
  • Order flow functionality similar to what's provided by Michael Valtos' OrderFlows software built-in
  • Ability to update indicator parameters "live" and see the effect on the UI immediately (think discretionary "tuning")
  • Support for Windows, Linux and OSX

It does consume quite a bit of CPU while running but that could be the OFA add-on I also bought back then (2017) so I may just disable that if I don't end up using it to see if that keeps my CPU fan from spooling up (it uses 2X-3X of what TradeStation and/or MultiCharts uses and those both have a lot of charts/indicators on them vs. a couple charts with 2-3 indicators). On a positive note as well, it support TradeStation as a broker while using IQFeed data which is nice.

Follow me on Twitter Reply With Quote
  #148 (permalink)
 
Fu510n's Avatar
 Fu510n 
Suffield, CT
 
Experience: Advanced
Platform: TS, MC, Python, Rust
Broker: TS, IB, IQFeed, Kraken
Trading: NQ, CL, ES, RTY
Frequency: Several times daily
Duration: Seconds
Posts: 154 since Oct 2009
Thanks Given: 909
Thanks Received: 152


Fu510n View Post
FWIW, in fairness to MotiveWave, I haven't used it for over 6+ years as I felt it lacking on several fronts when I tried trading with it (and not being a fan of Java for anything expected to perform well).

I just updated to the latest version a couple days ago and have been pleasantly surprised to find that it actually does tick quite a few items on my list:

  • Real-time historical tick playback (works pretty well with IQFeed data)
  • The ability to simply click on a bar to specify a replay starting point (not exactly this but you can specify a HH:MM starting point)
  • Accurate Renko bars with high/low wicks
  • Order flow functionality similar to what's provided by Michael Valtos' OrderFlows software built-in
  • Ability to update indicator parameters "live" and see the effect on the UI immediately (think discretionary "tuning")
  • Support for Windows, Linux and OSX

It does consume quite a bit of CPU while running but that could be the OFA add-on I also bought back then (2017) so I may just disable that if I don't end up using it to see if that keeps my CPU fan from spooling up (it uses 2X-3X of what TradeStation and/or MultiCharts uses and those both have a lot of charts/indicators on them vs. a couple charts with 2-3 indicators). On a positive note as well, it support TradeStation as a broker while using IQFeed data which is nice.

Having spent a bit of time refamiliarizing myself with the latest MotiveWave version, I was sad to find that the strategy optimizer is still single threaded (vs. pretty much every other platform that has the ability to saturate all cores while optimizing). Not sure why that's the case given it's a Java app, but hopefully something they enhance in future versions (I have the Pro version FWIW).

Follow me on Twitter Reply With Quote
  #149 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,691 since Jul 2012
Thanks Given: 1,904
Thanks Received: 7,406


Fu510n View Post
Having spent a bit of time refamiliarizing myself with the latest MotiveWave version, I was sad to find that the strategy optimizer is still single threaded (vs. pretty much every other platform that has the ability to saturate all cores while optimizing). Not sure why that's the case given it's a Java app, but hopefully something they enhance in future versions (I have the Pro version FWIW).

The ironic thing about all these platforms trying to improve optimization times is that it encourages so many bad habits (primarily over optimization, curve fitting, whatever you want to call it).

Most strategy builders would be better served if these platforms made optimization TOUGHER AND SLOWER.

Just my 2 cents.

Follow me on Twitter Reply With Quote




Last Updated on January 13, 2025


© 2025 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 - Sitemap - Downloads - Top
no new posts