PDA

View Full Version : Server side script not working



nhasan
01-26-2015, 08:29 AM
I am testing a server side script with very simple code like -

Public Sub main()

GUI.MsgDialog ( ClientCode.PositionsTotal() )

End Sub

But it shows '0' while two positions are running in my account.
Please check my account: log in ID:1212121246 [Refat]
Is the server side scripting enabled or not.

nhasan
01-27-2015, 06:59 AM
I open a new demo account and test the code
But still it's not working. PositionsTotal() returns 0 while I have open positions.

Hassan-HS
01-27-2015, 09:03 AM
Hello Hasan,


Which version do you use an to which server do you connect?

nhasan
01-27-2015, 12:28 PM
Client version 10.2.10
login server Hybrid Solutions (Demo System) Server1

Hassan-HS
01-28-2015, 11:28 AM
Hello,


I will check this and update you

Hassan-HS
01-28-2015, 02:39 PM
Hello,


every thing is ok now, it was down for maintance

nhasan
01-29-2015, 07:39 AM
Thanks, it's working now