neka-nat / python-forexconnect

Python binding of forexconnect api
39 stars 24 forks source link

Install documentation #4

Closed josephernest closed 8 years ago

josephernest commented 8 years ago

Hi! I spent more than 1 hour trying unsuccessfully to install this module. Until I found this very useful step-by-step guide.
Could you mention a link to this on the main README.md ?

neka-nat commented 8 years ago

Sorry, josephernest. I added the detail guide to README.rst. Thank you.

josephernest commented 8 years ago

Thanks a lot! In:

cmake .. -DDEFAULT_FOREX_URL="http://<Your forexconnect URL>"

what do you mean by "http://<Your forexconnect URL>" ?

I used:

cmake ..

as mentionned here and it works.

neka-nat commented 8 years ago

http://<Your forexconnect URL> means the url to use forexconnect api. It is necessary to login in the original c++ api and differs by each users.

josephernest commented 8 years ago

Can you give an example of such URL? Where do you find it in FXCM?

I only used cmake .. and not cmake .. -DDEFAULT_FOREX_URL="..." but still it worked.
The login happens when I do cl = forexconnect.ForexConnectClient("usrname", "pass", "Real").

neka-nat commented 8 years ago

Default url is "http://www40.fxcorporate.com/Hosts.jsp". I think your account's url is the default url.

An example of the url is here.

josephernest commented 8 years ago

Thanks!

On Thu, Apr 7, 2016 at 2:04 PM, neka-nat notifications@github.com wrote:

Default url is "http://www40.fxcorporate.com/Hosts.jsp". I think your account's url is the default url.

An example of the url is here http://fxcodebase.com/wiki/index.php/Login_in_ForexConnect_(C%2B%2B)#Log_In .

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/neka-nat/python-forexconnect/issues/4#issuecomment-206887717