Comments (9)
Usually I first figure out whether something is possible in excel api, because for that you can fully utilise Bloomberg help desk.
The c++ api capabilities should be a subset (at best equal) of excel api. And rblpapi capabilities is a strict subset of c++ api.
Try helpdesk, or your Bloomberg sales rep. But for api based trade orders, I would interface directly with brokers that offer such capability - itβs their core business. Bloomberg is not a broker.
from rblpapi.
i stand corrected on the front of altering orders with bloomberg api. turns out, if you are referring to EMSX, you can definitely do that via the c++ bloomberg api.
ideas of how to do that, from some generic guide i found online: https://emsx-api-doc.readthedocs.io/en/latest/introduction.html . seems like you have to sign some paper work and at least get the EMSX tool working on your Excel first as a test.
Then it's just a matter of coding up R wrappers for the c++ functionality. Bunch of example c++ code here https://github.com/tkim/emsx_api_repository , how to create orders, cancel orders etc.
It'll be a lot of engineering effort to port these functionality into R. Probably your best bet is indeed python or C++.
A question to the maintainers of Rblpapi, is the legal framework set up such that developers of this package have their backs covered in case of problems that arise from this package's usage. I mean someone could be game enough to code up these functionality, but probably will feel uneasy about whether we are covered if others use it and suffer losses due to bugs...
from rblpapi.
having looked further, there are similarities between EMSX API functions with what Rblpapi currently supports. Eg, to create a new order, it's very similar to sending a bdp request (but instead of setting the field name you want to request, you set the ticker and amount you want to trade), https://github.com/tkim/emsx_api_repository/blob/master/EMSXFullSet_Python/CreateOrder.py
Anyway, here's pointers to anyone interested.
https://emsx-api-doc.readthedocs.io/en/latest/programmable/requestResponse.html
from rblpapi.
i would say, best course of action is, code up whatever subset of EMSX API functionality you need in python, into nice functions, then call these functions in R using reticulate. this way, you get the best of both worlds, ie data and trading algorithm developed in R, and the full spectrum of EMSX functionality available to you and easily customised in python, exposed to your R main program via reticulate.
from rblpapi.
-
Please have the courtesy to close an ticket you opened when we reported back to you. I think #366 is done, no?
-
We are not the Bloomberg Help Desk, in other words we do not get paid for this. Nothing is hidden from you, so please glance at the package to see what is there today. I think there is little in terms of subscription report.
-
More forward looking, we can support whatever the C++ API we are building on top of supports. Maybe you want to chip in with a routine or two?
Otherwise, yes, there is always Python or your trusted E#$%l plugin.
from rblpapi.
- Usually, If I am not sure if the author wants to close it, I leave it open. For example, if you maybe want to change examples in the readme from "GOOG Equity" to "GOOG US Equity" .
- I have skimmed the package and didn't find anything connected to making orders. I was asking if something like this is possible inside this package or you know some other place to look at.
- I see you use C++ (Rcpp), but unfortunately, I am not that good at it to write my own C++ script as in Bloomberg documentation. Maybe this is good as motivation to learn it better.
from rblpapi.
I suggest we close this. CCing @johnlaing @armstrtw
from rblpapi.
For example, if you maybe want to change examples in the readme from "GOOG Equity" to "GOOG US Equity" .
Fair point, and helpful hint. A quick recursive grep show examples using 'Equities' to be preceded by ticker and 'US' in about ten examples and spots but not in the README so I will address that there.
from rblpapi.
README change has been implemented (thanks Dirk) and merged.
While it is certainly outside the scope of the package I do not think Bloomberg offers any sort of trading functionality via the API. If they did, we would have to think very hard about whether there are enough legal disclaimers in the world to entice us to implement those features.
from rblpapi.
Related Issues (20)
- Installation failure Rblpapi MacOS HOT 6
- How do I connect to Bloomberg Anywhere HOT 1
- include.non.trading.days = TRUE not returning non-trading days. HOT 2
- getBars doesn't work for equities HOT 6
- Cannot install with Newer version of R, 4.2.1 HOT 4
- Connection failed using Bloomberg Everywhere version in OS X environment HOT 1
- Remove dependence on fts
- Larger cap for lookupSecurity maximum results HOT 8
- Bdp returns NA value for id_bb_company HOT 4
- Filling holidays historical prices with the last available price HOT 4
- Could I get a Pay Index through Rblpapi? HOT 4
- Downloading Yield Curve Data HOT 1
- Connection funnyness HOT 5
- documenting valid periodicitySelection options, semiannual not supported HOT 3
- Page Data Service HOT 4
- Downloading Credit Default Swaps (CDS) HOT 4
- Is there any plan to update Blpapi headers and run-time? HOT 1
- BQL implementation request HOT 1
- Server Api connection string HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rblpapi.