could locate the file "configuration.txt" in the ibridgepy folder, what has to be put in this file?
Hello Tarun,
Nothing needs to be added to configuration.txt if you wanted to download just the historical data. What you need to add to configuration.txt will depend on the specific operations you want to perform.
HI,
the configuration.text file wasnt available in the default download folder. I have created a new configuration.txt file which is empty and placed it in Ibridgepy folder.
in filename
in run_me file i've selected
fileName="example_get_historical_data.py"
and
in the example_get_historical_data.py file i ve put the following code:
def initialize(context):
context.run_onse=False
context.security=superSymbol(secType="FUT",symbol="HDFCBANK",exchange="NSE",currency="INR",expiry="20200625")
def handle_data(context,data):
dt=data.history(context.security,["open","high","low","close"],20,"1d")
print(dt)
end()
still the system is not giving me any response
how to show my screen to you?
guess some issue with my anaconda and python version installation: check the below and let me know please:
runfile('C:/IBridgePy_Win_Anaconda37_64/RUN_ME.py', wdir='C:/IBridgePy_Win_Anaconda37_64')
Reloaded modules: BasicPyLib, BasicPyLib.BasicTools, Config, BasicPyLib.simpleLogger, Config.base_settings, IBridgePy, IBridgePy.constants, BasicPyLib.Printable, Config.configTools, broker_client_factory, broker_client_factory.broker_client_utils
Traceback (most recent call last):
File "C:\IBridgePy_Win_Anaconda37_64\RUN_ME.py", line 16, in <module>
from configuration import run_me
File "C:\IBridgePy_Win_Anaconda37_64\configuration.py", line 5, in <module>
from Config.config_defs import UserConfig
File "C:\IBridgePy_Win_Anaconda37_64\Config\config_defs.py", line 12, in <module>
from IBridgePy.MarketManagerBase import setup_services
File "C:\IBridgePy_Win_Anaconda37_64\IBridgePy\MarketManagerBase.py", line 8, in <module>
import broker_service_factory
File "C:\IBridgePy_Win_Anaconda37_64\broker_service_factory_init_.py", line 1, in <module>
from .BrokerService import BrokerService
File "C:\IBridgePy_Win_Anaconda37_64\broker_service_factory\BrokerService.py", line 11, in <module>
from IBridgePy.IbridgepyTools import stripe_exchange_primaryExchange_from_security, choose_whatToShow
File "C:\IBridgePy_Win_Anaconda37_64\IBridgePy\IbridgepyTools.py", line 28, in <module>
from IBridgePy import IBCpp
ImportError: Module use of python37.dll conflicts with this version of Python.
Hello Tarun,
We'll get back to you via mail.
Hey Tarun,
In the other post, it seems like it is running once for you. With restarting kernel it should work multiple times. I hope you are no longer getting this error message. Please feel free to post here if you are getting this issue.
Thanks,
Ishan