API Support Forum
User Profile

Viewing User Profile for: VSiron


Dec 05, 2020 10:06 AM

Apr 14, 2022 02:42 AM

Apr 14, 2022 02:42 AM

Post Statistics
VSiron has contributed to 5 posts out of 5257 total posts (0.10%) in 538 days (0.00 posts per day).

20 most recent posts:

API Support » Price tick timestamp Apr 14, 2022 @ 02:42 AM (Total replies: 1)

Hello everyone,

I have a strange issue with price tick.
I receive fresh ticks, with a huge timestamp shift.
For exemple, I'm starting Price_Tick for my account, at 11:08:00 (yesterday).
After some ticks, I receive an "Symbol":"6EJ22","Timestamp":1649839803048

So :
[11:08:00] Starting app
[11:08:03] Strange tick received, Timestamp == 10:50:03

How it's possible to receive a tick comming 28 minutes in the past ?

API Support » Risk Violation Jun 25, 2021 @ 08:15 AM (Total replies: 2)

Thanks Vitaliy

Unfortunatly I'm already watching event from TraderError and just receiving
"To get this error your user has to be a trader manager and you need subscribe to ITradersApi"

API Support » Risk Violation Jun 21, 2021 @ 08:31 AM (Total replies: 2)

Hello everybody,

I'm trying to get event, for Risk Violatiion.
According to documentation https://gainfutures.com/GFAPI/?topic=html/9900566b-260a-4247-8326-9698b013e7b8.htm OnError send Risk violation, but i don't receive messages about that.
I aslo foud another thread about TraderError https://apisupport.gainfutures.com/Topic/Index/1340 without more success.
How get risk violation message from the api ?

API Support » ModifyOrderDraftBuilder with price update May 25, 2021 @ 03:10 PM (Total replies: 1)

Hello dear members,

I have a strange issue.
For an order, I make an update with the ModifyOrderDraftBuilder builder, with the .WithPrice(double? price);
Validation is ok. I'm playing with values, and 2 things are so strange :
- Decimal part are not taken in consideration (old price : 32000, update price : 32002.20, final price : 32002.00)
- Price is rounded !!! (old price : 32002.00 : update price : 32005.50, final price : 32006.00)

Someone have an idea ?

API Support » PriceTick vs SubscriptionTick Dec 15, 2020 @ 03:24 AM (Total replies: 1)

Hello everybody !!

I'm playing with the API, to fetch symbol price every second.
But I'm confusing with method price tick and subscription tick.
Price tick is a subscription, and send data when it want.
Subscription tick send data when I demand, so I can request it every second.
Ok, but object in return are not the same, and I need data coming from price.

What is the best way to fetch data from symbol price, every custom duration (as every second for exemple? )