Hello all, I downloaded the Kite connect from github, but when I compile it , I get 162 errors. Most of the errors are in the dictionaries such as this: //Modify an open position's product type. var param = new Dictionary { ["exchange"] = exchange, ["tradingsymbol"] = tradingSymbol, ["transaction_type"] = transactionType, ["position_type"] = positionType, ["quantity"] = quantity, ["old_product"] = oldProduct, ["new_product"] = newProduct }; Error 120 Invalid initializer member declarator
I am not able to figure out how to get it to work. Any one else have these problems?
@chaudhariapurva , thanks a lot for this amazing library! I was able to use this in RightEdge (a trading tool in C#) and it is working fine. I have also modified the Login.Initiate() method to have a WebBrowser control which takes care of fetching the request_token without manually having to copy it. Let me know if you want to include this in the core and I will be happy to share it.
Good Library @chaudhariapurva Thanks. I was able to use it and its working perfectly fine. I noticed that it doesn't have many things implemented yet which are in KiteDotNet like Login Status, Login Response, Access Token Status, Instrument Download Status and many such get/set properties.
Do you have any plans of implementing these features?
Hi, @Ganesh Its good to know that people are able to draw value from my work .It really started out as a project for my personal framework.The reason its so basic is that I really wanted it to be configurable and to learn from the community of programmers on kite forum so that we may together develop a superior open source trading paltform.I invite all programmers willing to contribute to such cause.I am greatful to @ishwarm for contrubution and furthering the project.
Any and all ideas are welcome.I or other proghrammers can review it and come up with solutions which benefit everyone.
Can you please provide me com enabled dll liberary. so that i can use it in scripts. Or please tell me how can i compile the code with com visible to obtain the dll file. Thanks in advance That would be great help if you can answer this.
@ramangoswami Current Library is exhaustive & making it COM visible, and accessing it from Excel Vba is out of scope. That's why Building a Light version for Excel.
But if you want to use the current library in Excel. Just create a new Class Library Project. Make it COM visible. Import KiteDotNet && Just add the Functions/Methods of KiteDotNet to your Project.
I downloaded the Kite connect from github, but when I compile it , I get 162 errors. Most of the errors are in the dictionaries such as this:
//Modify an open position's product type.
var param = new Dictionary
{
["exchange"] = exchange,
["tradingsymbol"] = tradingSymbol,
["transaction_type"] = transactionType,
["position_type"] = positionType,
["quantity"] = quantity,
["old_product"] = oldProduct,
["new_product"] = newProduct
};
Error 120 Invalid initializer member declarator
I am not able to figure out how to get it to work. Any one else have these problems?
Thanks in advance
I have also modified the Login.Initiate() method to have a WebBrowser control which takes care of fetching the request_token without manually having to copy it. Let me know if you want to include this in the core and I will be happy to share it.
What version of Visual Studio is best suited for this? I have 2010 and 2015 which one to be used?
I would suggest use latest one.
I noticed that it doesn't have many things implemented yet which are in KiteDotNet like Login Status, Login Response, Access Token Status, Instrument Download Status and many such get/set properties.
Do you have any plans of implementing these features?
Thanks,
Ganesh
@Ganesh Its good to know that people are able to draw value from my work .It really started out as a project for my personal framework.The reason its so basic is that I really wanted it to be configurable and to learn from the community of programmers on kite forum so that we may together develop a superior open source trading paltform.I invite all programmers willing to contribute to such cause.I am greatful to @ishwarm for contrubution and furthering the project.
Any and all ideas are welcome.I or other proghrammers can review it and come up with solutions which benefit everyone.
Can you please provide me com enabled dll liberary.
so that i can use it in scripts.
Or please tell me how can i compile the code with com visible
to obtain the dll file.
Thanks in advance
That would be great help if you can answer this.
Currently i am not able to register that dll in OS
Separate COM library for Excel is being built and will be released soon.
Current Library is exhaustive & making it COM visible, and accessing it from Excel Vba is out of scope.
That's why Building a Light version for Excel.
But if you want to use the current library in Excel.
Just create a new Class Library Project.
Make it COM visible.
Import KiteDotNet
&& Just add the Functions/Methods of KiteDotNet to your Project.
Check this out This will help you
http://www.codeproject.com/Articles/3511/Exposing-NET-Components-to-COM
or
http://stackoverflow.com/questions/23368008/com-enabled-dll
Goto Project Properties -->Application --> Assembly Information --> Check "Make COM visible"