Sending market order via FIX using R

Sending market order via FIX using R

Manage alerts

Loading saved threads...

Rene Chan · External communityPost link
External question — Quantitative Finance Stack Exchange Author: Rene Chan Original post: https://quant.stackexchange.com/questions/50469 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I built a strategy in R and I would like to send the orders directly to a broker, instead of creating a CSV file that would be emailed later on. I was told to use FIX protocole, but I so far do not see any common ground with R. Is there a way to create and send order via FIX in R ? Does anyone has a step-by-step guide on how to set it up ? There is very little discussion about the subject out there. Thank you if you have the answer.
Quote
Report
nicktids · External communityPost link
External answer — Quantitative Finance Stack Exchange Author: nicktids Original post: https://quant.stackexchange.com/a/50470 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. https://en.wikipedia.org/wiki/Financial_Information_eXchange FIX is a huge protocol for institutional investors really, are you working at a bank. Do you have a broker/ did your broker tell you to use FIX or something else. FIX is not generally used on the retail side of the market, and generally API calls are used and these differ depending on which broker you use. R being a stats language you really need a programming language that can interface with API, for example the Requests library in Python is a good example that can send Http requests and process the response. An example of brokers with API (non exhaustive) Interactive Brokers IG OandA FXCM and also asked here https://stackoverflow.com/questions/59327/what-online-brokers-offer-apis I would stay away from FIX if you can as it can cost a lot to actually join the fix protocol as well where as a broker with an API will be free (bar spreads and margin).
Quote
Report
zer0hedge · External communityPost link
External answer — Quantitative Finance Stack Exchange Author: zer0hedge Original post: https://quant.stackexchange.com/a/50491 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. It is pretty easy to call C++ from R using Rcpp package. Then you can use QuickFIX for example.
Quote
Report

Post Reply

Checking account access…