Search found 24 matches

by blk
Thu Oct 22, 2020 12:56 pm
Forum: Bookmap API
Topic: Incompatible settings saved in file
Replies: 5
Views: 459

Re: Incompatible settings saved in file

Hi Andrey, I was able to fix the exception by increasing the settings version @StrategySettingsVersion(currentVersion = 2, compatibleVersions = {}) I saw that the config.json file inside Bookmap config directory has all the data, is there an easy way to clean up the saved data for any specific addon...
by blk
Wed Oct 21, 2020 12:54 pm
Forum: Bookmap API
Topic: How to send orders to bookmap
Replies: 2
Views: 278

Re: How to send orders to bookmap

You can use the API to send orders, here is a sample: SimpleOrderSendParametersBuilder simpleOrder = new SimpleOrderSendParametersBuilder(alias, isBuy,                 size); simpleOrder.setLimitPrice(limitPrice); OrderSendParameters testOrder = simpleOrder.build(); api.sendOrder(testOrder); Check t...
by blk
Mon Oct 19, 2020 12:49 pm
Forum: Bookmap API
Topic: Incompatible settings saved in file
Replies: 5
Views: 459

Re: Incompatible settings saved in file

Hi Andrey, Thanks for your reply. This is an addon I'm developing and I'm wondering if I can some how reset or override the settings saved on Bookmap and start from scratch? @Layer1SimpleAttachable @Layer1TradingStrategy @Layer1StrategyName("TestAddon") @Layer1ApiVersion(Layer1ApiVersionValue.VERSIO...
by blk
Sun Oct 18, 2020 6:11 pm
Forum: Bookmap API
Topic: Incompatible settings saved in file
Replies: 5
Views: 459

Incompatible settings saved in file

Hi, Is there a way to clear/reset a custom addon settings in order to avoid the following exception?   Your settings may be incompatible with settings saved in file. Do you need to increase settings version? at velox.bookmap.bx.getSettings(SourceFile:560) at velox.api.layer1.simplified.InstanceWrapp...
by blk
Fri Sep 25, 2020 10:15 pm
Forum: General forum
Topic: Order API for automated strategies
Replies: 3
Views: 620

Re: Order API for automated strategies

If you are using the simplified api you can use the Api object we get during initialize method to send send orders:

api.sendOrder

sendOrder
void sendOrder(OrderSendParameters orderSendParameters)

Submit order with specified parameters
Parameters:orderSendParameters - parameters
by blk
Wed Aug 19, 2020 12:41 pm
Forum: Bookmap API
Topic: [Simplified API] PositionListener Issue in v7.1.0 build:7
Replies: 9
Views: 3945

Re: [Simplified API] PositionListener Issue in v7.1.0 build:7

Is there a way to know (using the API) if you are on Live or Sim/Replay? That way we can workaround this issue using an internal "Position Listener" based on what is executed after the code/addon is loaded.
by blk
Fri Aug 14, 2020 9:56 pm
Forum: Bookmap API
Topic: Indicator positive and negative colors on Simplified API
Replies: 2
Views: 474

Indicator positive and negative colors on Simplified API

Hi, Is there a way to have the same indicator with different positive/negative colors using the Simplified API Wrapper?  Something similar to what the Bookmap Cumulative Volume Delta does. I know we can do something with 2 indicators and set the other indicator do Double.NaN but I'm wondering if thi...
by blk
Sun Jun 28, 2020 2:10 pm
Forum: Bookmap API
Topic: Is it possible to use OnlineCalculatable with Simplified API?
Replies: 2
Views: 760

Re: Is it possible to use OnlineCalculatable with Simplified API?

Hi, thanks so much for your helpful and detailed reply. I will play with the Simplified api methods (sendUserMessage and getProvider). The main reason I was thinking about using the onlinecalculatable was to extract orders before the addon is loaded (Similar to the Layer1AveragePrice example from gi...