| 
														
															@@ -33,10 +33,6 @@ func CreateOrder( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		return errors.New("`CreateOrder`: unknown Side for the current strategy") 
														 | 
														
														 | 
														
															 		return errors.New("`CreateOrder`: unknown Side for the current strategy") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	} 
														 | 
														
														 | 
														
															 	} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-	if !rm.EnsureVolatility(symbol) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		return sentio.ErrLowVolatility 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-	} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	bid = sentio.ToFixed(quotes[symbol].BidPrice, 2) 
														 | 
														
														 | 
														
															 	bid = sentio.ToFixed(quotes[symbol].BidPrice, 2) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	tp = sentio.ToFixed(rm.TakeProfit(symbol, bid, false), 2) 
														 | 
														
														 | 
														
															 	tp = sentio.ToFixed(rm.TakeProfit(symbol, bid, false), 2) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	sl = sentio.ToFixed(rm.StopLoss(symbol, bid, false), 2) 
														 | 
														
														 | 
														
															 	sl = sentio.ToFixed(rm.StopLoss(symbol, bid, false), 2) 
														 |