File tree Expand file tree Collapse file tree
src/ExchangeSharp/API/Exchanges Expand file tree Collapse file tree 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
2222{
2323 public abstract class BinanceGroupCommon : ExchangeAPI
2424 {
25- public string BaseUrlApi => $ "{ BaseUrl } /api/v3";
25+ public virtual string BaseUrlApi => $ "{ BaseUrl } /api/v3";
2626
2727 public string BaseUrlSApi => $ "{ BaseUrl } /sapi/v1";
2828
@@ -53,6 +53,7 @@ protected BinanceGroupCommon()
5353 NonceStyle = NonceStyle . UnixMilliseconds ;
5454 NonceOffset = TimeSpan . FromSeconds ( 15 ) ; // 15 seconds are deducted from current UTCTime as base of the request time window
5555 MarketSymbolSeparator = string . Empty ;
56+ MarketSymbolIsUppercase = false ;
5657 WebSocketOrderBookType = WebSocketOrderBookType . DeltasOnly ;
5758 ExchangeGlobalCurrencyReplacements [ "BCC" ] = "BCH" ;
5859 }
You can’t perform that action at this time.
0 commit comments