Drop `bar_wap` curve for now, seems to also be causing hangs?!
							parent
							
								
									0f53450c68
								
							
						
					
					
						commit
						8711465d96
					
				| 
						 | 
					@ -689,15 +689,17 @@ async def display_symbol_data(
 | 
				
			||||||
        # plot historical vwap if available
 | 
					        # plot historical vwap if available
 | 
				
			||||||
        wap_in_history = False
 | 
					        wap_in_history = False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if brokermod._show_wap_in_history:
 | 
					        # XXX: FOR SOME REASON THIS IS CAUSING HANGZ!?!
 | 
				
			||||||
 | 
					        # if brokermod._show_wap_in_history:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if 'bar_wap' in bars.dtype.fields:
 | 
					        #     if 'bar_wap' in bars.dtype.fields:
 | 
				
			||||||
                wap_in_history = True
 | 
					        #         wap_in_history = True
 | 
				
			||||||
                chart.draw_curve(
 | 
					        #         chart.draw_curve(
 | 
				
			||||||
                    name='bar_wap',
 | 
					        #             name='bar_wap',
 | 
				
			||||||
                    data=bars,
 | 
					        #             shm=ohlcv,
 | 
				
			||||||
                    add_label=False,
 | 
					        #             color='default_light',
 | 
				
			||||||
                )
 | 
					        #             add_label=False,
 | 
				
			||||||
 | 
					        #         )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # size view to data once at outset
 | 
					        # size view to data once at outset
 | 
				
			||||||
        chart.cv._set_yrange()
 | 
					        chart.cv._set_yrange()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue