Find Jobs
Hire Freelancers

convert RUBY function to VB.NET

$30-250 USD

已完成
已发布大约 7 年前

$30-250 USD

货到付款
Need this RUBY code converted into a VB.NET program: I can provide the username/password. Deliverables are the VB.NET source code so I can maintain/modify the code and an executable that I can test. require "uri" require "http" require "eventmachine" require "websocket-client-simple" # Request auth token api_username = "API_USERNAME" api_password = "API_PASSWORD" auth_url = "[login to view URL]" token = HTTP.basic_auth(:user => api_username, :pass => api_password) .get(auth_url) .body [login to view URL] do # Connect to Intrinio's WebSocket socket_url = [login to view URL]("wss://[login to view URL]{token}") ws = WebSocket::Client::[login to view URL](socket_url) # Connect to a channel to listen for prices [login to view URL] :open do message = { topic: "iex:securities:AAPL", event: "phx_join", payload: {}, ref: "1" } [login to view URL](message.to_json) end # Parse prices from incoming messages [login to view URL] :message do |msg| message = [login to view URL]([login to view URL]) if message["event"] == "quote" quote = message["payload"] puts "== QUOTE ==== " puts "TYPE: #{quote["type"]}" puts "TICKER: #{quote["ticker"]}" puts "PRICE: #{quote["price"]}" puts "SIZE: #{quote["size"]}" puts "============= " else puts msg end end [login to view URL] :close do |e| puts e exit 1 end [login to view URL] :error do |e| puts e end end
项目 ID: 12847951

关于此项目

2提案
远程项目
活跃7 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hello. I'm not a Ruby programmer, but the code looks clear for me. I have experience on .net platform for years. So I can do it for you.
$100 USD 在3天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Scottsdale, United States
4.8
21
付款方式已验证
会员自8月 9, 2010起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。