Hi
This is not so much a problem and easily sorted but just wondering if I am missing a simple parameter before I proceed to sort this
If we call Market Catalogue with FirstToStart that’s cool and we get the Market Ids in timed order and then Call market Book with them (This is Tomorrows Monday 15th)
GetMktIDs as String =
"1.116727793","1.116727772","1.116727796","1.11672 7775","1.116727799","1.116727778","1.116727802","1 .116727815","1.116727781","1.116727805","1.1167278 18","1.116727784","1.116727808","1.116727821","1.1 16727787","1.116727811","1.116727824","1.116727790 ","1.116727827","1.116727830","1.116727833","1.116 727836"
Dim strBookRequest As String = "{""jsonrpc"": ""2.0"", ""method"": ""SportsAPING/v1.0/listMarketBook"", ""params"": {""marketIds"":[" & GetMktIDs() & "],""priceProjection"":{""priceData"":[""SP_AVAILABLE""]}},""id"": 1}"
Then it Returns the Markets sorted with the numbers no matter which way you enter them
Eg 1.116727772, ","1.116727775”, ","1.116727778” etc (You can see each Meeting has its own order which is fine if I wanted to do that)
Above 3 is Ffos Las but Plumpton starts First which is ("1.116727793”, ","1.116727796",","1.116727799” etc) but they come later
Then Wolvs later at "1.116727821” 24, 27 bla bla
If you just use "1.116727793","1.116727772" in marketIDs and Vice Versa you still get "1.116727772" returned first
Is there a FirstToStart thingy for Market book as well – I cant see anything?
Would make life so much easier for a Lazy *88! Like me (Probably Not!)
Just including it for a Status Checker,-Non – Runners and Results and I'm trying to bundle everything together (Inc the prices) in One Call
(Thinking about future charges lol)
Cheers
Dave
This is not so much a problem and easily sorted but just wondering if I am missing a simple parameter before I proceed to sort this
If we call Market Catalogue with FirstToStart that’s cool and we get the Market Ids in timed order and then Call market Book with them (This is Tomorrows Monday 15th)
GetMktIDs as String =
"1.116727793","1.116727772","1.116727796","1.11672 7775","1.116727799","1.116727778","1.116727802","1 .116727815","1.116727781","1.116727805","1.1167278 18","1.116727784","1.116727808","1.116727821","1.1 16727787","1.116727811","1.116727824","1.116727790 ","1.116727827","1.116727830","1.116727833","1.116 727836"
Dim strBookRequest As String = "{""jsonrpc"": ""2.0"", ""method"": ""SportsAPING/v1.0/listMarketBook"", ""params"": {""marketIds"":[" & GetMktIDs() & "],""priceProjection"":{""priceData"":[""SP_AVAILABLE""]}},""id"": 1}"
Then it Returns the Markets sorted with the numbers no matter which way you enter them
Eg 1.116727772, ","1.116727775”, ","1.116727778” etc (You can see each Meeting has its own order which is fine if I wanted to do that)
Above 3 is Ffos Las but Plumpton starts First which is ("1.116727793”, ","1.116727796",","1.116727799” etc) but they come later
Then Wolvs later at "1.116727821” 24, 27 bla bla
If you just use "1.116727793","1.116727772" in marketIDs and Vice Versa you still get "1.116727772" returned first
Is there a FirstToStart thingy for Market book as well – I cant see anything?
Would make life so much easier for a Lazy *88! Like me (Probably Not!)
Just including it for a Status Checker,-Non – Runners and Results and I'm trying to bundle everything together (Inc the prices) in One Call
(Thinking about future charges lol)
Cheers
Dave

