мелочи к прошлому коммиту

main
vlad zverzhkhovskiy 2025-09-01 15:39:18 +03:00
parent cee02fe665
commit 7424cdd5ca
3 changed files with 12 additions and 1 deletions

View File

@ -95,7 +95,6 @@ namespace KLHZ.Trader.Core.Exchange.Services
SubscriptionAction = SubscriptionAction.Subscribe
};
var tradesRequest = new SubscribeTradesRequest
{
SubscriptionAction = SubscriptionAction.Subscribe

View File

@ -0,0 +1,12 @@
drop table if exists instrument_trades;
create table instrument_trades
(
trade_id bigserial,
bought_at timestamp default current_timestamp,
figi text not null,
ticker text not null,
price decimal not null,
count decimal not null,
direction int not null default 1,
primary key (trade_id)
);