We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Under main.py is there a way to run multiple pairs at once using the same hftmodel1
below will only run ( EURUSD , USDJPY ). if for example let's say i want to run 3 pairs
(EURUSD, USDJPY ) , (AUDUSD, USDCAD) , (GBPUSD , USDCHF )
how would i implement that in the main .py
model = HftModel1( host=TWS_HOST, port=TWS_PORT, client_id=2, ) to_trade = [ ('EURUSD', Forex('EURUSD')), ('USDJPY', Forex('USDJPY')) ] model.run(to_trade=to_trade, trade_qty=100000)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Under main.py is there a way to run multiple pairs at once using the same hftmodel1
below will only run ( EURUSD , USDJPY ). if for example let's say i want to run 3 pairs
(EURUSD, USDJPY ) , (AUDUSD, USDCAD) , (GBPUSD , USDCHF )
how would i implement that in the main .py
The text was updated successfully, but these errors were encountered: