OrgTBoot / AlpacaTrader

0 stars 1 forks source link

sub-penny increment does not fulfill minimum pricing criteria #14

Closed maimas closed 1 year ago

maimas commented 1 year ago
2023-03-13T13:45:19.639Z    6d5fd641-690f-4c34-8154-0b17243e9363    INFO    Submitting Long Buy order:  {     "symbol": "BOIL",     "side": "buy",     "type": "limit",     "qty": 534,     "limit_price": 5.5501,     "time_in_force": "gtc",     "extended_hours": false } | 2023-03-13T13:45:19.639Z 6d5fd641-690f-4c34-8154-0b17243e9363 INFO Submitting Long Buy order: {"symbol":"BOIL","side":"buy","type":"limit","qty":534,"limit_price":5.5501,"time_in_force":"gtc","extended_hours":false}

2023-03-13T06:45:19.920-07:00Copy2023-03-13T13:45:19.920Z   6d5fd641-690f-4c34-8154-0b17243e9363    ERROR   Failed to process trade signal for BOIL:  {  code: 42210000,  message: 'invalid limit_price 5.5501. sub-penny increment does not fulfill minimum pricing criteria'} | 2023-03-13T13:45:19.920Z 6d5fd641-690f-4c34-8154-0b17243e9363 ERROR Failed to process trade signal for BOIL: { code: 42210000, message: 'invalid limit_price 5.5501. sub-penny increment does not fulfill minimum pricing criteria' }
vladislavmunteanu commented 1 year ago

Known issue: please use AlpacaOrderService.round()