API Support Forum
User Profile

Viewing User Profile for: MMaksim49


About

Apr 26, 2010 12:29 PM

Sep 29, 2010 07:49 AM

Dec 01, 2010 03:04 AM



Post Statistics
MMaksim49 has contributed to 20 posts out of 5600 total posts (0.36%) in 5133 days (0.00 posts per day).

20 most recent posts:

API Support » error when connecting to the API Sep 29, 2010 @ 07:49 AM (Total replies: 12)

Sorry. Price loaded well

But the files that worked 2 months ago do not work.

Maksim Posp

API Support » error when connecting to the API Sep 29, 2010 @ 12:46 AM (Total replies: 12)

In the book "Sample COM Book.xls"
very rarely updated price "Last". Why?

Maksim Posp

API Support » error when connecting to the API Sep 28, 2010 @ 02:24 PM (Total replies: 12)

I realized over the past two months have been changes in the API?
old files do not work. How to be in this situation?

Maksim Posp

API Support » error when connecting to the API Sep 27, 2010 @ 11:06 AM (Total replies: 12)

where you can download the installation files?

Maksim Posp

API Support » error when connecting to the API Sep 21, 2010 @ 04:24 AM (Total replies: 12)

OEC.Functions mscoree.dll Excel Add-ins


state - actively

Maksim Posp

API Support » error when connecting to the API Sep 20, 2010 @ 10:28 AM (Total replies: 12)

how it can be verified?
Everything worked.
No changes on the computer did not occur.

Maksim Posp

API Support » error when connecting to the API Sep 20, 2010 @ 10:10 AM (Total replies: 12)

how do I avoid this error?
Previously, everything worked.

Maksim Posp

API Support » error when connecting to the API Sep 13, 2010 @ 01:05 PM (Total replies: 12)

Hello!

help please
connecting error

Run-time error '-2147467261 (80004003)':
Automation error

line with error:

Glob.c.RequestContracts Glob.c.BaseContracts.FindBySymbol("ESH9")

Maksim Posp

API Support » removal orders Jun 30, 2010 @ 03:24 AM (Total replies: 19)

The problem is that sometimes the state is not updated.
Position changes. To see the current state
Have to do a manual update.
Otherwise the update does not occur.

Maybe this? How can I fix it?

Maksim Posp

API Support » removal orders Jun 29, 2010 @ 11:35 AM (Total replies: 19)

ID 201155737

Maksim Posp

API Support » removal orders Jun 29, 2010 @ 11:34 AM (Total replies: 19)

another inaccuracy:
"Complete" does not occur, although according
to "Balances" operation has been accomplished.
Net pos: 1

such things happen?

Maksim Posp

API Support » removal orders Jun 29, 2010 @ 11:09 AM (Total replies: 19)

Thank you very much

Maksim Posp

API Support » removal orders Jun 29, 2010 @ 10:59 AM (Total replies: 19)

I'm working on a demo account.
Here are the data from the file Log.txt:

Order.TicketNumber: 201154980 (row=24)
GetStrOrderState(Order.CurrentState): Completed
Order.price: 150,6
(Order.quantity - Order.Fills.TotalQuantity): 1
Order.quantity: 1
Order.Timestamp: 29.06.2010 13:07:22

value Order.Fills.TotalQuantity
was supposed to be equal to 1. Right?
difference between the two values should be equal to 0
(Order.quantity - Order.Fills.TotalQuantity)
Correct value appeared only the second time.

Maksim Posp

API Support » removal orders Jun 29, 2010 @ 10:52 AM (Total replies: 19)

I unfortunately do not find the right methods

Maksim Posp

API Support » removal orders Jun 28, 2010 @ 11:30 AM (Total replies: 19)

Prompt please
I need to use:
1) time of filing
2) time of the transaction or cancel

(ORDER. ..... ?)

this can be done?

Maksim Posp

API Support » removal orders Jun 22, 2010 @ 04:59 AM (Total replies: 19)

I have a window appears with the error message:
"application-defined or object-defined error"

during the execution of the function:
SumOrders Order.price, Order.side

possibly in other functions, too

Why can it be?

Maksim Posp

API Support » removal orders Jun 22, 2010 @ 04:53 AM (Total replies: 19)

thanks

Maksim Posp

API Support » removal orders Jun 17, 2010 @ 10:42 AM (Total replies: 19)

Can I make this function more efficiently?
to avoid going through the entire array?

Maksim Posp

API Support » removal orders Jun 17, 2010 @ 09:58 AM (Total replies: 19)

do you have in mind?

For i = api.orders.Count - 1 To 0

Dim Order As OECAPICOM.Order
Set Order = api.orders.ItemByIndex(i)

IF Order.ID = numberID then
api.CancelOrder Order

exit for

end if

Next

Maksim Posp

API Support » removal orders Jun 16, 2010 @ 10:16 AM (Total replies: 19)

I need to cancel the order.
I created a procedure.

Public Sub OrderCancel1(numberID as String)
If Not Glob Is Nothing Then
If Glob.Connected Then

Dim Draft As OrderDraft
Set Draft = api.CreateDraft
Set Draft.Account = Config.GetAccount()
Draft.TicketNumber = CLng(numberID)

Draft.ClearExtData

api.CancelOrder Draft
Set Draft = Nothing

End If
End If
End Sub

what am I doing wrong?

Maksim Posp