You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1 add cfdTick : cfd is quite popular is ib today
2 add member variable defaultProperty in Ticker : will be more convenient cause some ticker type like cfd can only require bid/ask data , no trades data.
i have made this change of my local pc. Becasue Ticker and ShowProperty are in different package , add dependency of differnt package will make it ugly so i didn't make a pull request. Hope you can tweak it nicely.
And thanks for your great work .
The text was updated successfully, but these errors were encountered:
Thanks @aries1998, I understand the new tick type, but what is the new defaultProperty in the Ticker class? Could you attach a code snippet, and I can get it integrated into the library?
defaultProperty is IHistoricalDataProvider.ShowProperty.xxxxx
normally we use IHistoricalDataProvider.ShowProperty.TRADES, but for forex , cfd or maybe other types of instruments , we can only use IHistoricalDataProvider.ShowProperty.BID for the data
Initial support for a CFDTicker has been added. I've written unit tests, but have not actually tested yet with IB's API in the demo or paper trade account.
1 add cfdTick : cfd is quite popular is ib today
2 add member variable defaultProperty in Ticker : will be more convenient cause some ticker type like cfd can only require bid/ask data , no trades data.
i have made this change of my local pc. Becasue Ticker and ShowProperty are in different package , add dependency of differnt package will make it ugly so i didn't make a pull request. Hope you can tweak it nicely.
And thanks for your great work .
The text was updated successfully, but these errors were encountered: