File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
src/ExchangeSharp/API/Exchanges Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change
1
+ using ExchangeSharp . BinanceGroup ;
2
+ using Newtonsoft . Json . Linq ;
3
+ using System ;
4
+ using System . Collections . Generic ;
5
+ using System . Linq ;
6
+ using System . Text ;
7
+ using System . Threading . Tasks ;
8
+
9
+ namespace ExchangeSharp
10
+ {
11
+ public sealed partial class ExchangeApolloXApi : BinanceGroupCommon
12
+ {
13
+ public override string BaseUrl { get ; set ; } = "https://fapi.apollox.finance" ;
14
+ public override string BaseUrlWebSocket { get ; set ; } = "wss://fstream.apollox.finance" ;
15
+
16
+ public override string BaseUrlApi => $ "{ BaseUrl } /fapi/v1";
17
+ }
18
+
19
+ public partial class ExchangeName { public const string ApolloX = "ApolloX" ; }
20
+ }
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ namespace ExchangeSharp.BinanceGroup
22
22
{
23
23
public abstract class BinanceGroupCommon : ExchangeAPI
24
24
{
25
- public string BaseUrlApi => $ "{ BaseUrl } /api/v3";
25
+ public virtual string BaseUrlApi => $ "{ BaseUrl } /api/v3";
26
26
27
27
public string BaseUrlSApi => $ "{ BaseUrl } /sapi/v1";
28
28
@@ -53,6 +53,7 @@ protected BinanceGroupCommon()
53
53
NonceStyle = NonceStyle . UnixMilliseconds ;
54
54
NonceOffset = TimeSpan . FromSeconds ( 15 ) ; // 15 seconds are deducted from current UTCTime as base of the request time window
55
55
MarketSymbolSeparator = string . Empty ;
56
+ MarketSymbolIsUppercase = false ;
56
57
WebSocketOrderBookType = WebSocketOrderBookType . DeltasOnly ;
57
58
ExchangeGlobalCurrencyReplacements [ "BCC" ] = "BCH" ;
58
59
}
You can’t perform that action at this time.
0 commit comments