@@ -31,22 +31,19 @@ public IRuleResult RuleExecuted(Solbot solbot)
3131
3232 if ( ! ( symbol is null ) && symbol . EnableTrading )
3333 {
34- int count = BitConverter . GetBytes ( decimal . GetBits ( symbol . PriceIncrement ) [ 3 ] ) [ 2 ] ;
35-
3634 solbot . Communication = new Communication
3735 {
3836 Symbol = new SymbolMessage
3937 {
4038 BaseAsset = symbol . BaseCurrency ,
4139 QuoteAsset = symbol . QuoteCurrency ,
42- QuoteAssetPrecision = count ,
43- //MinNotional = symbol.MinNotionalFilter.MinNotional,
40+ BasePrecision = symbol . BaseIncrement ,
41+ QuotePrecision = symbol . QuoteIncrement ,
42+ BaseAssetPrecision = BitConverter . GetBytes ( decimal . GetBits ( symbol . BaseIncrement ) [ 3 ] ) [ 2 ] ,
43+ QuoteAssetPrecision = BitConverter . GetBytes ( decimal . GetBits ( symbol . QuoteIncrement ) [ 3 ] ) [ 2 ] ,
4444 StepSize = symbol . PriceIncrement ,
4545 MaxQuantity = symbol . QuoteMaxSize ,
46- MinQuantity = symbol . QuoteMinSize ,
47- TickSize = symbol . QuoteIncrement
48- //MaxPrice = symbol.QuoteMaxSize,
49- //MinPrice = symbol.QuoteMinSize
46+ MinQuantity = symbol . QuoteMinSize
5047 }
5148 } ;
5249 result . Success = true ;
0 commit comments