由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Stock版 - 谁用过IB的API没,请问市场数据怎么从API拿出来?
相关主题
请问这里自己做algorithm based trading的大大牛关于NFLX 的FA
果子出麻烦啦NFLX 暴跌
给文科生普及手机和炒股相关知识Strong subscriber growth at Netflix boosts shares
请问IB的free data怎么用?A case for NFLX: $500 is not a dream
IB 的数据怎么subscribe睡醒了问一句,高盛BBQ
说一下IB的historical dataBAC as an asset play
NFLX推荐一款TA的源代码
NFLX earning 陷阱谁科普下,什么是capital charge buffer
相关话题的讨论汇总
话题: api话题: data话题: ib话题: time
进入Stock版参与讨论
1 (共1页)
c*****o
发帖数: 1702
1
股板牛人无数,指点下小弟!
c****t
发帖数: 5452
2
这么基本的功能你要是从reference和sample里读不出来的话,就算给你说了也没用啊

【在 c*****o 的大作中提到】
: 股板牛人无数,指点下小弟!
c*****o
发帖数: 1702
3
For example if I want to get real time bar
on the API guide, it is said that "Call the reqRealTimeBars() method to
start receiving real time bar results through the realtimeBar() EWrapper
method"
but here realtimeBar() function has void return. So I assume the data is
saved into the EWrapper object.
Can anybody show me how do we get the real time bar data here? And do I need
to call realtimeBar()?
c*****o
发帖数: 1702
4
就是realtimebar怎么拿出来啊,这个wrapper哪存数据啊。求有经验的指点
b*******e
发帖数: 6389
5
是老猫?$50美金包你今晚学会,附源代码。

【在 c*****o 的大作中提到】
: 就是realtimebar怎么拿出来啊,这个wrapper哪存数据啊。求有经验的指点
c*****o
发帖数: 1702
6
你那源代码有人买过了没?
c*****o
发帖数: 1702
7
牛刀不要这么小气嘛,指点下?
b*******e
发帖数: 6389
8
你用的什么语言啊?

【在 c*****o 的大作中提到】
: 牛刀不要这么小气嘛,指点下?
f********r
发帖数: 304
9
This is standard publisher/subscriber design pattern. realtimeBar() function
will be called every time new market data is coming. You can simply put a
print function into it and you will see it continues printing out the market
data. How do you want to save it depends how you plan to use it. The easiest
way is created a buffer in memory to store the data. Once the buffer goes
full, dump it to the database and clear the buffer. If you want to use
algorithm to process the data, you can use socket to send out the data or
simply use JMS.
c*****o
发帖数: 1702
10
请问print什么? 我用的java
public static String realtimeBar(int reqId, long time, double open,
double high, double low, double close, long volume, double wap, int count)
这个function 需要我自己call吗。
c*****o
发帖数: 1702
11
有点弄明白是咋回事了。我太2了,没看出来是publisher/subscriber
1 (共1页)
进入Stock版参与讨论
相关主题
谁科普下,什么是capital charge bufferIB 的数据怎么subscribe
C 崩了!说一下IB的historical data
Bank stress test resultsNFLX
又是无聊一天NFLX earning 陷阱
请问这里自己做algorithm based trading的大大牛关于NFLX 的FA
果子出麻烦啦NFLX 暴跌
给文科生普及手机和炒股相关知识Strong subscriber growth at Netflix boosts shares
请问IB的free data怎么用?A case for NFLX: $500 is not a dream
相关话题的讨论汇总
话题: api话题: data话题: ib话题: time