Click here to Login

                                                   Trading strategy over a socket connection


Matthew Brand
2012-12-30 03:49:13

How can we connect to a socket to send price data into and receive positioning data from?

E.g. if we have a trading strategy coded in .Net running as a server and want to connect to it using QuantShare as a client?

2012-12-30 21:31:23


Hi Matthew,

You implement a script using C# by selecting "Tools -> Script Editor".
In the next release, you will be able to reference external DLLs. This version will be released in a week.

Let me know if you have any further questions.

No more messages


No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"


Trading Items
Pairs Trading Strategy
Trading Strategy based on the Sharpe Ratio Metric
Strategy Indicator - Percent winning trades for a trading rule
Hull Moving Average Strategy - Multi Time Frame Trading System
Trading Range Breakout - Long Strategy

How-to Lessons
How to create a trading system
How to generate buy/sell signals from a trading system
How to detect stocks trading near all time highs
How to add a metric in the trading system simulation report
How to get trading orders from a portfolio programmatically

Related Forum Threads
Pair Trading Strategy would be nice!
Williams%R trading strategy
Advice on building a trading simulator strategy
How to Turn any ordinary trading strategy into a profitable one
Trading strategy backtesting

Blog Posts
Create a trading strategy using the money management tool - Part ...
Money Management: Scale-in Trading Strategy
6 techniques to improve the performance of your stock trading str...
How to turn any ordinary trading strategy into a very profitable ...
Optimize a trading strategy using the Sharpe ratio

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2024
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Follow us on Google+
RSS Trading Items

Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.