Getting Live triggers to csv file - EasyLanguage Programming | futures.io
futures.io futures trading


Getting Live triggers to csv file
Started: by ilu007 Views / Replies:144 / 5
Last Reply: Attachments:0

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

Reply
 
Thread Tools Search this Thread
 

Getting Live triggers to csv file

  #1 (permalink)
Trading Apprentice
New York + US
 
Futures Experience: Intermediate
Platform: MultiCharts
Favorite Futures: Indian Stocks
 
Posts: 14 since Aug 2015
Thanks: 5 given, 0 received

Getting Live triggers to csv file

Dear Traders,

I am using Multicharts platform and I have strategies coded in Easy language. I need to automate the trade. Since all the brokers in India does not have bridge with Multicharts. However they say that if Multicharts has the capability to convert the live triggers from the chart to .csv file then they are able to fire the order to the Exchange.

Does anyone know whether we can convert the live triggers from the chart to .csv file instantly?

I believe Tradestation has these features but have doubt about MC's capabilites

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
 Vendor: abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,191 since Apr 2013
Thanks: 198 given, 681 received


ilu007,

you will likely have to write the file yourself (i.e. have the code do it) at the moment your order is triggered. Then it would have to be in a format that your broker's software can pick up and execute.

Regards,

ABCTG

Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #4 (permalink)
 Vendor: tradingcode.net 
The Netherlands
 
Futures Experience: None
Platform: MultiCharts, TradingView
Favorite Futures: -
 
Jura's Avatar
 
Posts: 766 since Apr 2010
Thanks: 2,347 given, 646 received


ilu007 View Post
I am using Multicharts platform and I have strategies coded in Easy language. I need to automate the trade. Since all the brokers in India does not have bridge with Multicharts. However they say that if Multicharts has the capability to convert the live triggers from the chart to .csv file then they are able to fire the order to the Exchange.

Does anyone know whether we can convert the live triggers from the chart to .csv file instantly?

You can use the FileAppend() keyword to write information to a file.

For instance (totally untested):

 
Code
if (longSignal) then begin

  Buy 1 contracts next bar at market;
  
  FileAppend("C:\Temp\TradeLog\SeptemberTrades.csv",
    "Symbol;direction;orderSize");

end;
By the way, I would first get very clear of your broker what they mean with "convert the live triggers from the chart to .csv file then they are able to fire the order to the Exchange". Because once you have the .csv file with the orders on your computer, you'd still need to have some way to send it to your broker.

Since you probably don't want to do that manually (if that would be even possible), this would probably require programming a way to upload this to the broker. And this would complicate things quite a bit.

Reply With Quote
The following user says Thank You to Jura for this post:
 
  #5 (permalink)
Trading Apprentice
New York + US
 
Futures Experience: Intermediate
Platform: MultiCharts
Favorite Futures: Indian Stocks
 
Posts: 14 since Aug 2015
Thanks: 5 given, 0 received

Automating the strategy

Futures Edge on FIO
Hey Jura,

Thanks a lot for your comment. Your view make a lot of sense to me. Apart from this option I have other option such as getting Multicharts API for order. MC does provide such API for Automation. Do you have any information about this whether it is free API or else I have to shell out some money for it?

Trading Software Development Kits (2nd option from top)

Went through your website tradingcode.net. It looks very promising and I may need some help from you regarding coding in Multicharts.



Jura View Post
You can use the FileAppend() keyword to write information to a file.

For instance (totally untested):

 
Code
if (longSignal) then begin

  Buy 1 contracts next bar at market;
  
  FileAppend("C:\Temp\TradeLog\SeptemberTrades.csv",
    "Symbol;direction;orderSize");

end;
By the way, I would first get very clear of your broker what they mean with "convert the live triggers from the chart to .csv file then they are able to fire the order to the Exchange". Because once you have the .csv file with the orders on your computer, you'd still need to have some way to send it to your broker.

Since you probably don't want to do that manually (if that would be even possible), this would probably require programming a way to upload this to the broker. And this would complicate things quite a bit.


Reply With Quote
 
  #6 (permalink)
 Vendor: abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,191 since Apr 2013
Thanks: 198 given, 681 received

ilu007,

the API is not free unfortunately. I don't recall the exact amount, but is was something like 5-10k $. The others prices published under the link will give you an idea what to expect.
Keep in mind that any programming would be on top of that as you'd still need to write (have someone write) the code to connect MC to your broker.

Regards,

ABCTG


ilu007 View Post
Apart from this option I have other option such as getting Multicharts API for order. MC does provide such API for Automation. Do you have any information about this whether it is free API or else I have to shell out some money for it?



Last edited by ABCTG; September 17th, 2016 at 11:31 AM.
Reply With Quote

Reply



futures.io > > > > > Getting Live triggers to csv file

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Anthony Drager: Pulling the trigger with confidence

Elite only
 

Leo Murphy: The Art and Science of Technical Analysis

Elite only
 

FuturesTrader71: Ask Me Anything

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
1st Triggers Sequence of OCO. Possible? ry4n ThinkOrSwim 0 February 5th, 2016 05:58 PM
How can I convert a .csv file to text for import into NT? gunsnmoney NinjaTrader 17 July 2nd, 2015 05:05 PM
multitimeframe live CSV export rirhasiu NinjaTrader 5 May 16th, 2013 03:15 PM
MF Global triggers regulatory rethink at CFTC kbit News and Current Events 0 February 1st, 2012 07:35 PM
All economic events/news 2007-2011 in one CSV file Nicolas11 Elite Automated Trading 12 January 31st, 2012 07:52 AM


All times are GMT -4. The time now is 03:24 AM.

no new posts
Page generated 2017-01-24 in 0.11 seconds with 20 queries on phoenix via your IP 54.92.229.162