Jump to content

Search the Community

Showing results for tags 'pairs'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Gain Capital API FAQ
    • General Questions and Discussion

Found 1 result

  1. Can we trade as soon as real-time streaming data of pair begins on Sunday (for my location), or is there a delay? I noticed that the streaming data stopped at 23:59 GMT on Friday, will that always be the case? What GMT time does trading start on Monday? 0:00 GMT? How about the start time for the streaming data? The historical data covers 0:00 to 23:59 GMT of that day, correct? Is the complete historical data of that day available 0:00 GMT of the next day or is there a delay? Do we make up the AuditID ourselves or is it provided? If we are provided, please explain from where? If we make it up, can it be anything or do we need to follow a specific pattern for the template? Would you suggest to change the AuditID per trade? Should it be different for each pair type and/or direction? Is there a minimum or maximum API trade quantity? Does the below JSON object look valid for a trade? Also, am I missing any key/value pairs? Subsequently, can I omit any key/value pairs? TradeJson = { "MarketId": str(marketID), "Currency": None, "AutoRollover": False, "Direction": str(direction), "Quantity": str(qty), "QuoteId": 0, "PositionMethodId": 0, "BidPrice": str(bidPrice), "OfferPrice": str(sellPrice), "AuditId": "str(auditID)", "TradingAccountId": str(tradingAccountID]), "IfDone": None, "Close": None, "Reference": None, "AllocationProfileId": 0, "OrderReference": None, "Source": None, "MarketName": str(pair), "PriceTolerance": 0 } Please note: "None" in Python is the similar to a "null" in other languages.
×