| 
														
															@@ -16,8 +16,8 @@ type Market interface { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	IsMarketOpened() bool 
														 | 
														
														 | 
														
															 	IsMarketOpened() bool 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	Time() Clock 
														 | 
														
														 | 
														
															 	Time() Clock 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-	Buy(ctx context.Context, symbol string, amount float64) (Order, error) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-	Sell(ctx context.Context, symbol string) (Order, error) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+	Buy(ctx context.Context, symbol string, ratio float64) (Order, error) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+	Sell(ctx context.Context, symbol string, ratio float64) (Order, error) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	CancelOrder(id string) error 
														 | 
														
														 | 
														
															 	CancelOrder(id string) error 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	Orders() ([]Order, error) 
														 | 
														
														 | 
														
															 	Orders() ([]Order, error) 
														 |