File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
ExchangeSharp/API/Exchanges/Hitbtc Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,15 @@ public sealed partial class ExchangeHitBTCAPI : ExchangeAPI
2828 public override string BaseUrl { get ; set ; } = "https://api.hitbtc.com/api/2" ;
2929 public override string BaseUrlWebSocket { get ; set ; } = "wss://api.hitbtc.com/api/2/ws" ;
3030
31- public ExchangeHitBTCAPI ( )
32- {
33- RequestContentType = "application/json" ;
34- NonceStyle = NonceStyle . UnixMillisecondsString ;
35- MarketSymbolSeparator = string . Empty ;
36- }
31+ public ExchangeHitBTCAPI ( )
32+ { // https://api.hitbtc.com/
33+ RateLimit = new RateGate ( 100 , TimeSpan . FromSeconds ( 1 ) ) ;
34+ RequestContentType = "application/json" ;
35+ NonceStyle = NonceStyle . UnixMillisecondsString ;
36+ MarketSymbolSeparator = string . Empty ;
37+ }
3738
38- public override string PeriodSecondsToString ( int seconds )
39+ public override string PeriodSecondsToString ( int seconds )
3940 {
4041 switch ( seconds )
4142 {
You can’t perform that action at this time.
0 commit comments