noob7

Info
Username: | noob7 |
Name: | noob7 |
Member since: | 20 Mar 2020 |
About
Signature
Last Forum Posts
@Production hangs: 21 Mar 2023, 16:50
Turns out my disk space run out thats why it hang. Weird that I didnt get any exception nor information from windows that I`m out of disk space.
@Production hangs: 20 Mar 2023, 17:33
Got error:
heartbeat finished with Faulted Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host..
And my code in c# hangs. Maybe you did lower number of active connections available on real accounts vs demo ones? Because my demo account running same code same configuration works fine.
@Production hangs: 18 Mar 2023, 19:07
Lately my code hangs after couple of hours of running when trying to get history candles. On demo account with running same code everything works fine. Did you change something on production servers?
@ProtoOATrendbarPeriod.H2 missing: 22 Sep 2022, 15:20
Hi,
Is there option to get trendbars for H2 from open api? I couldnt find it in documentation.
@Get info if position has been closed by stop loss or take profit: 25 Aug 2022, 12:15
PanagiotisCharalampous said:
Hi noob7,
Did you try checking executionEvent.Position.HasStopLoss and executionEvent.Position.HasTakeProfit?
Best Regards,
Panagiotis
Yes and it was false also.
@Get info if position has been closed by stop loss or take profit: 24 Aug 2022, 21:07
I have code that listens to all trading messages. I`m checking if given message is: PROTO_OA_EXECUTION_EVENT and order ClosingOrder and order type STOP_LOSS_TAKE_PROFIT. But I cannot find which of these 2 closed position. Was it by stop loss or take profit? I`m trying to use code:
var executionEvent = ProtoOAExecutionEvent.CreateBuilder().MergeFrom(msg.Payload).Build();
var byStopLoss = executionEvent.Order.HasStopLoss
var byTakeProfit = executionEvent.Order.HasTakeProfit
but they are always false.
@Logout doenst seem to work: 14 Jul 2022, 00:31
I found that I havent been disposing sslStream as well after Logout. Issue is resolved.
@Logout doenst seem to work: 14 Jul 2022, 00:26
I open around 10 connection at the same time. After the job is done I logout them. Then open again 10 connections then logout then again 10 connections. Problem is that on 26th connection I got error. I guess is related to limitations of 25 concurrent connections per application. I`m sure that I never have over 10 active connections because I logout from them each time I go to next batch. What I`m doing wrong here?
@Unable to log onto my live accounts: 12 May 2022, 19:01
amusleh said:
noob7 said:
Because of this change Ive lost over 100 euro.
Why you didnt notify me about this breaking changes?
Hi,
The change was not a breaking change, our old proxies are still working and they resolve to new nearest proxies.
We are still investigating the connection issue.
On Old proxy I couldnt connect. On new one everything is working fine.
@Unable to log onto my live accounts: 12 May 2022, 12:01
Because of this change Ive lost over 100 euro.
Why you didnt notify me about this breaking changes?