API Support Forum
User Profile

Viewing User Profile for: JWeissbard91


About

Dec 18, 2007 12:05 PM

Feb 17, 2012 10:29 AM

Feb 17, 2012 10:29 AM



Post Statistics
JWeissbard91 has contributed to 21 posts out of 5593 total posts (0.38%) in 5975 days (0.00 posts per day).

20 most recent posts:

API Support » Connection hangs with 3.5 Feb 17, 2012 @ 10:29 AM (Total replies: 2)

Hello,
It connects now. I had to add the CommLib to the project in order for it to recognize the OnLoginFailed event and then debugged from there.

Thanks

API Support » Connection hangs with 3.5 Feb 17, 2012 @ 12:23 AM (Total replies: 2)

Hello,
I'm trying to update my program to work with API 3.5 and the UUID. When I run:

objOECClient.UUID = "XXX"
objOECClient.Connect("api.openecry.com", 9200, strUser, strPassword, False)

I get no response at all. Is there anyway to debug what's going on? I'm using VB.NET and there's no ConnectFail in the Object Browser.

API Support » Remoting still logs off Jul 22, 2011 @ 10:39 AM (Total replies: 18)

Hi,
It doesn't kick me off as long as I sign on two programs on the same computer. With different computers it kicks me out. Is that supposed to be the case?

Also though I'm signed in I'm not getting the OnTicks event fired. Any ideas on why that would happen? Do I need to flag it differently?

API Support » Remoting still logs off Jul 12, 2011 @ 12:00 AM (Total replies: 18)

Hi,
It doesn't kick me off as long as I sign on two programs on the same computer. With different computers it kicks me out. Is that supposed to be the case?

Also though I'm signed in I'm not getting the OnTicks event fired. Any ideas on why that would happen? Do I need to flag it differently?

API Support » Remoting still logs off Jun 28, 2011 @ 01:28 AM (Total replies: 18)

Hi,
To clarify the issue a little. The code as it stands now is as follows:


objOECClient = OEC.API.OECClient.CreateInstance(True)
objOECClient.Connect(strServer, intPort, strUser, strPassword, False)

When I test it by running the Trader application and then my application the first account is booted out. I don't see a lot that could be going wrong here, but I must be missing something.

API Support » Remoting still logs off Jun 22, 2011 @ 11:28 PM (Total replies: 18)

Okay. How can I add remoting to it? Also is it possible to run the Trader App against the dev server?

API Support » Remoting still logs off Jun 20, 2011 @ 10:33 PM (Total replies: 18)

Hi,
I'm looking at the code in "OEC API Adv Example 2008" and searching for "RemoteHostingEnabled" to check that it's being set to true. I can't find the line in the example. Is it missing from the API example and is somewhere else instead?

Thank you,
Jonathan

API Support » Remoting still logs off Jun 20, 2011 @ 01:48 PM (Total replies: 18)

Hi,
Thanks for the reply.

Is there a way to check that the first application has set OECClient.RemoteHostingEnabled to true? If that wasn't set correctly that would explain the behavior, correct?

Thanks,
Jonathan

API Support » Remoting still logs off Jun 20, 2011 @ 11:49 AM (Total replies: 18)

Hello,
I am trying to implement the new remoting functionality.

The situation as it stands now is that the user is first running OEC's program. Then when custom program is run the user is kicked off the account from the OEC program.

As I understand it remoting is supposed to get around this issue. I changed

OEC.API.OECClient OECClient = new OEC.API.OECClient();
to
OEC.API.OECClient OECClient = OEC.API.OECClient.CreateInstance(true);

Is there something else that I'm supposed to do as well?

Thank you,
Jonathan

API Support » Subscribing with 3.2 Jun 26, 2008 @ 09:39 PM (Total replies: 1)

Hi,
I had a question about compatibility with 3.2, I apologize in advance if this was already answered elsewhere in the forum. I used to call SubscribeTicks and Subscribe on a Contract:
objOECClient.ContractGroups("Indices").Contracts(txtContract.Text)
where txtContract is a field the user enters.

Now with 3.2 this no longer works. As I understand it I'm supposed to run RequestContracts at some point, but I'm not sure where. When I run the line:
objOECClient.RequestContracts(objOECClient.BaseContracts.FindBySymbol(txtContract.Text))
and then subscribe I still don't get any results. Am I missing something?

What are BaseContracts? Should I be using them instead of Subscribing to Contrats?

Thank you in advance,
Jonathan Weissbard

API Support » Tick's Timing Feb 26, 2008 @ 11:28 AM (Total replies: 3)

Hi,
I use a StartDate of Now() and I don't think I'm getting disconnects, any other possibilities?

Thanks,
Jonathan Weissbard

API Support » Tick's Timing Feb 26, 2008 @ 11:13 AM (Total replies: 3)

Hi,
I seem to be getting Ticks out of order at some points. I get a string of Ticks and the I get a wide price jump. When I look at the timestamp it seems to be out of order. Is this a possibility? Is there a reason for this? Right now I'm filtering these out, but I'm wondering if there's a better way to deal with it.

Thanks,
Jonathan Weissbard

API Support » Production Server Dec 24, 2007 @ 01:14 PM (Total replies: 3)

I have a live account and it works with the trader but it is not working with the API,do I need to do anything else?

API Support » Production Server Dec 24, 2007 @ 11:41 AM (Total replies: 3)

Hello,
I have developed an application and I want to release it. Right now I connect to api.openecry.com:9200; what do I need to connect to for the "production" environment?

Thanks

Market Data » Volume and bid or ask Dec 21, 2007 @ 09:04 AM (Total replies: 17)

would a OnDomchange be more accurate or the same a pricechange

Market Data » Volume and bid or ask Dec 21, 2007 @ 08:57 AM (Total replies: 17)

does that mean that the dome sometimes is not accurate?

Market Data » Volume and bid or ask Dec 21, 2007 @ 08:41 AM (Total replies: 17)

So there's no way to tell which set of Bid/Ask Prices a Tick belongs to?

Market Data » Volume and bid or ask Dec 21, 2007 @ 07:59 AM (Total replies: 17)

Hi,
I'm running into the following scenario:
1) I get the bid and ask prices via OnPriceChange
2) The prices change
3) Before the OnPriceChange event fires the OnTicks event fires. This means that the prices I use to see if the Ticks was a Bid or Ask would be the old prices, not the updated one.

Is there anyway around this?

Market Data » Volume and bid or ask Dec 18, 2007 @ 01:33 PM (Total replies: 17)

Thanks for the prompt reply. I see that OnTicksReceived gives me Subscribe and Ticks, how do I get best bid/ask price from that?

Market Data » Volume and bid or ask Dec 18, 2007 @ 01:21 PM (Total replies: 17)

Thanks. Follow up question, I see that SubscribeTicks has a date parameter, can I use now().

And I assume the event used to monitor this would be OnPriceTick, correct?