Getting Live triggers to csv file - futures io
futures io futures trading



Getting Live triggers to csv file


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one ilu007 with 2 posts (0 thanks)
    2. looks_two ABCTG with 2 posts (1 thanks)
    3. looks_3 Jura with 1 posts (1 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 1,065 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 5 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

Getting Live triggers to csv file

(login for full post details)
  #1 (permalink)
New York + US
 
Experience: Intermediate
Platform: MultiCharts
Trading: Indian Stocks
 
Posts: 37 since Aug 2015
Thanks: 10 given, 2 received

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

Started this thread Reply With Quote

Journal Challenge February 2021 results:
Competing for $1500 in prizes from Topstep
looks_oneSBtrader82 's Trading Journalby SBtrader82
(173 thanks from 31 posts)
looks_twoJust BEING a Trader: Letting Go!!by iqgod
(120 thanks from 33 posts)
looks_3Wisdom is Emptinessby Mtype
(68 thanks from 25 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(35 thanks from 17 posts)
looks_5Journal for peanuts1956by peanuts1956
(23 thanks from 13 posts)
 
 
(login for full post details)
  #3 (permalink)
 
 
Posts: 2,230 since Apr 2013
Thanks: 409 given, 1,471 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

Follow me on Twitter Reply With Quote
The following user says Thank You to ABCTG for this post:
 
(login for full post details)
  #4 (permalink)
The Netherlands
 
Experience: None
Platform: MultiCharts, TradingView
Trading: ...
 
Jura's Avatar
 
Posts: 774 since Apr 2010
Thanks: 2,347 given, 688 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:
 
(login for full post details)
  #5 (permalink)
New York + US
 
Experience: Intermediate
Platform: MultiCharts
Trading: Indian Stocks
 
Posts: 37 since Aug 2015
Thanks: 10 given, 2 received

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.


Started this thread Reply With Quote
 
(login for full post details)
  #6 (permalink)
 
 
Posts: 2,230 since Apr 2013
Thanks: 409 given, 1,471 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?


Follow me on Twitter Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > Getting Live triggers to csv file


Last Updated on September 17, 2016


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Call Option Buying: The New Pain Trade? w/Carley Garner

Elite only
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

New Challenge (TBD)

April
     



Copyright © 2021 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