mirror of
				https://github.com/JKorf/CryptoExchange.Net
				synced 2025-10-27 08:27:19 +00:00 
			
		
		
		
	Removed special characters in ClientOrderIdSeperator to adhere to field content rules
This commit is contained in:
		
							parent
							
								
									271743b669
								
							
						
					
					
						commit
						fd4e8da938
					
				| @ -73,11 +73,11 @@ namespace CryptoExchange.Net.UnitTests | |||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         [Test] |         [Test] | ||||||
|         [TestCase("123", "BKR", 32, true, "BKR|JK|123")] |         [TestCase("123", "BKR", 32, true, "BKRJK123")] | ||||||
|         [TestCase("123", "BKR", 32, false, "123")] |         [TestCase("123", "BKR", 32, false, "123")] | ||||||
|         [TestCase("123123123123123123123123123123", "BKR", 32, true, "123123123123123123123123123123")] // 30 |         [TestCase("123123123123123123123123123123", "BKR", 32, true, "123123123123123123123123123123")] // 30 | ||||||
|         [TestCase("123123123123123123123123123", "BKR", 32, true, "123123123123123123123123123")] // 27 |         [TestCase("12312312312312312312312312312", "BKR", 32, true, "12312312312312312312312312312")] // 27 | ||||||
|         [TestCase("1231231231231231231231231", "BKR", 32, true, "BKR|JK|1231231231231231231231231")] // 25 |         [TestCase("123123123123123123123123123", "BKR", 32, true, "BKRJK123123123123123123123123123")] // 25 | ||||||
|         [TestCase(null, "BKR", 32, true, null)] |         [TestCase(null, "BKR", 32, true, null)] | ||||||
|         public void ApplyBrokerIdTests(string clientOrderId, string brokerId, int maxLength, bool allowValueAdjustement, string expected) |         public void ApplyBrokerIdTests(string clientOrderId, string brokerId, int maxLength, bool allowValueAdjustement, string expected) | ||||||
|         { |         { | ||||||
|  | |||||||
| @ -12,7 +12,7 @@ namespace CryptoExchange.Net | |||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// Client order id seperator |         /// Client order id seperator | ||||||
|         /// </summary> |         /// </summary> | ||||||
|         public const string ClientOrderIdSeperator = "|JK|"; |         public const string ClientOrderIdSeperator = "JK"; | ||||||
| 
 | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// Apply broker id to a client order id |         /// Apply broker id to a client order id | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user