26 lines
936 B
C#
26 lines
936 B
C#
using KLHZ.Trader.Core.Contracts.Messaging.Dtos;
|
|
using KLHZ.Trader.Core.Contracts.Messaging.Dtos.Interfaces;
|
|
using KLHZ.Trader.Core.DataLayer.Entities.Declisions;
|
|
using KLHZ.Trader.Core.DataLayer.Entities.Declisions.Enums;
|
|
using KLHZ.Trader.Core.Exchange.Models.AssetsAccounting;
|
|
using KLHZ.Trader.Core.Exchange.Services;
|
|
using System;
|
|
using System.Collections.Concurrent;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace KLHZ.Trader.Core.Exchange.Utils
|
|
{
|
|
internal static class TraderFuncs
|
|
{
|
|
//internal static TradeCommand[] CreateBuyCommands(ConcurrentDictionary<string, ManagedAccount> accounts, INewPrice message, List<Declision> declisions)
|
|
//{
|
|
// var accs = accounts.Where(a => !a.Value.Assets.ContainsKey(message.Figi))
|
|
// .ToArray();
|
|
|
|
//}
|
|
}
|
|
}
|