Jump to content


  • Content count

  • Joined

  • Last visited

  1. AuditId?

    Hi PM, I do not see a way to specify the timeframe with Lightstreamer, so basically, I should write code to create the daily bars, right? That is not a problem, I just want to make sure I'm using the streaming data correctly. Thank you!
  2. Placing Multiple Order

    Thank you, PM!
  3. Entry vs Stop Order

    Thank you, PM. I see from the documentation that entry and market orders also have different endpoints. Entry order: POST https://ciapi.cityindex.com/TradingAPI/order/newstoplimitorder Market order: POST https://ciapi.cityindex.com/TradingAPI/order/newtradeorder
  4. AuditId?

    Thank you, PM. What is the recommended workflow for trading on a daily timeframe? Also, is it possible to get volume data?
  5. Hello, I found this great tutorial for streaming prices using python and lightstreamer (https://www.bizstream.com/blog/february-2021/a-guide-to-placing-trades-on-forex-via-python), but I'm struggling to get the orders stream. Is there a recommended python client for lighstreamer? I've been using lighstreamer-client (https://github.com/wjszlachta/lightstreamer-client), but it hasn't been updated in 3 years, so I'm wondering if there is a better client out there. Does anyone have any documentation for streaming prices and order update? Thank you!
  6. Placing Multiple Order

    Hi PM, Do you mean for a specific currency pair, there can only be 1 open entry order? Or can I submit multiple separate entry orders on the same pair? I'm a US resident, so I cannot have If/Done orders on an open entry order. Can I have OCO orders with an open entry order? Thank you!
  7. Hello, I'm confused what an entry order is and how to create it. Is an entry order simply an order with a TriggerPrice? Does an entry order act like a buy stop order?
  8. AuditId?

    Hi PM, I am basing my trades on the historical daily data, so I do not have the AuditId. Will this prevent me from executing trade or entry order requests? Is there an API endpoint for getting the current price with the AuditID? Thank you!
  9. Limit Margin

    Hello, Is it possible to increase the margin requirement for my account? I would like to ensure that I do not become over-leveraged. It would be nice if there was a parameter I can set in my account settings to limit the leverage taken. Thank you
  10. When is PastBars Data Updated?

    Thank you, PM. For daily bars, is it a day behind?
  11. AuditId?

    Thank you for this clarification, but when would we use AuditId for a trade? Is this necessary for executing the trade?
  12. Hello, I would like to download the latest chart at the end of each day. I am new to the forex markets and understand that the markets run 24H, but I am aiming to download the price bars around 5pm eastern time when the New York session is ending. When is the data in the PastPriceBars endpoint updated? Thank you!