You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public async Task GetPortfolioAsync()
{
PortfolioStreamRequest psr = new PortfolioStreamRequest();
psr.Accounts.Add(_accountsID);
PortfolioResponse portfolio = new PortfolioResponse();
await foreach (PortfolioStreamResponse portfolioStream in _client.OperationsStream.PortfolioStream(psr).ResponseStream.ReadAllAsync())
{
portfolio = portfolioStream.Portfolio;
};
return portfolio;
}
Пытаюсь подписаться на стрим портфеля, но приходит только так... {{ "subscriptions": { "accounts": [ { "accountId": "1111111111", "subscriptionStatus": "PORTFOLIO_SUBSCRIPTION_STATUS_SUCCESS" } ] } }} , и больше ничего.
The text was updated successfully, but these errors were encountered:
Как я понимаю ничего не поменялось? Пинги у меня возвращает,
{ "ping": { "time": "2024-05-26T12:37:24.699869972Z" } }
{ "ping": { "time": "2024-05-26T12:37:24.699895795Z" } }
{ "ping": { "time": "2024-05-26T12:37:24.699909428Z" } }
{ "ping": { "time": "2024-05-26T12:37:24.699917404Z" } }. Но по счетам ничего. Как вариант что то очень нужное с этой переменной PayloadOneofCase
public async Task GetPortfolioAsync()
{
PortfolioStreamRequest psr = new PortfolioStreamRequest();
psr.Accounts.Add(_accountsID);
PortfolioResponse portfolio = new PortfolioResponse();
await foreach (PortfolioStreamResponse portfolioStream in _client.OperationsStream.PortfolioStream(psr).ResponseStream.ReadAllAsync())
{
portfolio = portfolioStream.Portfolio;
};
return portfolio;
}
Пытаюсь подписаться на стрим портфеля, но приходит только так... {{ "subscriptions": { "accounts": [ { "accountId": "1111111111", "subscriptionStatus": "PORTFOLIO_SUBSCRIPTION_STATUS_SUCCESS" } ] } }} , и больше ничего.
The text was updated successfully, but these errors were encountered: