API Support » Getting Position Dec 29, 2016 @ 07:53 PM (Total replies: 3) | |||||
This is for a bot that needs to find out for itself, if there is an open position. So there could be an open position, or there may not be one at all. My bot is going to be trading the ES exclusively. Is this what I need? OEC.API.Account.AvgPositions.Count Do positions come in int form? If I was long 4 contracts, would it be 4? Would being short 6 contracts be -6? Alex Gagnon
|
|||||
API Support » Understanding which servers to use. Dec 09, 2016 @ 04:47 PM (Total replies: 1) | |||||
I've got the API programmed in with a team of programmers my team hired. I'm trying to understand which servers are used for what. We have this information: Server: api.gainfutures.com UUID: bd65399b-... Server: sim.gainfutures.com UUID: 3aa47a81-... Server: prod.gainfutures.com UUID: 03ac0701-... Which server/UUID do I use for live trading? Which should be used for paper trading? What is the purpose of the 3rd server? Alex Gagnon
|
|||||
API Support » Getting a Live Account to work. Nov 01, 2016 @ 09:28 PM (Total replies: 6) | |||||
We have the package of CME data. We are non-professional at this point. How could a remote session help? This is a custom platform, not one from our IB. Is there something specific I should ask? I'm still trying to figure out what is causing the problem at this point. I'll call up the Gain Futures support team tomorrow. Alex Gagnon
|
|||||
API Support » Getting a Live Account to work. Nov 01, 2016 @ 01:45 PM (Total replies: 6) | |||||
We were just speaking to the broker this morning. They claim that the data feed is active. A bundle was purchased, that says it has CME data. We only trade the ES. Is there a special data feed required for custom platforms? The one we have right now, I believe costs $15/mo. Does that package give data that is accessible through the API? Alex Gagnon
|
|||||
API Support » Getting a Live Account to work. Nov 01, 2016 @ 01:35 PM (Total replies: 6) | |||||
When I switch over to the prod server with the UUID given to us after passing the conformance test, we tried to log in using an account that we had activated for our platform, and received this error: Invalid Login Data feed authentication failed! You must sign up for a data feed account. We have a live account with cash in it. When we requested that it be activated for our platform, we got a reply with the new UUID. I placed this new UUID in my software, replaced the server address, compiled, and we ran into this error. On the sim server with the sim's UUID, the API account works, but when we switch the server address and UUID over and try to use a live account, we get that error. Alex Gagnon
|
|||||
API Support » Getting a Live Account to work. Nov 01, 2016 @ 11:44 AM (Total replies: 6) | |||||
My platform has passed the conformance test, and logging in with my demo login on the sim server works perfectly. I changed the server in my code to prod.gainfutures.com and the UUID to the appropriate new UUID I received after the conformance test passed. My team had an account enabled for our platform, and tried to log in. We can't seem to log in with the live account. Do we need to somehow merge an API account with a trading account? If so, how would we do this? Alex Gagnon
|
|||||
API Support » UUID Multiple Accounts Oct 20, 2016 @ 03:36 PM (Total replies: 1) | |||||
My platform went through the conformance test, and is approved. I had an account enabled on the platform, which came with a UUID for Live trading. This platform is intended to be for multiple people. Will we need a special UUID for each user, or do I need to program in a different UUID for each account we have enabled on our platform? Alex Gagnon
|
|||||
API Support » Getting Position Oct 03, 2016 @ 11:58 AM (Total replies: 3) | |||||
I'm a bit confused as to how to get the position, and check to see if it has been filled yet. Could someone point me to an example code please? My algo focuses on the ES. Alex Gagnon
|
|||||
Market Data » Data stopped Sep 21, 2016 @ 03:58 PM (Total replies: 2) | |||||
I've got some programmers working on installing this API into my trading platform, but we ran into an issue a couple days ago. The data stopped coming in. I have a version of the platform with the basics of the API in there. It was giving data on the @ES up until a couple days ago. As this was a compiled version, and the platform was receiving data a few days ago, I'm wondering why it stopped. No code changed from the time it was working, till the time it stopped. My account still has 2 months on it. Did something change? How could I get this working again? Alex Gagnon
|
|||||
API Support » Certification requirements Jun 15, 2016 @ 01:48 PM (Total replies: 1) | |||||
I'm sorry if this isn't the best place to post this question, but I couldn't find any other suitable forum. After programming in the API, I was told that there was a kind of certification process that was required. I'm using this API for the M4 platform from Modulus. Does anyone know the requirements to make sure it will get through that process, and be allowed to trade on the market? I'm still pretty fuzzy on all this, so bear with me. I'm still trying to understand it all. Alex Gagnon
|