CPerry
12-14-2017, 03:16 AM
2117121172
Hello VBAExpress community!
I was wondering whether anybody had done something like this before or had any idea how to create such a thing using VBA? I have attached a diagram of the system in question as a word file and the type of worksheet I will be using also.
Basically, I have a coupe of cells acting as 'triggers' for Cell L9 to display either: BACK, LAY or CLOSE_TRADE (this is a trading app in progress). The problem is that control logic changes during development; triggers are ticking at very quick frequencies (milliseconds). CLOSE_TRADE's should only follow BACK/LAY orders and vice versa.
Another problem I've been having is when I try to close a bet, I could get an error back due to that price (Cell G9) disappearing before I can trade it? Once an order has been placed, I am at the back of a queue to get matched so although my system is very fast, it has to play fair and wait an undeterminable amount of time. The market in question is BetFair exchange which I've been told has many characteristics similar to a type 2 trading market.
Again, if anybody has done something similar to this before or could point me in the right direction to get a state machine type code, it would help me loads!
Thank you,
CPerry :)
Hello VBAExpress community!
I was wondering whether anybody had done something like this before or had any idea how to create such a thing using VBA? I have attached a diagram of the system in question as a word file and the type of worksheet I will be using also.
Basically, I have a coupe of cells acting as 'triggers' for Cell L9 to display either: BACK, LAY or CLOSE_TRADE (this is a trading app in progress). The problem is that control logic changes during development; triggers are ticking at very quick frequencies (milliseconds). CLOSE_TRADE's should only follow BACK/LAY orders and vice versa.
Another problem I've been having is when I try to close a bet, I could get an error back due to that price (Cell G9) disappearing before I can trade it? Once an order has been placed, I am at the back of a queue to get matched so although my system is very fast, it has to play fair and wait an undeterminable amount of time. The market in question is BetFair exchange which I've been told has many characteristics similar to a type 2 trading market.
Again, if anybody has done something similar to this before or could point me in the right direction to get a state machine type code, it would help me loads!
Thank you,
CPerry :)