Welcome, Guest
You have to register before you can post on our site.



Search Forums

(Advanced Search)

Forum Statistics
» Members: 35,040
» Latest member: kittandqlb
» Forum threads: 65
» Forum posts: 205

Full Statistics

Online Users
There are currently 52 online users.
» 2 Member(s) | 49 Guest(s)

Latest Threads
Stock Signals
Forum: Documentation
Last Post: eobqy
01-18-2023, 04:16 AM
» Replies: 13
» Views: 11,332
Strategy allocation with ...
Forum: General Discussion
Last Post: admin
12-24-2022, 12:28 AM
» Replies: 1
» Views: 73
Adding color to the Portf...
Forum: General Discussion
Last Post: anis
12-20-2022, 02:57 AM
» Replies: 0
» Views: 31
Virtual Machine Preferenc...
Forum: General Discussion
Last Post: Psp513
11-20-2022, 09:52 PM
» Replies: 2
» Views: 1,093
Troubleshooting and Known...
Forum: Bugs and Problems
Last Post: admin
05-22-2022, 10:38 AM
» Replies: 12
» Views: 7,710
Scaling Factor
Forum: General Discussion
Last Post: admin
05-22-2022, 10:36 AM
» Replies: 3
» Views: 1,375
Support allocation method...
Forum: General Discussion
Last Post: Marcel
04-21-2022, 04:05 PM
» Replies: 3
» Views: 2,865
Check Out our YouTube Cha...
Forum: News
Last Post: MarkeyMark101
04-11-2022, 08:13 AM
» Replies: 1
» Views: 3,966
Time stop
Forum: Feature Requests
Last Post: Marcel
03-30-2022, 10:30 AM
» Replies: 2
» Views: 968
Rounding Shares
Forum: Feature Requests
Last Post: admin
03-21-2022, 06:28 PM
» Replies: 6
» Views: 2,186

  Adding color to the Portfolio page
Posted by: anis - 12-20-2022, 02:57 AM - Forum: General Discussion - No Replies

Hey guys, 

A small suggestion from my side. It would be nice if you guys could add basic coloring (e.g. red/green for pnl and gain %) to the portfolio screen. As is, the blue font on white background is a particularly easy on the eyes.


Print this item

  Strategy allocation with external signal position sizing
Posted by: anis - 12-20-2022, 02:54 AM - Forum: General Discussion - Replies (1)

Hi guys! 

New to Alera but looks like a great platform. I'm using Amibroker to generate my signals and position sizing.

My question is about the strategy allocation. In the documentation you mention that following:

Quote:Your Strategy Allocation value does not prevent orders from being placed if they will make the strategy exceed its allocation.

Then you state that you should setup the custom lot size and max positions in order not to exceed that allocation. That assumes you want equal position sizes e.g. 10 positions of 10% each. In my case, I'm using Van Tharp's percent volatility sizing. That obviously means my position sizes will vary and I don't know how many positions it will take to fully utilize the allocation. When I ran my strategy with max positions set to 20. It opened 20 positions and the total invested exceeded the allocation. 

Can you please explain what's the purpose of the allocation if it doesn't restrict the executions? And how would I configure my settings to accomodate my variable position sizing? 

Thank you!

Print this item

  Scaling Factor
Posted by: lethal3636 - 04-21-2022, 09:07 AM - Forum: General Discussion - Replies (3)


Can anyone describe the Scaling Factor function or direct me to a relevant thread. Nothing has appeared on search apart from the brief explanation in the Strategies section. I am wanting to scale into a position - how is this achieved exactly?

Thanks in advance,


Print this item

  Reset Equity Chart
Posted by: Marcel - 02-08-2022, 07:59 AM - Forum: General Discussion - Replies (2)

Is there a way to reset the chart that tracks the equity of the system? I don't mind even if I have to edit something in a particular file but it would be easier than starting a new system because you wanted to start a new equity chart.

Print this item

  Specifying Interactive Brokers Algos in Orders
Posted by: admin - 02-06-2022, 03:34 PM - Forum: Documentation - No Replies

IB Algos
To learn about IB Algos see this overview and their API docs.

IB Algo JSON File
First we need to define the IB Algos we want to use in a JSON file called ibAlgos.json, which should be placed in your APM account directory. Below is an example JSON file that defines two different sets of parameters for the Adaptive IB Algo. Note that we can give each set of Algo parameters whatever name we want (adaptive1 and adaptive2 in this case), but we must fill the field algo_strategy with the correct name for the IB Algo (as specified in the IB API Docs linked above). The parameters for the IB Algo (in this case adaptivePriority) must be specified as strings (and according to IB API docs).

    "adaptive1": {
        "algo_strategy" : "Adaptive",
        "adaptivePriority": "Patient"
    "adaptive2": {
        "algo_strategy" : "Adaptive",
        "adaptivePriority": "Urgent"

Specifying IB Algos in Signals
To specify that an order should use an IB Algo simply add keyword ALGO followed by the name of the Algo you created. For example
BTO AAPL ALGO adaptive1
BTO SPY ALGO adaptive2

To specify the IB Algo in a CSV file, use the column ALGO.

  • You must disconnect and then reconnect APM to reflect any changes to the IB Algo file.
  • It is recommended to run some tests on a paper trading account to make sure that the orders using IB Algos are successfully placed (i.e. you should make sure the JSON file is correctly formatted and that all Algo parameters are specified)

Print this item

  Limit new trades per day
Posted by: Marcel - 01-26-2022, 04:57 PM - Forum: Feature Requests - Replies (1)

I think a great feature of Alera is the ability to set a soft cap or hard cap for the number of trades in a system. Would it be possible to be able to have a setting where you could limit the number of new trades in one day? For example, you might have a system set to take a maximum of 10 trades, but in any one day, you only want it to take 5 new trades.

Print this item

  Time stop
Posted by: Bradsyn - 01-08-2022, 01:46 AM - Forum: Feature Requests - Replies (2)

Hi there, 

Is there a way I can implement a time stop based on new buy orders? 

For example. I generate 10 new buy signals. Alera also knows to close them 5 days later etc?

Not sure how to go about this. I see profit target and loss stops available on the strategy tab but nothing for time stops.

Any help would be appreciated,


Print this item

  Add Existing Positions to a Strategy
Posted by: Marcel - 12-12-2021, 08:03 AM - Forum: General Discussion - Replies (1)

Is there a way to add existing positions in my broker to an Alera strategy? For instance, I want to automate a new strategy that I was trading manually already. I might have a few positions that a bought manually and I'd like Alera to recognize those existing positions. I can then make sure that my software such as Amibroker or RealTest sends out sell signals for those positions.

Print this item

  Client ID
Posted by: Marcel - 11-26-2021, 08:14 AM - Forum: Feature Requests - Replies (2)

I'm running 6 instances of IB Gateway along with 6 instances of Alera for real trading. At times, I'd also like to run 6 more of both for paper trading for testing purposes. As far as I understand, I need to have a unique Client ID for each instance of Alera and IB Gateway. It would appear that IB Gateway will allow me to set any positive integer for the Client ID, but Alera will only let me select from 0 to 9, it won't let me choose 10, 11 etc. Would it be possible to have Alera able to set the Client ID higher than 9?

Print this item

  Virtual Machine Preferences?
Posted by: Psp513 - 11-24-2021, 09:17 AM - Forum: General Discussion - Replies (2)

Question for existing members on the forum: 

If you are using a virtual machine to deploy Alera, what service are you using, and what are the costs/benefits? AWS, Azure, Other?

I am currently using a Microsoft Azure B2S VM and it seems to handle everything fine. At $0.04/hour, it equates to approximately $30/month plus the base membership fee...

If you have chosen to use another VM, like AWS EC2, what instance are you using and are there cost differences or other benefits?

Print this item