SmartQuant Discussion
http://www.smartquant.com/forums/

no trade/bid/ask in SpreadSellSide demo
http://www.smartquant.com/forums/viewtopic.php?f=86&t=14702
Page 1 of 1

Author:  ling007 [ Mon Mar 27, 2017 11:21 am ]
Post subject:  no trade/bid/ask in SpreadSellSide demo

hi:
I modify the SpreadSellSide and add the function just like SMACrossoverLoadOnStart.
when run the Realtime project,can receive OnBar,but I can NOT receive OnTrade,onbid and onAsk.if I comment StartStrategy(StrategyMode.Backtest),run live directly, I can receive OnTrade,onBid and onAsk.

I have known the following solution , but it's useful for simple strategy,could you tell me another solution for many strategys,many thanks
viewtopic.php?f=86&t=11032&hilit=switch+simulation+to+live


Regards,
yuelei

Page 1 of 1 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/