Nelson Torres 
							
						 
						
							
							
								f594edd69d 
								
							
								 
							
						 
						
							
							
								
								Max pain docs.  
							
							
							
						 
						
							2025-01-29 01:49:46 -03:00  
				
					
						
							
							
								
									
								
								Nelson Torres 
							
						 
						
							
							
								1f9d97d77e 
								
							
								 
							
						 
						
							
							
								
								This script contains the necessary logic to calculate the max pain for a given  
							
							... 
							
							
							
							expiration date. 
							
						 
						
							2025-01-29 01:49:46 -03:00  
				
					
						
							
							
								 
						
							
							
								ad4847cbac 
								
							
								 
							
						 
						
							
							
								
								basic bot: iter latest ticks first to decide new submission price per quote  
							
							
							
						 
						
							2023-06-27 15:47:23 -04:00  
				
					
						
							
							
								 
						
							
							
								da07685e8b 
								
							
								 
							
						 
						
							
							
								
								Use `iterticks()` to filter to clears, get first price manually before submit..  
							
							
							
						 
						
							2023-06-27 15:47:23 -04:00  
				
					
						
							
							
								 
						
							
							
								f1eb76d29f 
								
							
								 
							
						 
						
							
							
								
								Drop prints, break on latest clear match tick  
							
							
							
						 
						
							2023-06-27 15:47:23 -04:00  
				
					
						
							
							
								 
						
							
							
								46b22958f0 
								
							
								 
							
						 
						
							
							
								
								basic bot: add real-time price trailer (task) that keeps bid price 0.0005% below last clear value  
							
							
							
						 
						
							2023-06-27 15:47:23 -04:00  
				
					
						
							
							
								 
						
							
							
								57399e4f5d 
								
							
								 
							
						 
						
							
							
								
								basic bot: drop registry addr and connect to default pikerd  
							
							
							
						 
						
							2023-06-27 15:47:23 -04:00  
				
					
						
							
							
								 
						
							
							
								5690595064 
								
							
								 
							
						 
						
							
							
								
								basic bot: set unix fileformat, add KBI handling to cancel order submission  
							
							
							
						 
						
							2023-06-27 15:47:23 -04:00  
				
					
						
							
							
								 
						
							
							
								63a6c6efde 
								
							
								 
							
						 
						
							
							
								
								Add a super basic "order bot" example B)  
							
							... 
							
							
							
							Shows how to boot the piker runtime, submit an order to the ems, cancel
said order right away. NOTE, this uses piker's built in paper engine but
can be easily tweaked to use a live backend at the user's whim. 
							
						 
						
							2023-06-27 15:47:23 -04:00