
szcxdave1988
Members-
Content count
23 -
Joined
-
Last visited
-
Days Won
1
szcxdave1988 last won the day on August 16 2021
szcxdave1988 had the most liked content!
About szcxdave1988
-
Rank
Member
-
-
I got the problem, i pass the limit price to the stop price.... Thanks for your help, my mistake
-
-
I am using demo account and sent the login info to you. thanks
-
I have tested with the same data, but still got error code 49
-
thanks, is there any way i can test on weekend, as all the markets closed
-
No i donot think it's the distance problem. please see the attached image, i used the same data on your website platform works with no problem , but on my app return the 49 error code
-
when i make a new trade https://ciapi.cityindex.com/TradingAPI/order/newtradeorder with IfDone value i got reson code 75: The total quantity of guaranteed stop orders must be equal to trade order quantity. but all the stop and limit order's quantity are the same as order's, how to do with it? this is my post data for swift : TradeData(IfDone: [exchange.IfDone(Stop: Optional(exchange.StopLimit(ExpiryDateTimeUTC: nil, Guaranteed: Optional(false), Direction: Optional("buy"), Quantity: Optional(1000), Applicability: "gtc", TriggerPrice: 110.42855, ParentOrderId: nil, Associated: false)), Limit: Optional(exchange.StopLimit(ExpiryDateTimeUTC: nil, Guaranteed: Optional(false), Direction: Optional("buy"), Quantity: Optional(1000), Applicability: "gtc", TriggerPrice: 110.42236, ParentOrderId: nil, Associated: false)))], Direction: exchange.Direction.sell, BidPrice: 110.425, OfferPrice: 110.437, AuditId: "EG12346253", MarketId: 401484414, Quantity: 1000, TradingAccountId: 401819215, PriceTolerance: 1000, Close: []) the response is: { "OrderId" : 0, "Quote" : null, "StatusReason" : 75, "Orders" : [ { "IfDone" : [ ], "Status" : 1, "TriggerPrice" : 0, "AssociatedOrders" : { "Limit" : { "OrderId" : 0, "Status" : 10, "Quantity" : 1000, "OrderTypeId" : 3, "AssociatedOrders" : { "Limit" : null, "Stop" : null }, "GuaranteedPremium" : 0, "StatusReason" : 49, "Associated" : true, "Price" : 0, "OCO" : null, "TriggerPrice" : 113.468, "CommissionCharge" : 0, "IfDone" : [ ] }, "Stop" : { "OrderId" : 0, "Status" : 10, "Quantity" : 1000, "OrderTypeId" : 2, "AssociatedOrders" : { "Limit" : null, "Stop" : null }, "GuaranteedPremium" : 0, "StatusReason" : 49, "Associated" : true, "Price" : 0, "OCO" : { "OrderId" : 0, "AssociatedOrders" : { "Limit" : null, "Stop" : null }, "GuaranteedPremium" : 0, "Associated" : true, "Price" : 0, "TriggerPrice" : 113.468, "StatusReason" : 49, "Quantity" : 1000, "OCO" : null, "CommissionCharge" : 0, "OrderTypeId" : 3, "Status" : 10, "IfDone" : [ ] }, "TriggerPrice" : 105.592, "CommissionCharge" : 0, "IfDone" : [ ] } }, "Quantity" : 1000, "CommissionCharge" : 0, "Price" : 0, "OCO" : null, "OrderId" : 0, "OrderTypeId" : 1, "StatusReason" : 1, "Associated" : false, "GuaranteedPremium" : 0 } ], "Status" : 2, "Actions" : [ ], "ErrorMessage" : null }
-
Hi, I am trying to developer on IOS using swift and which client sdk i can use for it. thanks
-
get economic calendar data
szcxdave1988 replied to szcxdave1988's topic in General Questions and Discussion
ok, would you please provide the 3rd party supplier information? -
Hi, how can i get the economic calendar data?
-
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' }
-
Get highest and lowest price for a specific day
szcxdave1988 replied to szcxdave1988's topic in General Questions and Discussion
something wrong with the host, can not ping with it , and auth failed getaddrinfo ENOTFOUND ciapi.cityindex.com ciapi.cityindex.com:443 -
Get highest and lowest price for a specific day
szcxdave1988 replied to szcxdave1988's topic in General Questions and Discussion
http://docs.labs.gaincapital.com/ API address open with error, the docs change address? 404 Not Found: Requested route ('docs.labs.gaincapital.com') does not exist. -
Get highest and lowest price for a specific day
szcxdave1988 posted a topic in General Questions and Discussion
Hi, is there a way i can get highest and lowest price for a specific day?