API Support Forum
User Profile

Viewing User Profile for: TLau471


About

Aug 27, 2013 11:16 AM

Feb 17, 2020 01:16 AM

Feb 17, 2020 01:16 AM



Post Statistics
TLau471 has contributed to 30 posts out of 4575 total posts (0.66%) in 2371 days (0.00 posts per day).

20 most recent posts:

API Support » GF API equivalent of OEC.client.RequestTicks Feb 17, 2020 @ 01:16 AM (Total replies: 1)

Hi,

What is the GF API equivalent of OEC's client.RequestTicks()? The one that we used to get backfill for a symbol. Thank you.
TLau


API Support » GF API login credentials Feb 12, 2020 @ 04:28 AM (Total replies: 5)

Hi, do you have the GF API targeted at dotnet 4.5?
TLau


API Support » GF API login credentials Jan 06, 2020 @ 09:53 AM (Total replies: 5)

Can someone advise? Thanks!
TLau


API Support » GF API login credentials Jan 05, 2020 @ 10:34 PM (Total replies: 5)

The error is InvalidUserOrPassword
TLau


API Support » GF API login credentials Jan 05, 2020 @ 10:32 PM (Total replies: 5)

Hi,

I have an API account by the same name TLau471.
However, it is not able to connect to api.gainfutures.com using the GF Advanced Example.

Please advise. Thank you.
TLau


API Support » How to use OEC.API.SymbolLookupCriteria Apr 28, 2019 @ 08:21 PM (Total replies: 3)

Hi,

It worked... until it stopped working again.
I set DesiredResultCount = 1000 but still, only 50 is returned and there is no K9 now, i.e. May 2019.

Please help. Thank you.
TLau


API Support » How to use OEC.API.SymbolLookupCriteria Mar 25, 2019 @ 01:09 AM (Total replies: 3)

When I send the following on 25th Mar 2019

With aBunchOfES
.SearchText = "GGC"
.Mode = OEC.Data.SymbolLookupMode.SymbolStartsWith
End With

GGCJ9 (Apr 2019) is not returned. Why is this so? Please advise.
TLau


API Support » m_Client_OnSymbolLookupReceived's Contracts returns nothing for m_Client.SymbolLookup ESM9 Mar 25, 2019 @ 01:03 AM (Total replies: 7)

Chris, I just checked, this is still not working.

m_Client.SymbolLookup("ESM9") returns "No contracts found"

Private Sub m_Client_OnSymbolLookupReceived(ByVal SymbolLookup As OEC.API.SymbolLookupCriteria, ByVal Contracts As OEC.API.ContractList) Handles m_Client.OnSymbolLookupReceived
if Contracts.First is Nothing then
msgbox ("No contracts found!")
end if
End Sub
TLau


API Support » RequestTicks returns data with .volume = 0 Mar 20, 2019 @ 03:54 AM (Total replies: 4)

Hi,

How can I get notified of such deprecation info?
TLau


API Support » m_Client_OnSymbolLookupReceived's Contracts returns nothing for m_Client.SymbolLookup ESM9 Mar 20, 2019 @ 03:53 AM (Total replies: 7)

Thanks Chris.
TLau


API Support » RequestTicks returns data with .volume = 0 Mar 18, 2019 @ 06:23 PM (Total replies: 4)

Thanks. Where can I subscribe to changes like this?
TLau


API Support » m_Client_OnSymbolLookupReceived's Contracts returns nothing for m_Client.SymbolLookup ESM9 Mar 18, 2019 @ 11:46 AM (Total replies: 7)

SIM

m_Client.SymbolLookup("ESM9")

...


Private Sub m_Client_OnSymbolLookupReceived(ByVal SymbolLookup As OEC.API.SymbolLookupCriteria, ByVal Contracts As OEC.API.ContractList) Handles m_Client.OnSymbolLookupReceived

Dim ctx As OEC.API.Contract = Nothing
ctx = m_Client.Contracts(Contracts.First.Symbol) 'Contracts.First is Nothing

End Sub
TLau


API Support » RequestTicks returns data with .volume = 0 Mar 18, 2019 @ 09:52 AM (Total replies: 4)

Hi,

The following is excerpt from LIVE software connected to SIM server
Why is it suddenly returning 0 today?
It was all ok last friday.

m_Client.RequestTicks(Contract, Start, [End])

...
...
...

Private Sub m_Client_OnTicksReceived(ByVal Subscription As OEC.API.Subscription, ByVal Ticks As OEC.API.Ticks) Handles m_Client.OnTicksReceived
DataLength = Ticks.Prices.Length

For i = 0 To DataLength - 1
e.size = Ticks.Volumes(i) ' why is Ticks.Volumes(i) always 0???
next
end sub
TLau


API Support » m_Client_OnSymbolLookupReceived's Contracts returns nothing for m_Client.SymbolLookup ESM9 Mar 17, 2019 @ 11:16 PM (Total replies: 7)

Hi,

m_Client_OnSymbolLookupReceived's Contracts use to return the contract when doing a m_Client.SymbolLookup for ESM9.
It now returns nothing. Any idea why?
TLau


API Support » does Reconnect() raise any events? Jun 01, 2016 @ 07:12 AM (Total replies: 5)

ok...... under what circumstances should we call Reconnect?
Rather, what purpose does Reconnect serve?
TLau


API Support » does Reconnect() raise any events? May 31, 2016 @ 09:52 PM (Total replies: 5)

Still not happening for me.

1. I connect using Connect(hostname, 9200, Me.Username, Me.Password, True)
2. I simulate disconnection by calling Disconnect()
3. This raises OnDisconnected event
4. I call Reconnect() inside the OnDisconnected event, but nothing happens

Did I miss any step?
TLau

Edited by TLau471 on May 31, 2016 09:53 PM

API Support » Subscribe vs SubscribeTicks vs RequestTicks May 31, 2016 @ 10:56 AM (Total replies: 3)

Hi,

Thanks. I'm clear about the difference between the 3 now. Is there a way to get TotalVol when using SubscribeTicks?
TLau


Market Data » Which datafeed is not entitled? May 31, 2016 @ 08:54 AM (Total replies: 5)

Ok thanks, but more questions:

1. Are we supposed to compare DataFeedEntitlements.Exchange with the Contract.Exchange to determine if a datafeed is entitled?

2. For exchanges that required individual datafeed entitlements, how do we figure it out?
TLau


Market Data » Which datafeed is not entitled? May 31, 2016 @ 08:35 AM (Total replies: 5)

I'm trying to handle situations when a trader requests for symbols they are not entitled to.
TLau


API Support » does Reconnect() raise any events? May 30, 2016 @ 12:09 PM (Total replies: 5)

After calling Reconnect(),

1. What are the expected events? OnLoginComplete is not raised
2. Do we need to resubscribe to symbols?

Thanks.
TLau