문제

I am looking for a way to find market depth for a stock using the R-Bloomberg (Rbbg) package. As an example, if I enter "MSM" (a ticker) I would like to see the top, say, 5 bids and asks for MSM.

Would anyone be able to help me?

Thanks!

Mike

도움이 되었습니까?

해결책

You can use the BEST_ASKI and BEST_BIDI fields (where I can be 1 to 9), which update in real time. For example: BEST_ASK1 gives you the best offer, BEST_ASK2 the second best offer etc.

You obviously need to have the appropriate subscriptions to access that data through the API.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top