Search found 276 matches
- Fri Oct 01, 2021 11:01 am
- Forum: Bookmap API
- Topic: Alias and Instrument info cannot be correlated
- Replies: 4
- Views: 8698
Re: Alias and Instrument info cannot be correlated
Sorry, still not sure I follow. Think of the alias as of a key that identifies an instrument. There is no guaranteed relation between that key and the instrument itself - that's just an identifier. So, you get identifier for the next callback inside onCurrentInstrument, then store it and you get act...
- Fri Oct 01, 2021 8:30 am
- Forum: Bookmap API
- Topic: Alias and Instrument info cannot be correlated
- Replies: 4
- Views: 8698
Re: Alias and Instrument info cannot be correlated
Hi. I'm not 100% sure what you are trying to achieve. Are you trying to understand which alias the MultiInstrumentListener# onInstrumentAdded belongs to? If so - you get onCurrentInstrument right before that call (same as with other types of updates - you will get onCurrentInstrument first, and actu...
- Mon Sep 20, 2021 10:43 am
- Forum: General forum
- Topic: Computer Configuration for Trading
- Replies: 42
- Views: 65611
Re: Computer Configuration for Trading
Hi, There is, presumably, a microcode bug, affecting running Java on 10th and 9th gen Intel CPUs, so you might want to avoid those: https://bugs.openjdk.java.net/browse/JDK-8263710 (so maybe don't get 10850k; for those affected - switching to SerialGC in bookmap settings might help, also see below) ...
- Wed Sep 08, 2021 7:17 am
- Forum: Bookmap API
- Topic: How to update Trade Status panel
- Replies: 5
- Views: 10552
Re: How to update Trade Status panel
Hi. Is your intention to listen for that data or to send this data into bookmap? Please note, that when selecting the 1st or 2nd mode on the launchpad (trading simulated by bookmap) you will not receive those events in your indicators since simulated trading layer just does not currently support tha...
- Tue Sep 07, 2021 10:37 am
- Forum: Bookmap API
- Topic: How to update Trade Status panel
- Replies: 5
- Views: 10552
Re: How to update Trade Status panel
Hi. If you are writing a Layer0 adapter (connector) you can send updates via onStatus and onBalance callbacks.
- Tue Aug 31, 2021 1:40 pm
- Forum: Bookmap API
- Topic: Multi targets with bracket orders
- Replies: 2
- Views: 2256
Re: Multi targets with bracket orders
Hi. Let me add to the answer... While you can't use that functionality directly, you can replace it by simply sending multiple orders for the same price with different bracket parameters. For the most part that will result in nearly the same result (main difference is that you can't atomically modif...
- Thu Aug 19, 2021 4:26 pm
- Forum: Bookmap API
- Topic: Flatten/CancelAll from API
- Replies: 2
- Views: 2379
Re: Flatten/CancelAll from API
Unfortunately there is no way to do it with single action, but you can do it as below: To cancel all you need to issue a cancellation requests on all orders. Ideally you should group those into a batch using OrderCancelParameters#batchId and OrderCancelParameters#batchEnd. To actually flatten you sh...
- Fri Aug 06, 2021 4:02 pm
- Forum: Bookmap API
- Topic: historical data, L0
- Replies: 6
- Views: 3538
Re: historical data, L0
Ok, so I guess we are down to two options, both would be feature requests:
- letting adapter send historical data to bookmap
- letting adapter define non-bookmap historical servers (i.e. you provide you URL to a server that returns data in some format defined by us)
Any comments on those options?
- letting adapter send historical data to bookmap
- letting adapter define non-bookmap historical servers (i.e. you provide you URL to a server that returns data in some format defined by us)
Any comments on those options?
- Fri Aug 06, 2021 10:59 am
- Forum: Bookmap API
- Topic: historical data, L0
- Replies: 6
- Views: 3538
Re: historical data, L0
Hi. Unfortunately we don't support that directly via API at this point. We can, however, consider some alternative ways to achieve that and/or handle it as a feature request to add such API capability.
Which source are we talking about? (license restrictions differ, and so do the options).
Which source are we talking about? (license restrictions differ, and so do the options).
- Fri Aug 06, 2021 7:30 am
- Forum: Bookmap API
- Topic: historical data, L0
- Replies: 6
- Views: 3538
Re: historical data, L0
Hi. Let me clarify: is your intention to insert historical data that you retrieve from your own source into bookmap?