Replies: 1 comment
-
In near future there will be two options to make api calls:
As there are many pacing and concurrent request limitations, it could be useful to be able to keep track of your filled and unfilled tasks (if you have large trading universe) What concerns pairing up request and response, i guess it depends about the end user user preferences. if you have one contract, one timeframe trading strategy, you probably don't want to waste any time as it doesn't much matter. On the other hand, more complex strategies will need custom object mapping (using request info). I have played with following idea:
and using it to map response object to my own frameworks one ( I noticed you were aleo using your own custom bars). Maybe some custom operators or publishers to make the writing your custom datasource publishers a bit easier? |
Beta Was this translation helpful? Give feedback.
-
Some of the request could be done in a manner of synchronous way.
We could allow for something like:
or
where we pair up request with response delivering synch experience.
Obviously not every request would work with this approach but some would.
Something like ib_insync was delivering.
Beta Was this translation helpful? Give feedback.
All reactions