When I enter my credentials in login form (which works perfectly in my trial version ) It goes in Validate() and returns false and thus I can't establish connection. The message pops up that User name or Password Invalid although I entered valid credentails. It works fine without logging In while selecting 'Replay'.
Last edit: Dolly 2016-08-09
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I suggest you modify the LoadFromFile() method in the SparkAPI.Data.ApiCredentials class, and hard-code your username and password. This will eliminate any reading from file issues you may have.
For example:
public static ApiCredentials LoadFromFile()
{
return new ApiCredentials() {Username = "TestUsername", Password = "TestPassword"};
}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
Now I come to know that it was not the code which was making the problem but the credentials.
As Iguana spark doesn't allow new credentials to have access on its API.
Thank you for your help and support.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have I have spark's credentials for 14 day's trial version and able to login with it in Spark Application and it is working fine.
I have downloaded the project from Source Forge and I am trying to run SparkWinFormGUI, but I am unable to connect to Spark. A message box appear Connection to live market requires a valid username and password.
I tried hard coding the credentials like:
public static ApiCredentials LoadFromFile()
{
return new ApiCredentials() {Username = "TestUsername", Password = "TestPassword"};
}
Still I am unable to open the connection Spark.Connect() returns false.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Feel free to post here if you have any questions or issues associated with the code or using the API.
Cheers,
Paul.
Hi Paul,
I have spark's credentials for 14 day's trial version.
I downloaded source file for SparkApiSDK_v1.2.0 from Codeproject
I opened its .sln file in visual studio 2015.
As I have never worked on WEb API projects, I am unable to understand its code.
Will you please give me instructions for using this web Api?
Thank you.
Hi Paul,
I am facing problems to access Live Market..
When I enter my credentials in login form (which works perfectly in my trial version ) It goes in Validate() and returns false and thus I can't establish connection. The message pops up that User name or Password Invalid although I entered valid credentails. It works fine without logging In while selecting 'Replay'.
Last edit: Dolly 2016-08-09
Unable to connect with spark API. please help.
Hi there,
I suggest you modify the LoadFromFile() method in the SparkAPI.Data.ApiCredentials class, and hard-code your username and password. This will eliminate any reading from file issues you may have.
For example:
public static ApiCredentials LoadFromFile()
{
return new ApiCredentials() {Username = "TestUsername", Password = "TestPassword"};
}
Thank u :)
Hi there,
Now I come to know that it was not the code which was making the problem but the credentials.
As Iguana spark doesn't allow new credentials to have access on its API.
Thank you for your help and support.
Hi,
How can we get value in $ . for Volume .
for example : for BHP ,
Daily Volume = 6,541,175
Avg. Volume = 10,122,761
and it has Value = $180,194,762.73
So, how did we get this value?
Total traded value for the day equals sum of each trade (trade quantity x trade price).
Total traded value for the day equals sum of each trade (trade quantity x trade price).
Hi,
I have I have spark's credentials for 14 day's trial version and able to login with it in Spark Application and it is working fine.
I have downloaded the project from Source Forge and I am trying to run SparkWinFormGUI, but I am unable to connect to Spark. A message box appear Connection to live market requires a valid username and password.
I tried hard coding the credentials like:
public static ApiCredentials LoadFromFile()
{
return new ApiCredentials() {Username = "TestUsername", Password = "TestPassword"};
}
Still I am unable to open the connection Spark.Connect() returns false.