API Support Forum
User Profile

Viewing User Profile for: CMicciche902


About

N/A

Jul 02, 2020 12:38 PM

Jul 10, 2020 03:39 PM



Post Statistics
CMicciche902 has contributed to 277 posts out of 4814 total posts

20 most recent posts:

Announcements » New GF API coming in Q2 2019 Jul 02, 2020 @ 12:38 PM (Total replies: 8)

You must use api server for migrating from OEC to GF API. When complete, respond to the email for Conformance details. Once approved, you can use sim and prod servers.
Chris M


Announcements » New GF API coming in Q2 2019 Jul 02, 2020 @ 11:39 AM (Total replies: 8)

Luke, your account expired and has been renewed. You will get an email with credentials. Server name and port is described in documentation http://gainfutures.com/GFAPI/?topic=html/fc0637f9-3fd0-407e-ad3a-51e79c4014ed.htm
Chris M


FIX Support » No Getting Charts for 1 min or 15 min Jun 22, 2020 @ 12:47 PM (Total replies: 2)

The price server was offline and started at 8:53 am ET. The issue has been resolved.
Chris M


FIX Support » OrderCancelRequest and OrdQty field (FIX4.4) Jun 19, 2020 @ 11:14 AM (Total replies: 1)

Your application will know the original order qty with the Execution Reports we send.
Chris M


API Support » Reset account Jun 12, 2020 @ 11:56 AM (Total replies: 1)

The balance is reset and account unlocked.
Chris M


API Support » Can't seem to reset account balance Jun 11, 2020 @ 08:59 AM (Total replies: 2)

I have reset your balance to $500,000.
Chris M


API Support » Trailing Stop and Trailing Stop Limit order - version issue Jun 09, 2020 @ 09:11 AM (Total replies: 2)

Mauro,

We're not seeing this issue in production.
Chris M


API Support » "Market if touched" order type does not work properly in demo/developer accounts Jun 08, 2020 @ 06:42 PM (Total replies: 1)

I can confirm the same behavior. This will be reviewed by our Developers.
Chris M


API Support » A few questions Jun 08, 2020 @ 04:01 PM (Total replies: 5)

That is a unique ID issued from your application, see https://fiximate.fixtrading.org/legacy/en/FIX.4.4/tag320.html and http://www.quickfixengine.org/FIX44.html#field_SecurityReqID
Chris M


API Support » A few questions Jun 08, 2020 @ 10:31 AM (Total replies: 5)

This isn't used in order messages. Are you using this for Security List or Definition requests?
If so, review http://gainfutures.com/GFAPI/?topic=html/0f30696e-680b-40a1-b935-1bdfbd9dd14d.htm#SecurityReqID or http://gainfutures.com/GFAPI/?topic=html/e7687a06-7c48-4bf2-9ef4-fa73087f908c.htm

Name = SecurityReqID
Type = STRING
Number = 320

Used In:
SecurityListRequest(x)
SecurityList(y)
SecurityDefinitionRequest(c)
SecurityDefinition(d)
Chris M


API Support » A few questions Jun 08, 2020 @ 08:53 AM (Total replies: 5)

You're getting rejected since you have an open position and working orders which require margin in your account. The risk server is responding with "order breaks limits."

Line 6: 00:02:06.903 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $108,000.00, Deficit: $49,500.00, Net Liq: $58,500.00. Cash $50,000.00, P&L $8,500.00
Line 12: 00:02:09.679 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $108,000.00, Deficit: $48,925.00, Net Liq: $59,075.00. Cash $50,000.00, P&L $9,075.00
Line 18: 00:08:03.021 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $108,000.00, Deficit: $52,375.00, Net Liq: $55,625.00. Cash $50,000.00, P&L $5,625.00
Line 24: 00:08:05.825 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $108,000.00, Deficit: $52,950.00, Net Liq: $55,050.00. Cash $50,000.00, P&L $5,050.00
Line 30: 06:25:56.245 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $108,000.00, Deficit: $30,525.00, Net Liq: $77,475.00. Cash $50,000.00, P&L $27,475.00
Line 36: 06:25:58.936 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $108,000.00, Deficit: $30,525.00, Net Liq: $77,475.00. Cash $50,000.00, P&L $27,475.00
Line 76: 08:00:03.675 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $168,000.00, Deficit: $84,725.00, Net Liq: $83,275.00. Cash $71,918.48, P&L $11,356.52
Line 82: 08:00:09.119 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $168,000.00, Deficit: $84,725.00, Net Liq: $83,275.00. Cash $71,918.48, P&L $11,356.52
Line 88: 08:00:11.831 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $168,000.00, Deficit: $84,725.00, Net Liq: $83,275.00. Cash $71,918.48, P&L $11,356.52
Line 148: 08:06:34.099 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $152,000.00, Deficit: $67,975.00, Net Liq: $84,025.00. Cash $71,918.48, P&L $12,106.52
Line 154: 08:07:58.469 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $152,000.00, Deficit: $66,325.00, Net Liq: $85,675.00. Cash $71,918.48, P&L $13,756.52
Line 160: 08:08:01.187 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $152,000.00, Deficit: $66,325.00, Net Liq: $85,675.00. Cash $71,918.48, P&L $13,756.52
Line 166: 08:08:52.299 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $152,000.00, Deficit: $66,325.00, Net Liq: $85,675.00. Cash $71,918.48, P&L $13,756.52
Line 172: 08:08:55.010 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $152,000.00, Deficit: $66,325.00, Net Liq: $85,675.00. Cash $71,918.48, P&L $13,756.52
Line 178: 08:41:37.446 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $152,000.00, Deficit: $78,700.00, Net Liq: $73,300.00. Cash $71,918.48, P&L $1,381.52
Line 184: 08:41:40.084 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $152,000.00, Deficit: $78,700.00, Net Liq: $73,300.00. Cash $71,918.48, P&L $1,381.52
Line 240: 08:43:46.746 DEBUG - From provider: Error Text=Risk violation: 10058:API010058 Not enough liquidity to cover margin. Margin Required: $168,000.00, Deficit: $86,700.00, Net Liq: $81,300.00. Cash $77,965.09, P&L $3,334.91


Chris M

Edited by CMicciche902 on Jun 08, 2020 08:55 AM
Edited by CMicciche902 on Jun 08, 2020 09:12 AM

API Support » What is OEC Account Name? Jun 04, 2020 @ 06:05 PM (Total replies: 9)

One of my developers advised:
QuickFIX supports SSL out of box
See public available code https://bitbucket.org/GainFuturesDev/oecfixsample/src/master/Fix/Connection.cs#lines-50


Are you using QuickFIX framework http://www.quickfixengine.org/?
Chris M


API Support » What is OEC Account Name? Jun 04, 2020 @ 12:12 PM (Total replies: 9)

It's up to you what you want to use for SSL connection. Stunnel is a popular choice.
Chris M


API Support » What is OEC Account Name? Jun 04, 2020 @ 10:38 AM (Total replies: 9)

Port 9400 is the SSL port. Are you using stunnel or other similar solution?
Chris M


API Support » What is OEC Account Name? Jun 03, 2020 @ 01:50 PM (Total replies: 9)

I'll email you the developer account number, or you can locate in Sample app when logged in.
Chris M


API Support » Can I use COM Jun 02, 2020 @ 02:22 PM (Total replies: 1)

COM API is for C++ users. Python isn't directly supported. There may be FIX connector for Python, check https://pypi.org/project/quickfix/. We cannot provide support for third-party libraries.
Chris M


API Support » Using Python for API app development Jun 01, 2020 @ 02:13 PM (Total replies: 4)

Per http://gainfutures.com/GFAPI/?topic=html/7e7bc85a-5565-457e-817d-897ce7d7b818.htm Non-windows users can use our FIX solution.
Chris M


API Support » Using Python for API app development Jun 01, 2020 @ 01:32 PM (Total replies: 4)

According to Github page, it uses our FIX connection, not .NET API.
This product includes software developed by quickfixengine.org (http://www.quickfixengine.org/).
Chris M


FIX Support » Issue with FIX/FAST Logon May 20, 2020 @ 10:55 AM (Total replies: 1)

I'm not getting that error with your credentials connecting to FIX Order Server and FAST server with real FIX application. Can you connect with your application and only have issue with Sample?

\\API31CLIPRI01.production.local\GF.Servers.Front.FixPriceServer_Log\GF.Servers.Front.FixPriceServer20200520.log
09:17:43.649 DEBUG - Not logged in FAST-IN: Logon -> {63, A, 20200520141743, 30, ADoolin, , }
09:17:43.676 INFO - Logged on ADoolin(GF.Servers.Front.FixOrderServer)
09:17:51.331 DEBUG - ADoolin FAST-IN: Logout -> {61, 5, 20200520141751, , }
09:17:51.332 INFO - Logged off ADoolin
Chris M


Feedback » Account confusion May 19, 2020 @ 09:19 AM (Total replies: 2)

When logged into Support Forum, click on Profile at top.
Chris M