NexusFi: Find Your Edge


Home Menu

 





Web Service


Discussion in MultiCharts

Updated
    1. trending_up 1,859 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
ShahramTor
Onsala Sweden
 
Posts: 28 since Nov 2016
Thanks Given: 22
Thanks Received: 1

Hi,

Is there any way to make connection from MC to external Web Server using Web services?


Best regards
Shahram


Reply With Quote

 
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

Shahram,

nothing build in, but I am sure you can develop it using external DLLs.

Regards,

ABCTG


Follow me on X Reply With Quote
  #3 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,855



ShahramTor View Post
Hi,

Is there any way to make connection from MC to external Web Server using Web services?


Best regards
Shahram

 
Code
try
			{
				string url = "http://"+IPPORT+"/yourfunction/"+Symbol;
				System.Net.WebClient client = new WebClientWithTimeout ();
				client.Headers.Add("content-type","application/json");
				
				
				var response = client.DownloadString (url);
			
			}
			catch
			{
                                 // failed
			}


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
ShahramTor
Onsala Sweden
 
Posts: 28 since Nov 2016
Thanks Given: 22
Thanks Received: 1


rleplae View Post
 
Code
try
			{
				string url = "http://"+IPPORT+"/yourfunction/"+Symbol;
				System.Net.WebClient client = new WebClientWithTimeout ();
				client.Headers.Add("content-type","application/json");
				
				
				var response = client.DownloadString (url);
			
			}
			catch
			{
                                 // failed
			}


Thanks but I search for something for the regular MC not .NET!
Best regards


Reply With Quote




Last Updated on May 4, 2017


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