Jump to content

All Activity

This stream auto-updates     

  1. Last week
  2. Hi SN, I do not have access to check problems with historical price data as that is outside the remit of the API team. Please contact Client Services who can pass your report to the appropriate team for investigation. Kind Regards, PM
  3. Earlier
  4. I ran it a few more times, looks like it randomly omits date "2021-04-09 00:00:00" on any pairs. Sometimes is shows up and sometimes it doesn't. Looks like this issue started the passed week or so. Pretty recent issue.
  5. Hello @Physicsman I am facing an issue with the Historical Data. No data coming in for date "2021-04-09 00:00:00" either ASK, BID or MID on EUR/USD and EUR/GBP No data coming in for date "2021-04-09 00:00:00" either ASK or MID on USD/JPY EUR/USD BID{"BarDate": "2021-04-08 00:00:00", "Open": 1.1865, "High": 1.19264, "Low": 1.18596, "Close": 1.19125}, {"BarDate": "2021-04-12 00:00:00", "Open": 1.18898, "High": 1.19032, "Low": 1.18877, "Close": 1.18906} EUR/GBP BID{"BarDate": "2021-04-08 00:00:00", "Open": 0.86389, "High": 0.86804, "Low": 0.86208, "Close": 0.86728}, {"BarDate": "2021-04-12 00:00:00", "Open": 0.86669, "High": 0.86823, "Low": 0.86656, "Close": 0.86811} USD/JPY ASK{"BarDate": "2021-04-08 00:00:00", "Open": 109.873, "High": 109.914, "Low": 109.008, "Close": 109.285}, {"BarDate": "2021-04-12 00:00:00", "Open": 109.85, "High": 109.85, "Low": 109.653, "Close": 109.733} Was the market for those Pairs closed on Friday? If not, are there any issues with the generation of Historical Data? The historical data I am collecting has a Span of 1 (i.e. daily). I tried pulling several times and I am seeing same issue each time. Thanks.
  6. price stream raise error

    Hi Dave, We don't usually deal with Lightstreamer queries except at the most basic of levels. You may have more success trying the Lightstreamer forums at https://forums.lightstreamer.com/. Kind Regards, PM
  7. Hi Jflaggs, The bug about the max number of historical requests is still in our backlog but is not currently a priority. This means it isn't scheduled to be addressed in this quarter as the business has specified other things as higher priority instead. There is nothing for the request about adding a flag to indicate whether a trade is "to open" or "to close" so that is not going to happen. Should you have a relationship manager at Gain, then it's worth speaking with them about it. Kind Regards, PM
  8. Hi JFlaggs, The example table you deduced is almost fully correct. Updated version below. Minute: 1, 2, 3, 5, 10, 15, 30 Hour: 1, 2, 4, 8 Day: 1 Week: 1 Kind Regards, PM
  9. ValidationError { path: [], property: 'instance', message: 'does not meet minimum property length of 1', schema: { type: 'object', patternProperties: { '[sS]*': [Object] }, minProperties: 1 }, instance: {}, name: 'minProperties', argument: 1, stack: 'instance does not meet minimum property length of 1' }
  10. We're coming up on a year. There are several issues on this thread. Is there any plan to for getting these bugs and limitations fixed?
  11. I'm looking for the supported span/interval combinations but I'm not able to find it in the documentation: https://docs.labs.cityindex.com/#HTTP Services/GetLatestPriceBars.htm%3FTocPath%3DCIAPI%20Reference|HTTP%20Services|Price%20History|_____1 The error I receive when requesting 4 minute PriceBars is: The combination of interval and span you requested is not supported. But there is no mention of what combinations are supported. I'm expecting to find a table like this: Minute: 1, 2, 3, 5, 10, 30 Hour: 1, 2, 3, 4 Day: 1, Week: 1
  12. Hi @SupereeDuperee, the Time Range, I collect for Historical Data is Daily. The funny thing is, along with Ask, I also collect Bid and Mid, and neither for the same Pair had this issue.
  13. Historical Data out of bound error

    @SirNewton Just curious was the Time Range (CandleStick) for the data, DAILY / Hourly ?
  14. Historical Data out of bound error

    Hello SN, For queries about historical data values, please contact client services who can then pass it to the right team for investigation. Kind Regards, PM
  15. Hello PM, I am seeing Historical Data coming in out of bound. I noticed this because, I have set check constraint and because of Low being zero, my app crashed on the check. There might be others, but so far I have found this one. Please investigate why this is happened. ASK USD/CAD: {"BarDate": "2021-03-22 00:00:00", "Open": 1.25296, "High": 1.25426, "Low": 0.0, "Close": 1.25249} Thank you, SN
  16. Thank you so much Physicsman!!! That solved it, i successfully placed a live trade with the Commission account Our problem was that we were hard-coding the market id (using the same as the Standard account), while the market id should be different between Standard and Commission accounts, as you suggested). Extremely grateful for your help, words cannot thank you enough for this reply - this ticket can be closed
  17. Hello ChaosRunner, The error code 160 means that market is not available to the account - in this case the commission accounts, but is available to your standard accounts. If it is EUR/USD you are interested in trading, we suggest performing a ListMarketSearch https://docs.labs.gaincapital.com/#How Do I/Find Market ID.htm%3FTocPath%3DHow%20Do%20I...%3F|_____1 using your commission account to find the EUR/USD MarketId that you can trade with that account. Kind Regards, PM
  18. My brother and I are both receiving an error message (status reason 160) when trying to placing a trade with our Live Commission accounts. Below is the call and the response of the error. Note that we are able to successfully place an order using a Standard account. Time 03/17/21 01:00:22 PM Message Market Sell API Request Headers {:"Content-Type"=>"application/json", :Session=>"d2852be3-b4c3-4f2d-9947-cb3679ad314d", :UserName=>"d*************"} API Request Body {"Direction":"Sell","BidPrice":1.19021,"OfferPrice":1.19021,"Reference":"GCAPI","AutoRollover":false,"MarketId":401484347,"Currency":null,"Quantity":21004,"PositionMethodId":1,"TradingAccountId":"d*************","isTrade":true} API Response Status 2 StatusReason 75 OrderId 0 Orders [{"OrderId"=>0, "StatusReason"=>160, "Status"=>10, "OrderTypeId"=>1, "Price"=>0.0, "Quantity"=>21004.0, "TriggerPrice"=>0.0, "CommissionCharge"=>0.0, "IfDone"=>[], "GuaranteedPremium"=>0.0, "OCO"=>nil, "AssociatedOrders"=>{"Stop"=>nil, "Limit"=>nil}, "Associated"=>false}] Quote Actions [] ErrorMessage
  19. Streaming Prices Issue.

    Hello Aniket, In this post: http://faq.labs.gaincapital.com/topic/2074-net-c-lightstreamer-demo/?tab=comments#comment-3898, another forum user has kindly posted an example with code of how to setup and use the streaming prices. Please subscribe to markets as an array in the manner they showed in the example. Kind Regards, PM
  20. Streaming Adaptor Issue.

    Hi Aniket, The DefaultPrices stream and adapter have been deprecated and no longer function. The API documentation is scheduled for updating at a later date, when the DefaultPrices page will be removed so it no longer provides obsolete information. Kind Regards, PM
  21. Streaming Adaptor Issue.

    But i want the DefaultPrices stream so that i can use it on a public website. DefaultPrices Description Stream of default prices for the specified account operator. This stream does not require authentication, so can be used on a public website. NB: this stream returns prices for a group of markets, so check the MarketId & Name field when displaying.
  22. Streaming Adaptor Issue.

    Hello, Small correction to what you wrote. The LSClent Adaptor is "STREAMINGALL" and the data adapter is "PRICES". Kind Regards, PM
  23. Team, As per your Streaming documentation, in the Prices channel, marketIds is an array containing list of marketIds that we need to stream. This doesn't work. With one marketId,as a string, it works, but with an Array of MarketID's it doesn't. Can you have a look at it? Prices Description Stream of current prices. Try PRICES.PRICE.154297 (GBP/USD (per 0.0001) CFD) which prices Mon - Fri 24 hours. Stream Info target STREAMINGALL channel PRICES.PRICE.{marketIds} transport HTTP protocol lightstreamer-4 Parameters Name Type Description marketIds array The market IDs for streaming of live prices.
  24. Streaming Adaptor Issue.

    So you mean to say Change the LSCLient Adaptor to "STREAMINGALL" and the Subscription Adaptor to be "DEFAULTPRICES", Correct?
  25. Streaming Adaptor Issue.

    Hi Aniket, Please use the STREAMINGALL adaptor for market prices. This adaptor will be working fully. Kind Regards, PM
  26. Team, Was trying to get the CITYINDEXSTREAMINGDEFAULTPRICES Adaptor group working. But there is some issue with this Adaptor. I get the below error. Listening Started! Status Alert: CONNECTING Status Alert: DISCONNECTED SERVER ERROR! --> 2 Checked LightStreamer Server Error Code 2. It says 2 - requested Adapter Set not available Can you please check whats wrong with this adaptor. We are using https://push.cityindex.com host with CITYINDEXSTREAMINGDEFAULTPRICES as the LS Client Adaptor. also passing Username and SessionID on safer side. I know Authentication is required for this but even after removing sessionID, username and SessionID+Username nothing seems to work. Please have someone look into this issue. Regards, Aniket
  27. I tried the url provided by you, but was not able to get the Streaming to work. Also tried to check out the version 7.03, there is no such version. It is 7.0.3 but even that didnt work. Finally got the lightstreamer-client version 7.2.4 from NPM registry and i was able to get the ls Client up but there was an issue with the Subscription. So downgraded and tried other versions. Finally 7.2.2 version of lightstreamer-client from the NPM registry worked and now have the streaming up and running. Hope this helps anyone who is trying to get the streaming working for Forex.com . Kind Regards, Aniket.
  1. Load more activity