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
28
28
public override string BaseUrl { get ; set ; } = "https://api.hitbtc.com/api/2" ;
29
29
public override string BaseUrlWebSocket { get ; set ; } = "wss://api.hitbtc.com/api/2/ws" ;
30
30
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
+ }
37
38
38
- public override string PeriodSecondsToString ( int seconds )
39
+ public override string PeriodSecondsToString ( int seconds )
39
40
{
40
41
switch ( seconds )
41
42
{
You can’t perform that action at this time.
0 commit comments