cleanup: Remove unused MarketDataClient from OrderSample
This commit is contained in:
1 parent
1b7543e94b
commit
22ea8a7070
1 file changed
+1
-3
@@ -14,13 +14,13 @@ using bts.api.user;
|
||||
using bts.api.admin;
|
||||
using bts.co2;
|
||||
using Spark.Api.Orders;
|
||||
using Spark.Api.MarketData;
|
||||
|
||||
namespace bts.sdk
|
||||
{
|
||||
|
||||
public class OrderSample : IDisposable
|
||||
{
|
||||
readonly MarketDataClient _md;
|
||||
readonly OrdersClient _orders_client;
|
||||
readonly List<IDisposable> _disps = new List<IDisposable>();
|
||||
IReadOnlyDictionary<uint, SecurityImmutable> _securities =
|
||||
@@ -32,11 +32,9 @@ namespace bts.sdk
|
||||
OrdersClient orders_client,
|
||||
OrderService orders,
|
||||
AdminService admin,
|
||||
MarketDataClient md_client,
|
||||
IObservable<IReadOnlyDictionary<uint, SecurityImmutable>> securities_src
|
||||
) {
|
||||
_orders_client = orders_client;
|
||||
_md = md_client;
|
||||
_orders = orders;
|
||||
_admin = admin;
|
||||
_disps.Add(securities_src.Subscribe(secs => _securities = secs));
|
||||
|
||||
Reference in new issue
Block a user