Skip to content
New issue

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

where can I specify the order exchange type #1

Open
sudheer628 opened this issue Sep 16, 2022 · 0 comments
Open

where can I specify the order exchange type #1

sudheer628 opened this issue Sep 16, 2022 · 0 comments

Comments

@sudheer628
Copy link

I am getting below error, could you please help, i am trying this for NSE exchange (india)

(MainThread) 2022-09-14 14:01:05.016 INFO client.py:77 SENDING placeOrder b'\x00\x00\x01k3\x002\x00574032415\x00NIFTY50\x00OPT\x0020220915\x0017900.0\x00P\x001\x00\x00\x00INR\x00NIFTY2291517900PE\x00NIFTY\x00\x00\x00SELL\x0050.0\x00MKT\x00\x00\x00\x00\x00U10854059\x00\x000\x00\x001\x000\x000\x000\x000\x000\x000\x000\x00\x000\x00\x00\x00\x00\x00\x00\x00\x000\x00\x00-1\x000\x00\x00\x000\x00\x00\x001\x001\x00\x000\x00\x00\x00\x00\x00\x000\x00\x00\x00\x00\x000\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x000\x00\x00\x000\x000\x00\x00\x000\x00\x000\x000\x000\x000\x00\x001.7976931348623157e+308\x001.7976931348623157e+308\x001.7976931348623157e+308\x001.7976931348623157e+308\x001.7976931348623157e+308\x000\x00\x00\x00\x001.7976931348623157e+308\x00\x00\x00\x00\x000\x000\x000\x00\x00'
(MainThread) 2022-09-14 14:01:05.016 INFO wrapper.py:48 ANSWER positionEnd {}
(MainThread) 2022-09-14 14:01:05.018 INFO wrapper.py:48 ANSWER error {'reqId': 2, 'errorCode': 321, 'errorString': "Error validating request.-'bN' : cause - Missing order exchange."}
(MainThread) 2022-09-14 14:01:05.018 ERROR wrapper.py:56 ERROR 2 321 Error validating request.-'bN' : cause - Missing order exchange.
(MainThread) 2022-09-14 14:01:13.506 INFO brb.py:120 GUI MESSAGE: EXIT
(MainThread) 2022-09-14 14:01:13.506 INFO brb.py:114 Main logic stopped
(MainThread) 2022-09-14 14:01:17.051 INFO ibclient.py:63 detected KeyboardInterrupt, SystemExit
(MainThread) 2022-09-14 14:01:17.053 WARNING brb.py:66 Manual interruption!

@sudheer628 sudheer628 changed the title where can specify the exchange type where can I specify the order exchange type Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant