Place order sequence
Place order sequence
I read MC.Net programming guide and learned that MC.Net places limit or stop order on the next tick or price update after the algo condition is valid, this sequence is formed by MC or broker API? Any way to place limit or stop orders once the algo condition is valid? I am using IB as data provider and broker.
- HarrisonProgramming
- Posts: 14
- Joined: 22 Aug 2012
- Location: Greater Phoenix, Arizona, US
- Has thanked: 18 times
- Been thanked: 7 times
- Contact:
Re: Place order sequence
Hi joenetic,
One possible way to place orders, once the algo condition is valid, is to use MultiCharts.Net's PlaceOrder method (see ITradeManager interface, TradingProfiles Property). Please refer to this page for Test_TradeManager_4 example by Stan Bokov:
viewtopic.php?f=20&t=10730
Pro: You can control and manage your orders.
Con: Tracking and managing orders properly can be complicated.
-- Harrison
One possible way to place orders, once the algo condition is valid, is to use MultiCharts.Net's PlaceOrder method (see ITradeManager interface, TradingProfiles Property). Please refer to this page for Test_TradeManager_4 example by Stan Bokov:
viewtopic.php?f=20&t=10730
Pro: You can control and manage your orders.
Con: Tracking and managing orders properly can be complicated.
-- Harrison
Re: Place order sequence
Hi Harrison,
Thank you for your reply and information!! I will check this out!
I hope that Multicharts staff can also reply me since I paid Multicharts for the software and hope to get the support from the team.
Thank you for your reply and information!! I will check this out!
I hope that Multicharts staff can also reply me since I paid Multicharts for the software and hope to get the support from the team.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Place order sequence
Hello joenetic,
The only available solution has been already specified by Harrison above. Check this post for more information regarding the TradeManager: viewtopic.php?f=19&t=45848#p100799
The only available solution has been already specified by Harrison above. Check this post for more information regarding the TradeManager: viewtopic.php?f=19&t=45848#p100799
Re: Place order sequence
Hi Henry,
I am trying this code, but not sure how to call Orders_FinishChanging function, what parameters I should put when call this function?
Joe
I am trying this code, but not sure how to call Orders_FinishChanging function, what parameters I should put when call this function?
Joe
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Place order sequence
Hello Joe,
You don't need to call Orders_FinishChanging in your code, it is being called by MultiCharts.
You don't need to call Orders_FinishChanging in your code, it is being called by MultiCharts.