Bitcoin Forum

Other => Beginners & Help => Topic started by: LeChatNoir on May 03, 2013, 06:51:03 PM



Title: [VBNET] need help
Post by: LeChatNoir on May 03, 2013, 06:51:03 PM
Hi guys i'm looking for someone who can program a VBNET very simple trading interface for this exchange http://www.mcxnow.com/exchange/MNC.
Anyone willing to help me?


Title: Re: [VBNET] need help
Post by: gweedo on May 03, 2013, 06:55:52 PM
Does it have to be VBNET? If you want I can code up a simple java trading app for you. PM me if interested


Title: Re: [VBNET] need help
Post by: LeChatNoir on May 03, 2013, 07:03:17 PM
Yes it has to be VBNET because it's the only language i know.
The idea is to pay someone to show me how to authenticate, insert order and cancel orders in VBNET, from that point i can develop the algo on my own.


Title: Re: [VBNET] need help
Post by: zeocrash on May 03, 2013, 07:49:51 PM
Do they have an API??


Title: Re: [VBNET] need help
Post by: LeChatNoir on May 03, 2013, 07:59:41 PM
Do they have an API??


Yes they do but there's no documentation yet.
The developer said to look at the code of the page to know how to interface trading applications with the exchange.
Have no idea how to that but i'm sure it's possible.


Title: Re: [VBNET] need help
Post by: zeocrash on May 03, 2013, 08:24:23 PM
I've had a look through the code (my javascript is a little rusty but i think i get the idea).

It seems that orders are entered using an HTTP Get statement

for example to get your balance go to the URI "http://www.mcxnow.com/info?cur=MNC" (you need to be logged in)


for the order book "http://www.mcxnow.com/orders?cur=MNC" does not require login



I'm still figuring out the Buy and sell functions and the login.


Title: Re: [VBNET] need help
Post by: LeChatNoir on May 04, 2013, 05:29:44 AM
I've had a look through the code (my javascript is a little rusty but i think i get the idea).

It seems that orders are entered using an HTTP Get statement

for example to get your balance go to the URI "http://www.mcxnow.com/info?cur=MNC" (you need to be logged in)


for the order book "http://www.mcxnow.com/orders?cur=MNC" does not require login



I'm still figuring out the Buy and sell functions and the login.

Have you figured that out?


Title: Re: [VBNET] need help
Post by: LeChatNoir on May 05, 2013, 08:08:42 PM
I tried to login using the following code but had no luck

 Dim URL As String = "http://www.mcxnow.com/login.php?user=username&password=password"
      Dim request As WebRequest = WebRequest.Create(URL)
      request.Method = "POST"
      request.ContentType = "application/x-www-form-urlencoded"
      Dim response As WebResponse = request.GetResponse()
      Dim reader As StreamReader = New StreamReader(response.GetResponseStream())
      Dim str As String = reader.ReadToEnd()
      TextBox1.Text = str

this is the login information i've found in the code of the page i'm trying to connect to

<div id="logincontainer"><a href='javascript:document.login.submit()'>Login</a><form id='login' name='login' method='post' action='?login'><input type='text' name='user' placeholder='username'><input type='password' name='pass' placeholder='password'><input type='submit' style='display:none;'/></form></div>

What am i doing wrong?


Title: Re: [VBNET] need help
Post by: andycee on February 10, 2014, 09:31:18 AM
Old thread, I know...

Did you get anywhere with this ?


https://mcxnow.com/orders?cur=MAX

..returns an orderbook in XML, as expected