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


Getting Live triggers to csv file
Updated: Views / Replies:277 / 5
Created: by ilu007 Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

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: 17 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)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,455 since Apr 2013
Thanks: 222 given, 830 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: 774 since Apr 2010
Thanks: 2,347 given, 660 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: 17 since Aug 2015
Thanks: 5 given, 0 received

Automating the strategy

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)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,455 since Apr 2013
Thanks: 222 given, 830 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 10: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)

FuturesTrader71: TBA

Elite only

Al Brooks: TBA

Elite only

Jigsaw Trading: TBA

Oct 19

RandBots: TBA

Oct 24
     

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


All times are GMT -4. The time now is 09:37 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@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 2017-09-22 in 0.10 seconds with 19 queries on phoenix via your IP 54.92.158.65