When i Placed Trades using my Strategy on ZerodhaLiveMode I Get the following Error :
20210618 07:28:30.059 TRACE:: BrokerageTransactionHandler.Process(): 06/18/2021 07:28:30 UTC: Submit Order: (1) - OrderId: 1 (BrokerId: ) New Market order for 1 unit of HDFC Status: Unprocessed
20210618 07:28:30.073 TRACE:: Total margin information: TotalMarginUsed: 0.00, MarginRemaining: 94138.50
20210618 07:28:30.109 TRACE:: Order request margin information: MarginUsed: 0.00, MarginRemaining: 94138.50
20210618 07:28:37.966 TRACE:: ZerodhaBrokerage.Messaging.LockStream(): Locking Stream
20210618 07:28:48.240 ERROR:: SecurityTransactionManager.WaitForOrder(): Order did not fill within 5 seconds.
20210618 07:28:48.249 TRACE:: LiveTradingResultHandler.OrderEvent(): Time: 06/18/2021 07:28:48 OrderID: 1 EventID: 1 Symbol: HDFC Status: Invalid Quantity: 1 OrderFee: 1.04 INR Message: Zerodha Order Event BrokerId:
20210618 07:28:48.250 TRACE:: Brokerage.OnMessage(): Warning - Code: -1 - Order failed, Order Id: 1 timestamp: 6/18/2021 7:28:30 AM quantity: 1 content: Invalid product type Please set either MIS,CNC or NRML
20210618 07:28:48.251 TRACE:: ZerodhaBrokerage.Messaging.UnlockStream(): Processing Backlog...
20210618 07:28:48.342 TRACE:: ZerodhaBrokerage.Messaging.UnlockStream(): Stream Unlocked.
20210618 07:28:48.342 TRACE:: LiveTradingResultHandler.OrderEvent(): Time: 06/18/2021 07:28:48 OrderID: 1 EventID: 2 Symbol: HDFC Status: Invalid Quantity: 1 Message: Brokerage failed to place order BrokerId:
20210618 07:28:48.353 TRACE:: Debug: New Order Event: Time: 06/18/2021 07:28:48 OrderID: 1 EventID: 1 Symbol: HDFC Status: Invalid Quantity: 1 OrderFee: 1.04 INR Message: Zerodha Order Event
20210618 07:28:48.354 TRACE:: Debug: New Order Event: Time: 06/18/2021 07:28:48 OrderID: 1 EventID: 2 Symbol: HDFC Status: Invalid Quantity: 1 Message: Brokerage failed to place order
20210618 07:28:49.017 ERROR:: Brokerage Warning: Order failed, Order Id: 1 timestamp: 6/18/2021 7:28:30 AM quantity: 1 content: Invalid product type Please set either MIS,CNC or NRML
Brokerage failed to place order: 1
But i have checked in my Config.json the Product type is Mentioned :
I also Tried Debuuging in my ZerodhaBrokerage.cs and I found that my orderproperties are coming Null :
I couldn't Figure out where is the Problem ?? Can anyone Please help me on this ??
Varad Kabade
Hi Ishant Jain,
We apologize for the delay. Please attach a code sample so we can reproduce the issue.
Best,
Varad Kabade
Â
Martin Molinero
Hey Ishant!
Believe this should be fixed after PR #5710
Best,
Martin
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Ishant Jain
Awesome !!
Ishant Jain
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!