Spot crypto tip. On some venues the fee on a buy is taken in the coin you bought. Buy 1 BTC, you hold 0.999.
A tool that books 1 shows 0.001 still open after you close. That's where phantom positions come from.
VoltRouter books it the way the venue does. https://t.co/Y54O7M8UY4
Futures trade 23 hours a day. You don't.
These are my own live fills on Hang Seng micros this past week. Every one came before 8 in the morning my time, most of them between 3 and 7.
Your backtest assumes those trades happen.
Futures and stocks at IBKR and Alpaca, crypto perps on the major exchanges, all from one alert format.
Run the same strategy on every market where it holds up.
@earias41 Duplicate trades after a timeout are the worst item on that plumbing list. Did you end up tagging each order with your own id before sending, so a retry can't become a second order?
@Manju_manchiDIL Nice! Paper first is the right call. One thing to keep an eye on is that TWS logs itself out once a day, and the bot has to notice and reconnect on its own. That part took me a while to get right.
@breakoutbad reqMktData is sampled, roughly every 250 ms, so it misses prints. Tick-by-tick is complete but can lag. If you only need accurate candles, let IB build them: reqHistoricalData with keepUpToDate=true, or reqRealTimeBars (5-second bars) and aggregate up.
@JiriPik One silent failure worth testing for: the gateway process is up and the API socket is open, but its link to IB's servers is gone. reqManagedAccts still answers, because the gateway answers it locally. A positions request that times out is what gives it away.
It will not nag. Nothing outside the hours of the day the strategy has fired in before. Nothing while it is paused or archived. Turning it on never counts the quiet that came before. At most one email per strategy every four hours.
https://t.co/Y54O7M8UY4
The worst failure in automated trading makes no noise. Your strategy just stops sending signals. An alert expired, a server rebooted, a key changed. No error, no reject, nothing in the log. You find out days later, when you notice you have not traded.
You do not set a timer. The limit comes from the strategy: three times the gap it normally leaves between signals, taken from your backtest or its own live history. One that fires four times a day gets about 18 hours. The number sits beside the switch before you turn it on.
What it does not do: pick the next contract, roll for you, or say anything about the market. It tells you the date. The decision stays yours.
https://t.co/Y54O7M8UY4
Every futures trader who automates a strategy does this at some point: the strategy is pinned to a contract month, the month runs out, and the first sign is a rejected order. Nobody forgets the roll twice. Everybody forgets it once.
Inside your warning window the strategy gets a badge and you get one email listing every strategy that needs a new month. The window is 5 days by default and goes up to 30. Set it to when you actually roll, not to when the contract dies.
One exception, stated plainly: Interactive Brokers needs a dedicated hosted gateway, at $8.00 a month. Every other venue has no monthly cost.
Routing real volume? Per-signal may not be your best deal. Ask us for a number.
The waitlist is open: https://t.co/Y54O7M9sNC
Trade automation is usually sold as a monthly plan. Same price in the month your strategy fires 400 times and the month it fires 4.
VoltRouter charges per signal. $0.15 for each one routed. No monthly fee and no monthly minimum.
The price does not move with the trade. One contract or fifty, filled today or still resting next week, a signal costs the same. Modifying or cancelling an order is also $0.15.
Top up by card from $5. A card processing fee applies at top-up. Balance never expires.